版本库查看文件页面宽度调整

This commit is contained in:
Tim 2016-10-19 15:47:50 +08:00
parent af5db3713c
commit ae9a6eb928
1 changed files with 18 additions and 17 deletions

View File

@ -1,17 +1,18 @@
<%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %>
<div style="padding-left: 8px; padding-top: 10px;">
<div class="contextual">
<%= render :partial => 'navigation' %>
</div>
<div class="wrap-big">
<div style="padding-left: 8px;">
<div class="contextual">
<%= render :partial => 'navigation' %>
</div>
<h3><%= l(:label_revision_path) %> <%= @path %></h3>
<h3><%= l(:label_revision_path) %> <%= @path %></h3>
<%= render :partial => 'link_to_functions' %>
<%= render :partial => 'link_to_functions' %>
<%= render :partial => 'common/file', :locals => {:filename => @path, :content => @content} %>
<%= render :partial => 'common/file', :locals => {:filename => @path, :content => @content} %>
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
<% end %>
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
<% end %>
</div>
</div>