|
|
@ -1,17 +1,17 @@
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
<%= javascript_include_tag 'repository_navigation' %>
|
|
|
|
<%= javascript_include_tag 'repository_navigation' %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<a href="javascript:void(0);" class="pic_stats fl ml20 mt3"></a>
|
|
|
|
<%= link_to l(:label_statistics),
|
|
|
|
<%= link_to l(:label_statistics),
|
|
|
|
{:action => 'stats', :id => @project, :repository_id => @repository.identifier_param},
|
|
|
|
{:action => 'stats', :id => @project, :repository_id => @repository.identifier_param},
|
|
|
|
:class => 'icon icon-stats' if @repository.supports_all_revisions? %>
|
|
|
|
:class => 'mt3 c_blue fl' if @repository.supports_all_revisions? %>
|
|
|
|
|
|
|
|
|
|
|
|
<%= form_tag({:action => controller.action_name,
|
|
|
|
<%= form_tag({:action => controller.action_name,
|
|
|
|
:id => @project,
|
|
|
|
:id => @project,
|
|
|
|
:repository_id => @repository.identifier_param,
|
|
|
|
:repository_id => @repository.identifier_param,
|
|
|
|
:path => to_path_param(@path),
|
|
|
|
:path => to_path_param(@path),
|
|
|
|
:rev => nil},
|
|
|
|
:rev => nil},
|
|
|
|
{:method => :get, :id => 'revision_selector'}) do -%>
|
|
|
|
{:method => :get, :id => 'revision_selector', :class => "fl c_grey02 ml5"}) do -%>
|
|
|
|
<!-- Branches Dropdown -->
|
|
|
|
<!-- Branches Dropdown -->
|
|
|
|
<% if !@repository.branches.nil? && @repository.branches.length > 0 -%>
|
|
|
|
<% if !@repository.branches.nil? && @repository.branches.length > 0 -%>
|
|
|
|
| <%= l(:label_branch) %>:
|
|
|
|
| <%= l(:label_branch) %>:
|
|
|
|