105 lines
4.6 KiB
Plaintext
105 lines
4.6 KiB
Plaintext
<script type="text/javascript">
|
|
<%if @select_tab%>
|
|
$(function(){
|
|
<%if @select_tab == "modules"%>
|
|
project_setting(2);
|
|
<% elsif @select_tab == "versions"%>
|
|
project_setting(4);
|
|
<% elsif @select_tab == "repositories" %>
|
|
project_setting(6);
|
|
<%else%>
|
|
|
|
<% end%>
|
|
});
|
|
<% end%>
|
|
</script>
|
|
|
|
<div class="project_r_h">
|
|
<h2 class="project_h2">配置</h2>
|
|
</div>
|
|
|
|
<div class=" pro_setting">
|
|
<div id="pro_st_tb_" class="pro_st_tb_">
|
|
<ul>
|
|
<li id="pro_st_tb_1" class="pro_st_hovertab" onclick="project_setting(1);">信息</li>
|
|
<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_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>-->
|
|
|
|
</ul>
|
|
</div><!--tb_ end-->
|
|
<div class="cl"></div>
|
|
|
|
<div class="pro_st_ctt">
|
|
<div class="pro_st_dis" id="pro_st_tbc_01">
|
|
<%= render :partial=>"projects/settings/new_edit" %>
|
|
</div><!--tbc_01 end-->
|
|
|
|
<div class="pro_st_undis" id="pro_st_tbc_02">
|
|
<%= render :partial=>"projects/settings/new_modules" %>
|
|
</div><!--tbc_02 end-->
|
|
|
|
<div class="pro_st_undis" id="pro_st_tbc_03">
|
|
<%= render :partial=>"projects/settings/new_members" %>
|
|
</div><!--tbc_03 end-->
|
|
|
|
<div class="pro_st_undis" id="pro_st_tbc_04">
|
|
<%= 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_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_08">-->
|
|
<!--<div class="box f14">-->
|
|
<!--<ul>-->
|
|
<!--<li><label for="setting_tracker_in_review_dialog">允许创建代码审查时选择跟踪者?<span class="required"> </span></label></li>-->
|
|
<!--<li><b>设置代码评审的默认跟踪标签:</b></li>-->
|
|
<!--<li><label for="setting_tracker_id">跟踪<span class="c_red"> *</span></label>-->
|
|
<!--<select id="setting_tracker_id" name="setting[tracker_id]">-->
|
|
<!--<option value="1" selected="selected">缺陷</option>-->
|
|
<!--<option value="2">功能</option>-->
|
|
<!--<option value="3">支持</option>-->
|
|
<!--<option value="4">任务</option>-->
|
|
<!--</select></li>-->
|
|
<!--<li>-->
|
|
<!--<label for="setting_hide_code_review_tab">隐藏代码评审页<span class="required"> </span></label>-->
|
|
<!--<input name="setting[hide_code_review_tab]" type="hidden" value="0"><input id="setting_hide_code_review_tab" name="setting[hide_code_review_tab]" type="checkbox" value="1">-->
|
|
<!--</li>-->
|
|
<!--<li>-->
|
|
<!--<label>若修订存在问题:</label>-->
|
|
<!--<input checked="checked" id="setting_auto_relation_1" name="setting[auto_relation]" type="radio" value="1">-->
|
|
<!--与之相关的评审问题-->
|
|
|
|
<!--<input id="setting_auto_relation_2" name="setting[auto_relation]" type="radio" value="2">-->
|
|
<!--与之无关的评审问题-->
|
|
|
|
<!--<input id="setting_auto_relation_0" name="setting[auto_relation]" type="radio" value="0">-->
|
|
<!--什么也不做-->
|
|
<!--</li>-->
|
|
<!--<li>-->
|
|
<!--<label>自动分派</label>-->
|
|
<!--<input id="auto_assign_enabled" name="auto_assign[enabled]" onchange="setAutoAssignSettingFormEnable();" type="checkbox" value="true">激活-->
|
|
<!--</li>-->
|
|
<!--</ul>-->
|
|
<!--<a href="javascript:viod(0)" class="blue_btn">保存</a>-->
|
|
<!--</div>-->
|
|
<!--</div><!–tbc_08 end–>-->
|
|
|
|
</div><!--ctt end-->
|
|
</div><!--pro_setting end-->
|