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
This commit is contained in:
Toshi MARUYAMA 2013-05-03 08:09:47 +00:00
parent 012dc74eea
commit 7bd4ea835e
1 changed files with 10 additions and 4 deletions

View File

@ -25,10 +25,16 @@
<% content_for :sidebar do %> <% content_for :sidebar do %>
<h3><%= l(:label_sort_by, '') %></h3> <h3><%= l(:label_sort_by, '') %></h3>
<%= link_to l(:field_category), {:sort_by => 'category'}, :class => (@sort_by == 'category' ? 'selected' :nil) %><br /> <ul>
<%= link_to l(:label_date), {:sort_by => 'date'}, :class => (@sort_by == 'date' ? 'selected' :nil) %><br /> <li><%= link_to(l(:field_category), {:sort_by => 'category'},
<%= link_to l(:field_title), {:sort_by => 'title'}, :class => (@sort_by == 'title' ? 'selected' :nil) %><br /> :class => (@sort_by == 'category' ? 'selected' :nil)) %></li>
<%= link_to l(:field_author), {:sort_by => 'author'}, :class => (@sort_by == 'author' ? 'selected' :nil) %> <li><%= link_to(l(:label_date), {:sort_by => 'date'},
:class => (@sort_by == 'date' ? 'selected' :nil)) %></li>
<li><%= link_to(l(:field_title), {:sort_by => 'title'},
:class => (@sort_by == 'title' ? 'selected' :nil)) %></li>
<li><%= link_to(l(:field_author), {:sort_by => 'author'},
:class => (@sort_by == 'author' ? 'selected' :nil)) %></li>
</ul>
<% end %> <% end %>
<% html_title(l(:label_document_plural)) -%> <% html_title(l(:label_document_plural)) -%>