版本库放大所辖

This commit is contained in:
huang 2017-03-21 14:06:04 +08:00
parent 6a9684937e
commit 3ae5605e4e
3 changed files with 13 additions and 8 deletions

View File

@ -1,14 +1,21 @@
<div class="col-width fl ml15 mt15 content-half-fix02 undis" style="border: none">
<div class="panel-header clearfix" style="border: none">
<h3 class="fl">测试输出</h3>
<h3 class="fl"><%= render :partial => 'myshixun_breadcrumbs', :locals => {:path => @path, :kind => 'dir', :revision => @rev} %></h3>
<div class="fr mt5">
<a href="#"><i class="fa fa-minus font-14 mr10 fl color-grey"></i></a>
<a href="javascript:void(0)" onclick="close_big_repository()"><i class="fa fa-compress font-14 fl color-grey"></i></a>
</div>
</div>
<div class="content-history-inner">
Thor position=(32,4).Light position={32,4}<br/>
Engryg=74
<% if params[:action] == "entry" %>
<div id="file_entry_content_inner">
<%= render :partial => 'common/file', :locals => {:filename => @path, :content => @content} %>
</div>
<% else %>
<% unless @entries.blank? %>
<%= render :partial => 'tree' %>
<% end %>
<% end %>
</div>
</div>
<div class="content-editor col-width2 fl">
@ -29,10 +36,8 @@
<%= render :partial => 'common/file', :locals => {:filename => @path, :content => @content} %>
</div>
<% else %>
<% if !@entries.blank? %>
<% unless @entries.blank? %>
<%= render :partial => 'tree' %>
<% else %>
<% end %>
<% end %>
</div>

View File

@ -9,7 +9,7 @@
<% ent_name = Redmine::CodesetUtil.replace_invalid_utf8(entry.name) %>
<tr id="<%= tr_id %>" class="<%= h params[:parent_id] %> entry <%= entry.kind %>">
<td class="filename_no_report hidden">
<td class="filename_no_report hidden">
<%= link_to h(ent_name),
{:action => (entry.is_dir? ? 'show' : 'entry'), :id => @game, :myshixun_id => @myshixun, :path => to_path_param(ent_path), :rev => @rev},
:remote => true,

View File

@ -1 +1 @@
$("#code_content").html('<%= escape_javascript( render :partial => 'repository') %>');
$("#content_list").html('<%= escape_javascript(render :partial => 'games/game_show') %>');