|
|
|
@ -7,7 +7,6 @@
|
|
|
|
|
<%= render :partial => 'breadcrumbs',
|
|
|
|
|
:locals => {:path => @path, :kind => 'dir', :revision => @rev} %>
|
|
|
|
|
<%= render :partial => 'navigation' %>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<!--contextual end-->
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
@ -101,20 +100,23 @@
|
|
|
|
|
<p><a href="/users/646" class="c_orange">李海</a>提供</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 代码库显示 -->
|
|
|
|
|
<% if !@entries.nil? && authorize_for('repositories', 'browse') %>
|
|
|
|
|
<%= render :partial => 'dir_list' %>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<%= render_properties(@properties) %>
|
|
|
|
|
|
|
|
|
|
<!-- 代码修订 -->
|
|
|
|
|
<% if authorize_for('repositories', 'revisions') %>
|
|
|
|
|
<% if @changesets && !@changesets.empty? %>
|
|
|
|
|
<%# if @changesets && !@changesets.empty? %>
|
|
|
|
|
<h3>
|
|
|
|
|
<%= l(:label_latest_revision_plural) %>
|
|
|
|
|
</h3>
|
|
|
|
|
<%= render :partial => 'revisions',
|
|
|
|
|
:locals => {:project => @project, :path => @path,
|
|
|
|
|
:revisions => @changesets, :entry => nil} %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%# end %>
|
|
|
|
|
|
|
|
|
|
<p style="padding-top: 10px;">
|
|
|
|
|
<% has_branches = (!@repository.branches.nil? && @repository.branches.length > 0)
|
|
|
|
|
sep = '' %>
|
|
|
|
|