summaryrefslogtreecommitdiffstats
path: root/app/views/documents
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-05-03 08:09:47 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-05-03 08:09:47 +0000
commit7bd4ea835ea68ec96f437f702289e0204141b6cd (patch)
tree8684136f79cec082d7961e7b41adfed7302f4b10 /app/views/documents
parent012dc74eea45d881beaf923fb9ca79f74b0ee813 (diff)
downloadredmine-7bd4ea835ea68ec96f437f702289e0204141b6cd.tar.gz
redmine-7bd4ea835ea68ec96f437f702289e0204141b6cd.zip
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
Diffstat (limited to 'app/views/documents')
-rw-r--r--app/views/documents/index.html.erb14
1 files 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 %>
<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)) -%>