去掉代码审查

修改配置-“版本库”样式
This commit is contained in:
huang 2015-04-13 23:39:56 +08:00
parent 48f096178c
commit f3ba393bd4
3 changed files with 11 additions and 12 deletions

View File

@ -14,9 +14,8 @@
</p>
<ul>
<%= labelled_form_for @news, :url => project_news_index_path(@project),
:html => {:id => 'news-form', :multipart => true} do |f| %>
<%= render :partial => 'news/project_form', :locals => {:f => f, :is_new => true} %>
:html => {:id => 'news-form', :multipart => true} do |f| %>
<%= render :partial => 'news/project_form', :locals => {:f => f, :is_new => true} %>
<% end if @project %>
</ul>
<div id="preview" class="wiki"></div>

View File

@ -9,10 +9,10 @@
<li id="pro_st_tb_2" class="pro_st_normaltab" onclick="project_setting(2);">模块</li>
<li id="pro_st_tb_3" class="pro_st_normaltab" onclick="project_setting(3);">成员</li>
<li id="pro_st_tb_4" class="pro_st_normaltab" onclick="project_setting(4);">版本</li>
<li id="pro_st_tb_5" class="pro_st_normaltab" onclick="project_setting(5);">问题类别</li>
<!--<li id="pro_st_tb_5" class="pro_st_normaltab" onclick="project_setting(5);">问题类别</li>-->
<li id="pro_st_tb_6" class="pro_st_normaltab" onclick="project_setting(6);">版本库</li>
<!--<li id="pro_st_tb_7" class="pro_st_normaltab" onclick="project_setting(7);">活动(时间跟踪)</li>-->
<li id="pro_st_tb_8" class="pro_st_normaltab" onclick="project_setting(8);">代码评审</li>
<!--<li id="pro_st_tb_8" class="pro_st_normaltab" onclick="project_setting(8);">代码评审</li>-->
</ul>
</div><!--tb_ end-->
@ -35,17 +35,17 @@
<%= render :partial=>"projects/settings/new_versions" %>
</div><!--tbc_04 end-->
<div class="pro_st_undis" id="pro_st_tbc_05">
<%= render :partial=>"projects/settings/new_issue_categories" %>
</div><!--tbc_05 end-->
<!--<div class="pro_st_undis" id="pro_st_tbc_05">-->
<!--<%#= render :partial=>"projects/settings/new_issue_categories" %>-->
<!--</div>&lt;!&ndash;tbc_05 end&ndash;&gt;-->
<div class="pro_st_undis" id="pro_st_tbc_06">
<%= render :partial=>"projects/settings/new_repositories" %>
</div><!--tbc_06 end-->
<div class="pro_st_undis" id="pro_st_tbc_07">
<%= render :partial=>"projects/settings/new_activities" %>
</div><!--tbc_07 end-->
<!--<div class="pro_st_undis" id="pro_st_tbc_07">-->
<!--<%#= render :partial=>"projects/settings/new_activities" %>-->
<!--</div>&lt;!&ndash;tbc_07 end&ndash;&gt;-->
<!--代码评审先不做-->
<!--<div class="pro_st_undis" id="pro_st_tbc_08">-->

View File

@ -14,7 +14,7 @@
<% @project.repositories.sort.each do |repository| %>
<tr class="pro_table_on">
<td><a href="javascript:viod(0)" title="<%= repository.identifier %>">
<%= link_to repository.identifier, {:controller => 'repositories', :action => 'show', :id => @project, :repository_id => repository.identifier_param} if repository.identifier.present? %></a></td>
<%= link_to repository.identifier, ({:controller => 'repositories', :action => 'show', :id => @project, :repository_id => repository.identifier_param} if repository.identifier.present?), :class =>"c_blue" %></a></td>
<td> <%= checked_image repository.is_default? %></td>
<td><%=h repository.scm_name %></td>
<%if repository.scm_name=="Git"%>