diff --git a/app/views/repositories/show.rhtml b/app/views/repositories/show.rhtml index 469ac063e..9a73183e8 100644 --- a/app/views/repositories/show.rhtml +++ b/app/views/repositories/show.rhtml @@ -1,11 +1,16 @@
<%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %> + +<% if !@entries.nil? && authorize_for('repositories', 'browse') -%> +<% form_tag(:action => 'browse', :id => @project) do -%> +| <%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %> +<% end -%> +<% end -%>

<%= l(:label_repository) %> (<%= @repository.scm_name %>)

<% if !@entries.nil? && authorize_for('repositories', 'browse') %> -

<%= l(:label_browse) %>

<%= render :partial => 'dir_list' %> <% end %>