To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / 08 / 085f61120574ccfad3bedefd8a6623102e2bf32b.svn-base @ 1298:4f746d8966dd

History | View | Annotate | Download (1.25 KB)

1
<% content_for :header_tags do %>
2
  <%= javascript_include_tag 'repository_navigation' %>
3
<% end %>
4

    
5
<%= link_to l(:label_statistics),
6
            {:action => 'stats', :id => @project, :repository_id => @repository.identifier_param},
7
            :class => 'icon icon-stats' if @repository.supports_all_revisions? %>
8

    
9
<%= form_tag({:action => controller.action_name,
10
             :id => @project,
11
             :repository_id => @repository.identifier_param,
12
             :path => to_path_param(@path),
13
             :rev => nil},
14
            {:method => :get, :id => 'revision_selector'}) do -%>
15
  <!-- Branches Dropdown -->
16
  <% if !@repository.branches.nil? && @repository.branches.length > 0 -%>
17
    | <%= l(:label_branch) %>: 
18
    <%= select_tag :branch,
19
                   options_for_select([''] + @repository.branches, @rev),
20
                   :id => 'branch' %>
21
  <% end -%>
22

    
23
  <% if !@repository.tags.nil? && @repository.tags.length > 0 -%>
24
    | <%= l(:label_tag) %>: 
25
    <%= select_tag :tag,
26
                   options_for_select([''] + @repository.tags, @rev),
27
                   :id => 'tag' %>
28
  <% end -%>
29

    
30
  <% if @repository.supports_all_revisions? %>
31
    | <%= l(:label_revision) %>: 
32
    <%= text_field_tag 'rev', @rev, :size => 8 %>
33
	<% end %>
34
<% end -%>