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:
parent
012dc74eea
commit
7bd4ea835e
|
@ -25,10 +25,16 @@
|
|||
|
||||
<% content_for :sidebar do %>
|
||||
<h3><%= l(:label_sort_by, '') %></h3>
|
||||
<%= link_to l(:field_category), {:sort_by => 'category'}, :class => (@sort_by == 'category' ? 'selected' :nil) %><br />
|
||||
<%= link_to l(:label_date), {:sort_by => 'date'}, :class => (@sort_by == 'date' ? 'selected' :nil) %><br />
|
||||
<%= link_to l(:field_title), {:sort_by => 'title'}, :class => (@sort_by == 'title' ? 'selected' :nil) %><br />
|
||||
<%= link_to l(:field_author), {:sort_by => 'author'}, :class => (@sort_by == 'author' ? 'selected' :nil) %>
|
||||
<ul>
|
||||
<li><%= link_to(l(:field_category), {:sort_by => 'category'},
|
||||
:class => (@sort_by == 'category' ? 'selected' :nil)) %></li>
|
||||
<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 %>
|
||||
|
||||
<% html_title(l(:label_document_plural)) -%>
|
||||
|
|
Loading…
Reference in New Issue