8 <div flexy:if="preview" class='ui-state-highlight ui-corner-all'>
9 <span class='ui-icon ui-icon-info'></span>
10 This is a preview of your pending changes. It does not show
11 changes to the resolution; those will be applied when you submit.
16 <div flexy:foreach="error,e" class='ui-state-error ui-corner-all'>
17 <span class='ui-icon ui-icon-alert'></span>
21 <div id="watch-list"></div>
27 <h1 flexy:if="issue.nsident">
28 <del flexy:if="!issue.isOpen()">#{issue.nsident} [{issue.status}] {issue.summary}</del>
29 <span flexy:if="issue.isOpen()">#{issue.nsident} [{issue.status}] {issue.summary}</span>
39 <table flexy:if="issue.nsident" id='ctime'>
41 <td><label>Opened</label>:</td>
42 <td>{issue.createdWhen(link):h}</td>
43 <td>{issue.createdWho(link):h}</td>
45 <tr flexy:if="!eq(issue.created,issued.updated)">
46 <td><label>Updated</label>:</td>
47 <td>{issue.updatedWhen(link):h}</td>
48 <td>{issue.updatedWho(link):h}</td>
57 <fieldset id='readonly-tkt-properties'>
58 <legend>Properties</legend>
61 <td><label>Milestone</label>:</td>
62 <td width='100%'>{issue.milestoneToHtml():h}</td>
65 <td><label>Component</label>:</td>
66 <td width='100%'>{issue.componentsToHtml():h}</td>
69 <td><label>Classification</label>:</td>
70 <td width='100%'>{issue.classification}</td>
73 <td><label>Priority</label>:</td>
74 <td width='100%'>{issue.priority}</td>
77 <td><label>Severity</label>:</td>
78 <td width='100%'>{issue.severity}</td>
81 <td><label>Keywords</label>:</td>
82 <td width='100%'>{issue.keywordsToHtml():h}</td>
85 <td colspan='2'><label>ChangeLog (customer visible)</label>:</td>
87 <td colspan='2'>{issue.changelog:b}</td>
95 <fieldset id='readonly-tkt-resources'>
96 <legend>Resources</legend>
99 <td><label>Responsible</label>:</td>
100 <td width='100%'>{issue.owner}</td>
103 <td><label>Estimated Hours</label>:</td>
104 <td width='100%'>{issue.estimated}</td>
107 <td><label>Spent Hours</label>:</td>
108 <td width='100%'>{issue.spent}</td>
111 <td><label>Cc</label>:</td>
112 <td width='100%'>{issue.cc}</td>
122 {attachmentsToHtml(issue):h}
124 <div id='readonly-tkt-description'>{issue.descriptionToHtml():h}</div>
129 <div flexy:if="showEditBar" id='tkt-view-button-block' class='button-float'>
130 <button class='mtrack-edit-desc'>Edit</button>
131 <button class='mtrack-make-comment'>Add Comment / Update Status</button>
139 <form id='tktedit' method='post' action='{baseURL}/Ticket/{issue.nsident}' enctype='multipart/form-data'>
142 <div id="edit-issue-desc" style="display:none" >
149 <input class='summaryedit' id='summary' name='summary' size='80'>
151 <input type='hidden' name='issue.nsident' value='{issue.nsident}'>
153 <table class='fields'>
155 <td colspan='4'><label for='description'>Full description:</label><br>
156 <textarea id='description' name='description' style='height: 11em' rows='10' cols='78' class='code wiki'></textarea>
161 <fieldset id='Properties' class="container-block-normal">
162 <legend>Properties</legend>
163 <table class='fields'>
166 <select id='milestone'
169 title='Milestone (select to add)'></select>
172 <select id='component'
175 title='Component (select to add)'></select>
179 <td><label for='classification'>Classification:</label></td>
180 <td class='col1'><select id='classification' name='classification'></select></td>
182 <td><label for='priority'>Priority:</label></td>
183 <td class='col2'><select id='priority' name='priority'></select></td>
186 <td><label for='severity'>Severity:</label></td>
187 <td class='col1'><select id='severity' name='severity'></select></td>
189 <td><label for='keywords'>Keywords:</label></td>
190 <td class='col2'><input id='keywords' name='keywords' value=''></td>
194 <label for='changelog'>ChangeLog (customer visible):</label><br>
195 <textarea id='changelog' name='changelog' rows='5' cols='78' class='code'></textarea>
203 <div id='update-issue-desc' style='display:none' >
206 <fieldset id='Resources' class="container-block-small">
207 <legend>Resources</legend>
210 <td><label for='owner'>Responsible:</label></td>
211 <td class='col1'><select id='owner' name='owner'></select></td>
214 <td><label for='estimated'>Estimated Hours:</label></td>
215 <td class='col2'><input id='estimated' name='estimated'></td>
218 <td><label for='cc'>Cc:</label></td>
219 <td class='col1'><input id='cc' name='cc' value=''></td>
224 <fieldset flexy:if="id" id='files-container' class="container-block-small">
225 <legend>Attachments</legend>
226 {issue.attachmentsDeleteToHtml():h}
228 <label for='attachments[]'>Select file(s) to be attached</label>
229 <input type='file' class='multi' name='attachments[]'>
232 <fieldset flexy:if="id" id='action-container' class="container-block-small">
233 <legend>Action - Issue is currently - {issue.status}</legend>
234 <input type='radio' id='none' name='action' value='none' checked='checked'>
235 <label for='none'>Leave status as {issue.status}</label><br>
236 <span flexy:if="issue.isOpen()">
237 <input type='radio' id='accept' name='action' value='accept'>
238 <label for='accept'>Assign this ticket to ME</label><br>
240 {foreach:change_status,cs}
241 <input type='radio' id='change_{cs}' name='action' value='change_{cs}' flexy:ignore="yes">
242 <label for='change_{cs}'>Change status to: <B>{cs}</B></label><br>
246 {foreach:resolve_status,cs}
247 <input type='radio' id='resolve_{cs}' name='action' value='resolve_{cs}' flexy:ignore="yes">
248 <label for='resolve_{cs}'>Resolve as: <B>{cs}</B></label><br>
253 <label for='spent'>Log time spent (hours)</label> <input type='text' name='spent' value='0'><br>
259 <div class="clear"></div>
261 <fieldset id='comment-container'>
262 <legend>Comment</legend>
263 <textarea name='comment' id="comment" class="wiki shortwiki" rows="5" cols="78"></textarea>
271 <div id='tkt-edit-button-block' class='button-float' style='display:none'>
273 <button class='mtrack-button-submit' type="submit" name="preview">Preview</button>
274 <button class='mtrack-button-submit' type="submit" name="apply">Submit changes</button>
275 <button class='mtrack-edit-cancel' type="submit" name="cancel">Cancel</button>
276 <button flexy:if="id" class='mtrack-make-comment'>Add Comment / Update Status</button>
284 <div id="events-list"></div>
286 <br style="clear:both">
287 <div flexy:if="issue.nsident" class='button-float' >
288 <button id="bottom-comment-button" class="mtrack-make-comment">Add Comment</button>
291 <div id="confirmCancelDialog" style="display:none" title="Are you sure?">
292 You've entered information into the form.
293 If you cancel, you will not be able to get it back.
296 <div id="noCommentDialog" style="display:none" title="Please enter comment">
297 It seems you have not made any changes to the ticket,
298 and haven't entered any comments.
301 <div id="noSummaryDialog" style="display:none" title="Please enter summary">
302 It seems you haven't entered a summary for the ticket.