修改版本格式

This commit is contained in:
huang 2015-06-12 16:48:43 +08:00
parent f489512c6f
commit 94877bb353
2 changed files with 103 additions and 102 deletions

View File

@ -50,5 +50,4 @@ end %>
<p style="padding-top: 10px;">
<%= submit_tag(l(:label_view_diff), :name => nil, :class=>"c_blue") if show_diff %>
</p>
<% end %>

View File

@ -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 = '' %>