From 80de1f5091ac066e1ea1907c0ac2240eac73e6f8 Mon Sep 17 00:00:00 2001 From: sarken Date: Sat, 1 Sep 2012 20:46:09 +0000 Subject: [PATCH] 320: Add scope, headers, and summary to new unsorted tags table --- app/views/unsorted_tags/index.html.erb | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/app/views/unsorted_tags/index.html.erb b/app/views/unsorted_tags/index.html.erb index 889e435fcef..cb9d809b02b 100644 --- a/app/views/unsorted_tags/index.html.erb +++ b/app/views/unsorted_tags/index.html.erb @@ -6,16 +6,26 @@

<%= submit_tag ts("Update") %>

- - <% @tags.each do |tag| %> - <% cache("unsorted-#{tag.cache_key}") do %> +
"> + + - - - + + + + + + <% @tags.each do |tag| %> + <% cache("unsorted-#{tag.cache_key}") do %> + + + + + <% end %> <% end %> - <% end %> +
<%= ts("Unsorted Tags") %>
<%= link_to tag.name, edit_tag_path(tag) %><%= link_to ts("Bookmarks (%{count})", :count => tag.bookmarks.count), tag_bookmarks_path(tag) %><%= select_tag "tags[#{tag.id}]", options_for_select(["", ts("Fandom"), ts("Character"), ts("Relationship"), ts("Freeform")]) %><%= ts("Tag") %><%= ts("Uses") %><%= ts("Category") %>
<%= link_to tag.name, edit_tag_path(tag) %> + <%= link_to ts("Bookmarks (%{count})", :count => tag.bookmarks.count), tag_bookmarks_path(tag) %><%= select_tag "tags[#{tag.id}]", options_for_select(["", ts("Fandom"), ts("Character"), ts("Relationship"), ts("Freeform")]) %>

<%= submit_tag ts("Update") %>