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 / app / views / repositories / _navigation.rhtml @ 906:154205fd9f8b

History | View | Annotate | Download (942 Bytes)

1 0:513646585e45 Chris
<% content_for :header_tags do %>
2
  <%= javascript_include_tag 'repository_navigation' %>
3
<% end %>
4
5 897:b293eb7e5c94 chris
<%= link_to_revision_archive(@repository, @rev, @project, { :text => l(:label_download_revision), :class => 'icon icon-package' }) %>
6 740:8873bc7c1af5 chris
7 0:513646585e45 Chris
<% form_tag({:action => controller.action_name, :id => @project, :path => to_path_param(@path), :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%>
8
  <!-- Branches Dropdown -->
9
  <% if !@repository.branches.nil? && @repository.branches.length > 0 -%>
10
    | <%= l(:label_branch) %>:
11
    <%= select_tag :branch, options_for_select([''] + @repository.branches,@rev), :id => 'branch' %>
12
  <% end -%>
13
14
  <% if !@repository.tags.nil? && @repository.tags.length > 0 -%>
15
    | <%= l(:label_tag) %>:
16
    <%= select_tag :tag, options_for_select([''] + @repository.tags,@rev), :id => 'tag' %>
17
  <% end -%>
18
19
  | <%= l(:label_revision) %>:
20
  <%= text_field_tag 'rev', @rev, :size => 8 %>
21
<% end -%>
22 741:496b3cfa2f36 chris