rosa-build/app/views/projects/pull_requests/_nav_tabs.html.haml

9 lines
365 B
Plaintext
Raw Normal View History

2012-07-16 17:27:41 +01:00
%ul.nav.nav-tabs
%li
%a{"data-toggle" => "tab", :href => "#discussion"}=t 'pull_requests.tabs.discussion'
-if @stats
%li
%a{"data-toggle" => "tab", :href => "#diff"}="#{t'pull_requests.tabs.diff'} (#{@stats.count})"
-if @commits
%li
%a{"data-toggle" => "tab", :href => "#commits"}="#{t'pull_requests.tabs.commits'} (#{@commits.count})"