mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 22:29:55 +09:00
#17596607 : added a feature managing issues (change milestone, component, and etc.)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5315 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
dbe08ac9aa
commit
04f980fca4
14 changed files with 220 additions and 19 deletions
84
modules/issuetracker/tpl/checked_list.html
Normal file
84
modules/issuetracker/tpl/checked_list.html
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
<!--%import("filter/manage_checked_issue.xml")-->
|
||||
<!--%import("js/issue_admin.js")-->
|
||||
<!--%import("css/issuetracker.css")-->
|
||||
<div id="popHeadder">
|
||||
<h3>{$lang->cmd_manage_document}</h3>
|
||||
</div>
|
||||
|
||||
<form action="./" method="get" id="fo_management">
|
||||
<input type="hidden" name="type" value="" />
|
||||
<input type="hidden" name="module_srl" value="{$module_srl}" />
|
||||
|
||||
<div id="popBody">
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<tr>
|
||||
<th scope="row"><div><label for="textfield1">{$lang->checked_count} ({count($document_list)})</label></div></th>
|
||||
<td colspan="3">
|
||||
<!--@if(count($document_list))-->
|
||||
<input type="checkbox" onclick="XE.checkboxToggleAll()" checked="checked"/> {$lang->cmd_select}
|
||||
<ul class="document_list_box">
|
||||
<!--@foreach($document_list as $key => $document)-->
|
||||
<li class="document_list"><input type="checkbox" checked="checked" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this);"/> <address>{$document->getNickName()}</address> <span class="document_title">{$document->getTitle()}</span></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
<!--@else-->
|
||||
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@if(count($document_list))-->
|
||||
<tr>
|
||||
<th scope="row"><label for="inputMilestone">{$lang->milestone} :</label></th>
|
||||
<td>
|
||||
<select name="milestone_srl" id="inputMilestone">
|
||||
<option value="0">{$lang->milestone}</option>
|
||||
<!--@foreach($project->milestones as $val)-->
|
||||
<option value="{$val->milestone_srl}">{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</td>
|
||||
<th scope="row"><div><label for="inputPriority">{$lang->priority} :</label></div></th>
|
||||
<td>
|
||||
<select name="priority_srl" id="inputPriority">
|
||||
<option value="">{$lang->priority}</option>
|
||||
<!--@foreach($project->priorities as $key => $val)-->
|
||||
<option value="{$val->priority_srl}">{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="inputType">{$lang->type} :</label></th>
|
||||
<td>
|
||||
<select name="type_srl" id="inputType">
|
||||
<option value="">{$lang->type}</option>
|
||||
<!--@foreach($project->types as $key => $val)-->
|
||||
<option value="{$val->type_srl}">{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</td>
|
||||
<th><div><label for="inputComponent">{$lang->component} :</label></div></th>
|
||||
<td>
|
||||
<select name="component_srl" id="inputComponent">
|
||||
<option value="">{$lang->component}</option>
|
||||
<!--@foreach($project->components as $key => $val)-->
|
||||
<option value="{$val->component_srl}">{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="popFooter">
|
||||
<div class="tRight gap1">
|
||||
<!--@if(count($document_list))-->
|
||||
|
||||
<a href="#" onclick="doManageIssue();return false;" class="button blue"><span>{$lang->cmd_modify}</span></a>
|
||||
<!--@end-->
|
||||
<a href="#" onclick="window.close(); return false;" class="button black"><span>{$lang->cmd_close}</span></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
|
@ -22,3 +22,12 @@ img.btnDelete { vertical-align:middle; }
|
|||
|
||||
td.filename { background-color:#EFEFEF; }
|
||||
td.filename a { font-weight:bold;}
|
||||
|
||||
ul.document_list_box { margin:0; padding:0; list-style:none; }
|
||||
.document_list_box { height:230px; overflow-y:scroll; overflow-x:hidden;}
|
||||
.document_list { margin-top:.5em; overflow:hidden; white-space:nowrap; clear:both;}
|
||||
.document_list input { float:left; margin-right:10px; }
|
||||
.document_list address { float:left; width:100px; margin-right:10px; overflow:hidden; white-space:nowrap;}
|
||||
.document_list .document_title { }
|
||||
|
||||
#popbody .adminTable tr th { width: 200px; }
|
||||
|
|
|
|||
7
modules/issuetracker/tpl/filter/manage_checked_issue.xml
Normal file
7
modules/issuetracker/tpl/filter/manage_checked_issue.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<filter name="manage_checked_issue" module="issuetracker" act="procIssuetrackerAdminManageCheckedIssue">
|
||||
<form />
|
||||
<response callback_func="completeManageIssue">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
@ -4,6 +4,18 @@
|
|||
* @brief 관리자용 javascript
|
||||
**/
|
||||
|
||||
function doManageIssue() {
|
||||
var fo_obj = jQuery("#fo_management").get(0);
|
||||
|
||||
procFilter(fo_obj, manage_checked_issue);
|
||||
}
|
||||
|
||||
function completeManageIssue(ret_obj) {
|
||||
if(opener) opener.window.location.reload();
|
||||
alert(ret_obj['message']);
|
||||
window.close();
|
||||
}
|
||||
|
||||
/* 모듈 생성 후 */
|
||||
function completeInsertProject(ret_obj) {
|
||||
var error = ret_obj['error'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue