##// END OF EJS Templates
Don't require category or target version when they are not available (#20583)....
Don't require category or target version when they are not available (#20583). git-svn-id: http://svn.redmine.org/redmine/trunk@14733 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13122:67c4936908e6
r14351:68620da79ab5
Show More
_tabs.html.erb
26 lines | 1.0 KiB | text/plain | TextLexer
Jean-Philippe Lang
Refactoring of tabs rendering....
r2757 <div class="tabs">
<ul>
<% tabs.each do |tab| -%>
<li><%= link_to l(tab[:label]), { :tab => tab[:name] },
:id => "tab-#{tab[:name]}",
:class => (tab[:name] != selected_tab ? nil : 'selected'),
Jean-Baptiste Barth
Update URL when changing tab (#13900)....
r11535 :onclick => "showTab('#{tab[:name]}', this.href); this.blur(); return false;" %></li>
Jean-Philippe Lang
Refactoring of tabs rendering....
r2757 <% end -%>
</ul>
Jean-Philippe Lang
Adds buttons to scroll the tabs when they overflow....
r3060 <div class="tabs-buttons" style="display:none;">
Jean-Philippe Lang
Restores commits reverted when rails-4.1 branch was merged (#18174)....
r13122 <button class="tab-left" type="button" onclick="moveTabLeft(this);"></button>
<button class="tab-right" type="button" onclick="moveTabRight(this);"></button>
Jean-Philippe Lang
Adds buttons to scroll the tabs when they overflow....
r3060 </div>
Jean-Philippe Lang
Refactoring of tabs rendering....
r2757 </div>
Jean-Philippe Lang
Adds buttons to scroll the tabs when they overflow....
r3060 <script>
Jean-Philippe Lang
JQuery in, Prototype/Scriptaculous out (#11445)....
r9885 $(document).ready(displayTabsButtons);
$(window).resize(displayTabsButtons);
Jean-Philippe Lang
Adds buttons to scroll the tabs when they overflow....
r3060 </script>
Jean-Philippe Lang
Refactoring of tabs rendering....
r2757 <% tabs.each do |tab| -%>
Toshi MARUYAMA
remove trailing white-spaces from app/views/common/_tabs.html.erb...
r7148 <%= content_tag('div', render(:partial => tab[:partial], :locals => {:tab => tab} ),
Jean-Philippe Lang
Refactoring of tabs rendering....
r2757 :id => "tab-content-#{tab[:name]}",
:style => (tab[:name] != selected_tab ? 'display:none' : nil),
:class => 'tab-content') %>
<% end -%>