From 7bd4ea835ea68ec96f437f702289e0204141b6cd Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 3 May 2013 08:09:47 +0000 Subject: [PATCH] use li tags for issue links in documents index (#13242) Contributed by Filou Centrinov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11777 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/documents/index.html.erb | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/app/views/documents/index.html.erb b/app/views/documents/index.html.erb index 8a00f61b5..fc4090f55 100644 --- a/app/views/documents/index.html.erb +++ b/app/views/documents/index.html.erb @@ -25,10 +25,16 @@ <% content_for :sidebar do %>

<%= l(:label_sort_by, '') %>

- <%= link_to l(:field_category), {:sort_by => 'category'}, :class => (@sort_by == 'category' ? 'selected' :nil) %>
- <%= link_to l(:label_date), {:sort_by => 'date'}, :class => (@sort_by == 'date' ? 'selected' :nil) %>
- <%= link_to l(:field_title), {:sort_by => 'title'}, :class => (@sort_by == 'title' ? 'selected' :nil) %>
- <%= link_to l(:field_author), {:sort_by => 'author'}, :class => (@sort_by == 'author' ? 'selected' :nil) %> + <% end %> <% html_title(l(:label_document_plural)) -%>