parent
34a8d0890c
commit
7970a46469
@ -1,29 +1,33 @@
|
|||||||
<% content_for :header_tags do %>
|
|
||||||
<%= javascript_include_tag 'repository_navigation' %>
|
|
||||||
<% end %>
|
|
||||||
<!--<a href="javascript:void(0);" class="pic_stats fl ml20 mt3"></a>-->
|
<!--<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 => 'mt3 c_blue fl' if @repository.supports_all_revisions? %>
|
:class => 'mt3 c_blue fl' if @repository.supports_all_revisions? %>
|
||||||
<div class="repositorytitle mr15">
|
<div class="repositorytitle mr15">
|
||||||
<%= form_tag({:action => controller.action_name, :id => @project, :repository_id => @repository.identifier_param,
|
<% content_for :header_tags do %>
|
||||||
|
<%= javascript_include_tag 'repository_navigation' %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<%= form_tag({:action => controller.action_name,
|
||||||
|
: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 ml5"}) do -%>
|
{:method => :get, :id => 'revision_selector'}) 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) %>:-->
|
<%= select_tag :tag, options_for_select([''] + @repository.tags, @rev), :id => 'tag', :style=>" display:none" %>
|
||||||
<%#= 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) %>
|
<%= hidden_field_tag 'rev', @rev, :size => 8 %>
|
||||||
<%#= text_field_tag 'rev', @rev, :size => 8 %>
|
<% end %>
|
||||||
<%# end %>
|
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in new issue