diff options
Diffstat (limited to 'app/views/admin/blog/categories')
-rw-r--r-- | app/views/admin/blog/categories/_category.html.erb | 16 | ||||
-rw-r--r-- | app/views/admin/blog/categories/_form.html.erb | 19 | ||||
-rw-r--r-- | app/views/admin/blog/categories/_sortable_list.html.erb | 7 | ||||
-rw-r--r-- | app/views/admin/blog/categories/edit.html.erb | 1 | ||||
-rw-r--r-- | app/views/admin/blog/categories/index.html.erb | 26 | ||||
-rw-r--r-- | app/views/admin/blog/categories/new.html.erb | 1 |
6 files changed, 0 insertions, 70 deletions
diff --git a/app/views/admin/blog/categories/_category.html.erb b/app/views/admin/blog/categories/_category.html.erb deleted file mode 100644 index 191f649..0000000 --- a/app/views/admin/blog/categories/_category.html.erb +++ /dev/null @@ -1,16 +0,0 @@ -<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(category) -%>"> - <span class='title'> - <%= category.title %> - <span class="preview"> </span> - </span> - <span class='actions'> - <%= link_to refinery_icon_tag("application_edit.png"), - edit_admin_blog_category_path(category, :dialog => true, :height => 325), - :title => t('.edit') %> - <%= link_to refinery_icon_tag("delete.png"), admin_blog_category_path(category), - :class => "cancel confirm-delete", - :title => t('.delete'), - :method => :delete, - :confirm => t('message', :scope => 'shared.admin.delete', :title => category.title) %> - </span> -</li> diff --git a/app/views/admin/blog/categories/_form.html.erb b/app/views/admin/blog/categories/_form.html.erb deleted file mode 100644 index bfcbc7b..0000000 --- a/app/views/admin/blog/categories/_form.html.erb +++ /dev/null @@ -1,19 +0,0 @@ -<%= form_for [:admin, @blog_category] do |f| -%> - <%= render :partial => "/shared/admin/error_messages", - :locals => { - :object => f.object, - :include_object_name => true - } %> - - <div class='field'> - <%= f.label :title -%> - <%= f.text_field :title, :class => 'larger widest' -%> - </div> - - <%= render :partial => "/shared/admin/form_actions", - :locals => { - :f => f, - :continue_editing => false, - :delete_title => t('delete', :scope => 'admin.blog.categories.category') - } %> -<% end %> diff --git a/app/views/admin/blog/categories/_sortable_list.html.erb b/app/views/admin/blog/categories/_sortable_list.html.erb deleted file mode 100644 index df6a39b..0000000 --- a/app/views/admin/blog/categories/_sortable_list.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -<ul id='sortable_list'> - <%= render :partial => 'category', :collection => @blog_categories %> -</ul> -<%= render :partial => "/shared/admin/sortable_list", - :locals => { - :continue_reordering => (defined?(continue_reordering) ? continue_reordering : true) - } %> diff --git a/app/views/admin/blog/categories/edit.html.erb b/app/views/admin/blog/categories/edit.html.erb deleted file mode 100644 index 2872e82..0000000 --- a/app/views/admin/blog/categories/edit.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render :partial => "form" %> diff --git a/app/views/admin/blog/categories/index.html.erb b/app/views/admin/blog/categories/index.html.erb deleted file mode 100644 index 5d17d42..0000000 --- a/app/views/admin/blog/categories/index.html.erb +++ /dev/null @@ -1,26 +0,0 @@ -<%= render :partial => '/admin/blog/submenu' %> -<div id='records'> - <% if searching? %> - <h2><%= t('results_for', :scope => 'shared.admin.search', :query => params[:search]) %></h2> - <% if @blog_categories.any? %> - <%= render :partial => "blog_categories", - :collection => @blog_categories %> - <% else %> - <p><%= t('search_no_results', :scope => 'admin') %></p> - <% end %> - <% else %> - <% if @blog_categories.any? %> - <%= will_paginate @blog_categories %> - - <%= render :partial => "sortable_list" %> - - <%= will_paginate @blog_categories %> - <% else %> - <p> - <strong> - <%= t('.no_items_yet', :create => t('new', :scope => 'admin.blog.submenu.categories')) %> - </strong> - </p> - <% end %> - <% end %> -</div> diff --git a/app/views/admin/blog/categories/new.html.erb b/app/views/admin/blog/categories/new.html.erb deleted file mode 100644 index 2872e82..0000000 --- a/app/views/admin/blog/categories/new.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render :partial => "form" %> |