diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2013-12-23 21:54:10 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2013-12-23 21:54:10 +0100 |
commit | c4e6ef89054b88b6d59f8bf9b6d67ab990cb7906 (patch) | |
tree | 94f298b2288c3f7953dfe0e56363618243340a0b /app/views/refinery/blog | |
parent | 8ced2d803e2e71b3804a02ce68315ca509f8df54 (diff) | |
download | hmnoweb-c4e6ef89054b88b6d59f8bf9b6d67ab990cb7906.tar.gz hmnoweb-c4e6ef89054b88b6d59f8bf9b6d67ab990cb7906.tar.bz2 hmnoweb-c4e6ef89054b88b6d59f8bf9b6d67ab990cb7906.zip |
Display sidebar position in backend category list.
Diffstat (limited to 'app/views/refinery/blog')
-rw-r--r-- | app/views/refinery/blog/admin/categories/_category.html.erb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/views/refinery/blog/admin/categories/_category.html.erb b/app/views/refinery/blog/admin/categories/_category.html.erb new file mode 100644 index 0000000..1c65c33 --- /dev/null +++ b/app/views/refinery/blog/admin/categories/_category.html.erb @@ -0,0 +1,20 @@ +<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(category) -%>"> + <span class='title'> + <%= category.title %> + <span class="preview"> </span> + </span> + <span class="sidebar_position"> + <%= t('.sidebar_position') %>: + <%= t('refinery.blog.admin.categories.form.sidebar_positions')[category.sidebar_position] -%> + </span> + <span class='actions'> + <%= link_to refinery_icon_tag("application_edit.png"), + refinery.edit_blog_admin_category_path(category, :dialog => true, :height => 325), + :title => t('.edit') %> + <%= link_to refinery_icon_tag("delete.png"), refinery.blog_admin_category_path(category), + :class => "cancel confirm-delete", + :title => t('.delete'), + :method => :delete, + :confirm => t('message', :scope => 'refinery.admin.delete', :title => category.title) %> + </span> +</li> |