9 <div flexy:if="preview" class='ui-state-highlight ui-corner-all'>
10 <span class='ui-icon ui-icon-info'></span>
11 This is a preview of your pending changes. It does not show
12 changes to the resolution; those will be applied when you submit.
17 <div flexy:foreach="error,e" class='ui-state-error ui-corner-all'>
18 <span class='ui-icon ui-icon-alert'></span>
22 <div id="watch-list"></div>
30 <del flexy:if="!issue.isOpen()">#{issue.nsident} [{issue.status}] {issue.summary}</del>
31 <span flexy:if="issue.isOpen()">#{issue.nsident} [{issue.status}] {issue.summary}</span>
41 <table flexy:if="tid" id='ctime'>
43 <td><label>Opened</label>:</td>
44 <td>{issue.createdWhen():h}</td>
45 <td>{issue.createdWho():h}</td>
47 <tr flexy:if="!eq(issue.created,issued.updated)">
48 <td><label>Updated</label>:</td>
49 <td>{issue.updatedWhen():h}</td>
50 <td>{issue.updatedWho():h}</td>
59 <fieldset id='readonly-tkt-properties'>
60 <legend>Properties</legend>
63 <td><label>Milestone</label>:</td>
64 <td width='100%'>{issue.milestoneToHtml():h}</td>
67 <td><label>Component</label>:</td>
68 <td width='100%'>{issue.componentsToHtml():h}</td>
71 <td><label>Classification</label>:</td>
72 <td width='100%'>{issue.classification}</td>
75 <td><label>Priority</label>:</td>
76 <td width='100%'>{issue.priority}</td>
79 <td><label>Severity</label>:</td>
80 <td width='100%'>{issue.severity}</td>
83 <td><label>Keywords</label>:</td>
84 <td width='100%'>{issue.keywordsToHtml():h}</td>
87 <td colspan='2'><label>ChangeLog (customer visible)</label>:</td>
89 <td colspan='2'>{issue.changelog:b}</td>
97 <fieldset id='readonly-tkt-resources'>
98 <legend>Resources</legend>
101 <td><label>Responsible</label>:</td>
102 <td width='100%'>{issue.owner}</td>
105 <td><label>Estimated Hours</label>:</td>
106 <td width='100%'>{issue.estimated}</td>
109 <td><label>Spent Hours</label>:</td>
110 <td width='100%'>{issue.spent}</td>
113 <td><label>Cc</label>:</td>
114 <td width='100%'>{issue.cc}</td>
124 {issue.attachmentsToHtml():h}
126 <div id='readonly-tkt-description'>{issue.descriptionToHtml():h}</div>
131 <div flexy:if="showEditBar" id='tkt-view-button-block' class='button-float'>
132 <button class='mtrack-edit-desc'>Edit</button>
133 <button class='mtrack-make-comment'>Add Comment / Update Status</button>
134 {issue.watcherButton():h}
142 <form id='tktedit' method='post' action='{baseURL}/Ticket.php/{tid}' enctype='multipart/form-data'>
145 <div id="edit-issue-desc" style="display:none" >
152 <input class='summaryedit' id='summary' name='summary' size='80'>
154 <input type='hidden' name='tid' value='{tid}'>
156 <table class='fields'>
158 <td colspan='4'><label for='description'>Full description:</label><br>
159 <textarea id='description' name='description' style='height: 11em' rows='10' cols='78' class='code wiki'></textarea>
164 <fieldset id='Properties' class="container-block-normal">
165 <legend>Properties</legend>
166 <table class='fields'>
169 <select id='milestone'
172 title='Milestone (select to add)'></select>
175 <select id='component'
178 title='Component (select to add)'></select>
182 <td><label for='classification'>Classification:</label></td>
183 <td class='col1'><select id='classification' name='classification'></select></td>
185 <td><label for='priority'>Priority:</label></td>
186 <td class='col2'><select id='priority' name='priority'></select></td>
189 <td><label for='severity'>Severity:</label></td>
190 <td class='col1'><select id='severity' name='severity'></select></td>
192 <td><label for='keywords'>Keywords:</label></td>
193 <td class='col2'><input id='keywords' name='keywords' value=''></td>
197 <label for='changelog'>ChangeLog (customer visible):</label><br>
198 <textarea id='changelog' name='changelog' rows='5' cols='78' class='code'></textarea>
206 <div id='update-issue-desc' style='display:none' >
209 <fieldset id='Resources' class="container-block-small">
210 <legend>Resources</legend>
213 <td><label for='owner'>Responsible:</label></td>
214 <td class='col1'><select id='owner' name='owner'></select></td>
217 <td><label for='estimated'>Estimated Hours:</label></td>
218 <td class='col2'><input id='estimated' name='estimated'></td>
221 <td><label for='cc'>Cc:</label></td>
222 <td class='col1'><input id='cc' name='cc' value=''></td>
227 <fieldset flexy:if="id" id='files-container' class="container-block-small">
228 <legend>Attachments</legend>
229 {issue.attachmentsDeleteToHtml():h}
231 <label for='attachments[]'>Select file(s) to be attached</label>
232 <input type='file' class='multi' name='attachments[]'>
235 <fieldset flexy:if="id" id='action-container' class="container-block-small">
236 <legend>Action - Issue is currently - {issue.status}</legend>
237 <input type='radio' id='none' name='action' value='none' checked='checked'>
238 <label for='none'>Leave status as {issue.status}</label><br>
239 <span flexy:if="issue.isOpen()">
240 <input type='radio' id='accept' name='action' value='accept'>
241 <label for='accept'>Assign this ticket to ME</label><br>
243 {foreach:change_status,cs}
244 <input type='radio' id='change_{cs}' name='action' value='change_{cs}' flexy:ignore="yes">
245 <label for='change_{cs}'>Change status to: <B>{cs}</B></label><br>
249 {foreach:resolve_status,cs}
250 <input type='radio' id='resolve_{cs}' name='action' value='resolve_{cs}' flexy:ignore="yes">
251 <label for='resolve_{cs}'>Resolve as: <B>{cs}</B></label><br>
256 <label for='spent'>Log time spent (hours)</label> <input type='text' name='spent' value='0'><br>
262 <div class="clear"></div>
264 <fieldset id='comment-container'>
265 <legend>Comment</legend>
266 <textarea name='comment' id="comment" class="wiki shortwiki" rows="5" cols="78"></textarea>
274 <div id='tkt-edit-button-block' class='button-float' style='display:none'>
276 <button class='mtrack-button-submit' type="submit" name="preview">Preview</button>
277 <button class='mtrack-button-submit' type="submit" name="apply">Submit changes</button>
278 <button class='mtrack-edit-cancel' type="submit" name="cancel">Cancel</button>
279 <button flexy:if="id" class='mtrack-make-comment'>Add Comment / Update Status</button>
287 <div id="events-list"></div>
289 <br style="clear:both">
290 <div flexy:if="issue.tid" class='button-float' >
291 <button id="bottom-comment-button" class="mtrack-make-comment">Add Comment</button>
294 <div id="confirmCancelDialog" style="display:none" title="Are you sure?">
295 You've entered information into the form.
296 If you cancel, you will not be able to get it back.
299 <div id="noCommentDialog" style="display:none" title="Please enter comment">
300 It seems you have not made any changes to the ticket,
301 and haven't entered any comments.
304 <div id="noSummaryDialog" style="display:none" title="Please enter summary">
305 It seems you haven't entered a summary for the ticket.