socialforge/app/views/issues/_issue_commits.html.erb

74 lines
3.2 KiB
Plaintext
Raw Normal View History

2016-12-05 11:07:41 +08:00
<div id="muban_popup_box" style="width:745px;">
<div class="muban_popup_top">
<h3 class="fl">关联Commit</h3>
<a href="javascript:void(0);" class="muban_icons_close fr"></a>
<div class="cl"></div>
</div>
<div class="muban_popup_con " >
<div class="newupload_conbox " >
2016-12-05 14:52:46 +08:00
<% if @commits.blank? %>
<%= render :partial => "projects/no_data" %>
<% else %>
<div class=" clear">
<div class="cl"></div>
<ul class="clear lightheight28 fl">
<li class="mb10 clear fl">
<span class=" fl">&nbsp;分支&nbsp;&nbsp;:&nbsp;</span>
<select class=" fl newupload_select" style="width:180px;">
<option> 黄井泉</option>
</select>
</li>
</ul>
<div class="hw_search_box fr mb10" >
<input class="hw_search-input" style="width:300px;" placeholder="输入描述的关键词进行搜索" type="text">
<a href="javascript:void(0);" class="hw_btn_search"></a>
</div>
</div>
<div>
2016-12-05 11:07:41 +08:00
<table class="newupload_table " cellspacing="0" cellpadding="0">
<thead>
<tr>
<th class="newupload_td01">&nbsp;</th>
<th class="newupload_td04">修订号</th>
<th>描述</th>
<th class="newupload_td04">提交者</th>
<th class="newupload_td05">提交日期</th>
</tr>
</thead>
<tbody>
<% @commits.each do |commit| %>
<tr>
<td class="newupload_td01"><input type="checkbox"> </td>
2016-12-05 14:52:46 +08:00
<td class="newupload_td04">
<span class="newupload_table_name">
<%= link_to commit.id[0,8], {:controller => 'repositories', :action => 'commit_diff', :id => @project.id, :changeset => commit.id}, :target => "_blank" %>
</span>
</td>
<td class="newupload_td02"><p><%= commit.message %></p></td>
<td class="newupload_td04"><span class="newupload_table_name">
<%= link_to_user_mail(commit.author_email) %></span></td>
<td class="newupload_td05"><%= format_date(commit.created_at) %></td>
2016-12-05 11:07:41 +08:00
</tr>
<% end %>
</tbody>
</table>
<div class="clear">
<div class="clear fl mt10">
<button class=" btn btn-blue fr ">确定</button >
<button class=" btn fr mr5">取消</button >
</div>
2016-12-05 14:52:46 +08:00
<div style="text-align:center;">
<div class="pages" style="width:auto; display:inline-block;">
<ul id="homework_pository_ref_pages">
<%= pagination_links_full @commits_pages, @commits_count, :per_page_links => false, :remote => true, :flag => true, :is_new => true %>
</ul>
<div class="cl"></div>
</div>
2016-12-05 11:07:41 +08:00
</div>
2016-12-05 14:52:46 +08:00
<div class="cl"></div>
2016-12-05 11:07:41 +08:00
</div>
2016-12-05 14:52:46 +08:00
</div>
<% end %>
2016-12-05 11:07:41 +08:00
</div>
</div>
</div>