##// END OF EJS Templates
Adds a field on the repository view to browse at specific revision (#1443)....
Jean-Philippe Lang -
r1540:9737beecc4cd
parent child
Show More
@@ -1,11 +1,16
1 1 <div class="contextual">
2 2 <%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %>
3
4 <% if !@entries.nil? && authorize_for('repositories', 'browse') -%>
5 <% form_tag(:action => 'browse', :id => @project) do -%>
6 | <%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>
7 <% end -%>
8 <% end -%>
3 9 </div>
4 10
5 11 <h2><%= l(:label_repository) %> (<%= @repository.scm_name %>)</h2>
6 12
7 13 <% if !@entries.nil? && authorize_for('repositories', 'browse') %>
8 <h3><%= l(:label_browse) %></h3>
9 14 <%= render :partial => 'dir_list' %>
10 15 <% end %>
11 16
General Comments 0
You need to be logged in to leave comments. Login now