diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-08-30 21:05:22 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-08-30 21:05:22 +0000 |
commit | efabbedebe80be51b5a05bed53de3eee7ce2e68b (patch) | |
tree | 35b0f6f3ce1cde553fc2a4dfd73a78cb59392214 /app/views/common | |
parent | f435d1844d9eac7cbe3b374dbf4e422dca77eca1 (diff) | |
download | redmine-efabbedebe80be51b5a05bed53de3eee7ce2e68b.tar.gz redmine-efabbedebe80be51b5a05bed53de3eee7ce2e68b.zip |
Enable filtering versions on Project -> Settings -> Versions (#22608).
git-svn-id: http://svn.redmine.org/redmine/trunk@15759 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/common')
-rw-r--r-- | app/views/common/_tabs.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/common/_tabs.html.erb b/app/views/common/_tabs.html.erb index 705ecc710..26a1c0875 100644 --- a/app/views/common/_tabs.html.erb +++ b/app/views/common/_tabs.html.erb @@ -1,7 +1,7 @@ <div class="tabs"> <ul> <% tabs.each do |tab| -%> - <li><%= link_to l(tab[:label]), { :tab => tab[:name] }, + <li><%= link_to l(tab[:label]), (tab[:url] || { :tab => tab[:name] }), :id => "tab-#{tab[:name]}", :class => (tab[:name] != selected_tab ? nil : 'selected'), :onclick => "showTab('#{tab[:name]}', this.href); this.blur(); return false;" %></li> |