一个项目只能建一个版本库
This commit is contained in:
parent
69ad8495c7
commit
a45722b0f5
|
@ -43,12 +43,14 @@
|
|||
<% end %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<p class="nodata"><%= l(:label_no_data) %></p>
|
||||
<% end %>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<% else %>
|
||||
<p class="nodata"><%= l(:label_repository_no_data) %></p>
|
||||
<% end %>
|
||||
|
||||
<%# 新建版本库 %>
|
||||
<% if @project.repositories.count == 0 %>
|
||||
<a href="javascript:viod(0)" class="pic_add fl mr5" onclick="pro_st_show_ku();"></a>
|
||||
<a href="javascript:viod(0)" class="c_blue fl" onclick="pro_st_show_ku();">
|
||||
<% course_tag = @project.project_type %>
|
||||
|
@ -98,3 +100,6 @@
|
|||
<a href="<%= settings_project_path(@project, :tab => 'repositories')%>" class="grey_btn fl ml10"><%=l(:button_cancel)%></a>
|
||||
</div><!--pro_st_edit_issues end-->
|
||||
<% end %>
|
||||
|
||||
<% end %>
|
||||
|
||||
|
|
Loading…
Reference in New Issue