##// END OF EJS Templates
scm: git: use symbol instead of string whether reporting last commit in project setting i18n text (#8365)....
scm: git: use symbol instead of string whether reporting last commit in project setting i18n text (#8365). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5776 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2972:14e88ec42005
r5656:4ea8f1637cf0
Show More
_navigation.rhtml
21 lines | 910 B | text/html+ruby | RhtmlLexer
<% content_for :header_tags do %>
<%= javascript_include_tag 'repository_navigation' %>
<% end %>
<%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %>
<% form_tag({:action => controller.action_name, :id => @project, :path => to_path_param(@path), :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%>
<!-- Branches Dropdown -->
<% if !@repository.branches.nil? && @repository.branches.length > 0 -%>
| <%= l(:label_branch) %>:
<%= select_tag :branch, options_for_select([''] + @repository.branches,@rev), :id => 'branch' %>
<% end -%>
<% if !@repository.tags.nil? && @repository.tags.length > 0 -%>
| <%= l(:label_tag) %>:
<%= select_tag :tag, options_for_select([''] + @repository.tags,@rev), :id => 'tag' %>
<% end -%>
| <%= l(:label_revision) %>:
<%= text_field_tag 'rev', @rev, :size => 8 %>
<% end -%>