|
|
@ -5,23 +5,21 @@
|
|
|
|
<%#= 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 => 'mt3 c_blue fl' if @repository.supports_all_revisions? %>
|
|
|
|
:class => 'mt3 c_blue fl' if @repository.supports_all_revisions? %>
|
|
|
|
<div class="pt5 ">
|
|
|
|
<div class="repositorytitle mr15">
|
|
|
|
<%= form_tag({:action => controller.action_name,
|
|
|
|
<%= form_tag({:action => controller.action_name, :id => @project, :repository_id => @repository.identifier_param,
|
|
|
|
:id => @project,
|
|
|
|
|
|
|
|
:repository_id => @repository.identifier_param,
|
|
|
|
|
|
|
|
:path => to_path_param(@path),
|
|
|
|
:path => to_path_param(@path),
|
|
|
|
:rev => nil},
|
|
|
|
:rev => nil},
|
|
|
|
{:method => :get, :id => 'revision_selector', :class => "fl c_grey02"}) 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) %>:
|
|
|
|
<%= select_tag :branch, options_for_select([''] + @repository.branches, @rev), :id => 'branch' %>
|
|
|
|
<%= select_tag :branch, options_for_select([''] + @repository.branches, @rev), :id => 'branch' %>
|
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
|
|
|
|
<% if !@repository.tags.nil? && @repository.tags.length > 0 -%>
|
|
|
|
<%# if !@repository.tags.nil? && @repository.tags.length > 0 -%>
|
|
|
|
| <%= l(:label_tag) %>:
|
|
|
|
<!--| <%#= l(:label_tag) %>:-->
|
|
|
|
<%= select_tag :tag, options_for_select([''] + @repository.tags, @rev), :id => 'tag' %>
|
|
|
|
<%#= select_tag :tag, options_for_select([''] + @repository.tags, @rev), :id => 'tag' %>
|
|
|
|
<% end -%>
|
|
|
|
<%# end -%>
|
|
|
|
|
|
|
|
|
|
|
|
<%# if @repository.supports_all_revisions? %>
|
|
|
|
<%# if @repository.supports_all_revisions? %>
|
|
|
|
<%#= l(:label_revision) %>
|
|
|
|
<%#= l(:label_revision) %>
|
|
|
@ -29,4 +27,3 @@
|
|
|
|
<%# end %>
|
|
|
|
<%# end %>
|
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|