代码封装

This commit is contained in:
huang 2016-08-02 16:38:56 +08:00
parent 56a444dac0
commit 5e9c27b63d
3 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,4 @@
<% format_tag() do || %>
<% end %>
<div class="new-merge-wrap">
<div class="merge-option-name fl mt8">标题</div><input type="text" class="merge-title-input fl ml30" />
<p class="fl ml100 fontGrey2 mt5">标题以<span class="c_red">[WIP]</span>或<span class="c_red">WIP</span>开头:以防还在进程中的合并请求在它完成之前被合并</p>

View File

@ -1,4 +1,4 @@
<%= render "pull_request_container" %>
<%= render :partial => "pull_requests/pull_request_container" %>
<ul id="mergeBanner" class="project-merge-banner">
<li><a href="javascript:void(0);">打开<span class="project-number-dot">1</span></a></li>
<li><a href="javascript:void(0);">合并<span class="project-number-dot">1</span></a></li>

View File

@ -5,7 +5,7 @@
<div class="cl"></div>
</div>
</div>
<%= render :partial => "pull_requests/form" %>
<ul class="merge-record">
<li><a href="javascript:void(0);" class="active">提交<span class="project-number-dot">1</span></a></li>
<li><a href="javascript:void(0);">改动<span class="project-number-dot">1</span></a></li>