|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Ticket Navigation
|
|
|
4c79b5 |
with:links = chrome.links ?>
|
|
|
4c79b5 |
if:len(links.prev) || len(links.up) || len(links.next) ?>
|
|
|
4c79b5 |
if:len(links.prev) ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
←
|
|
|
4c79b5 |
var:links.prev.0.title ?>">Previous Ticket
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
if:len(links.up) ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:!len(links.next) ?> last">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:links.up.0.title ?>">Back to Query
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
if:len(links.next) ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:links.next.0.title ?>">Next Ticket →
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
/with ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Ticket # (
|
|
|
4c79b5 |
var:ticket.status ?>
|
|
|
4c79b5 |
if:ticket.type ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
if:ticket.resolution ?>:
|
|
|
4c79b5 |
/if ?>)
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Opened ago
|
|
|
4c79b5 |
if:ticket.lastmod ?>
|
|
|
4c79b5 |
Last modified ago
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Reported by:
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Assigned to:
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:ticket.status == 'assigned' ?> (accepted)
|
|
|
4c79b5 |
|
|
|
4c79b5 |
each:field = ticket.fields ?>
|
|
|
4c79b5 |
if:!field.skip ?>
|
|
|
4c79b5 |
set:num_fields = num_fields + 1 ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
/each ?>
|
|
|
4c79b5 |
set:idx = 0 ?>
|
|
|
4c79b5 |
each:field = ticket.fields ?>
|
|
|
4c79b5 |
if:!field.skip ?>
|
|
|
4c79b5 |
if:fullrow && idx % 2 ?>
|
|
|
4c79b5 |
:
|
|
|
4c79b5 |
<td<?cs if:fullrow ?> colspan="3" headers="h_
|
|
|
4c79b5 |
var:name(field) ?>">
|
|
|
4c79b5 |
if:idx % 2 || fullrow ?>
|
|
|
4c79b5 |
elif:idx == num_fields - 1 ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
/each ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:ticket.description ?>
|
|
|
4c79b5 |
<form method="get" action="<?cs var:ticket.href ?>#comment" class="printableform">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:trac.acl.TICKET_APPEND ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input type="hidden" name="replyto" value="description" />
|
|
|
4c79b5 |
<input type="submit" value="Reply" title="Reply, quoting this description" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
Description
|
|
|
4c79b5 |
if:ticket.description.lastmod ?>(Last modified by )
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<small></small>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Change History
|
|
|
4c79b5 |
|
|
|
4c79b5 |
each:change = ticket.changes ?>
|
|
|
4c79b5 |
<form method="get" action="<?cs var:ticket.href ?>#comment" class="printableform">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
id="comment:">
|
|
|
4c79b5 |
if:change.cnum ?>
|
|
|
4c79b5 |
if:trac.acl.TICKET_APPEND ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input type="hidden" name="replyto" value="<?cs var:change.cnum ?>" />
|
|
|
4c79b5 |
<input type="submit" value="Reply" title="Reply to comment <?cs var:change.cnum ?>" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
set:nreplies = len(ticket.replies[change.cnum]) ?>
|
|
|
4c79b5 |
if:nreplies || change.replyto ?>(
|
|
|
4c79b5 |
if:change.replyto ?>in reply to:
|
|
|
4c79b5 |
call:commentref('↑ ', change.replyto) ?>;
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
if nreplies ?>
|
|
|
4c79b5 |
call:plural('follow-up', nreplies) ?>:
|
|
|
4c79b5 |
each:reply = ticket.replies[change.cnum] ?>
|
|
|
4c79b5 |
call:commentref('↓ ', reply) ?>
|
|
|
4c79b5 |
/each ?>
|
|
|
4c79b5 |
/if ?>)
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
var:change.date ?> changed by
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:len(change.fields) ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
each:field = change.fields ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:name(field) == 'attachment' ?> added
|
|
|
4c79b5 |
elif:field.old && field.new ?>changed from
|
|
|
4c79b5 |
var:field.old ?> to
|
|
|
4c79b5 |
elif:!field.old && field.new ?>set to
|
|
|
4c79b5 |
elif:field.old && !field.new ?>deleted
|
|
|
4c79b5 |
else ?>changed
|
|
|
4c79b5 |
/if ?>.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/each ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
/each ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<form action="<?cs var:ticket.href ?>#preview" method="post">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:ticket.id ?> ()
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="author">Your email or username:</label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
value="" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<fieldset class="iefix">
|
|
|
4c79b5 |
<label for="comment">Comment (you may use
|
|
|
4c79b5 |
var:trac.href.wiki ?>/WikiFormatting">WikiFormatting here):</label>
|
|
|
4c79b5 |
<textarea id="comment" name="comment" class="wikitext" rows="10" cols="78">
|
|
|
4c79b5 |
</textarea>
|
|
|
4c79b5 |
</fieldset>
|
|
|
4c79b5 |
if ticket.comment_preview ?>
|
|
|
4c79b5 |
<fieldset id="preview">
|
|
|
4c79b5 |
<legend>Comment Preview</legend>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</fieldset>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<fieldset id="properties">
|
|
|
4c79b5 |
<legend>Change Properties</legend>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="summary">Summary:</label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:ticket.summary ?>" size="70" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:len(ticket.fields.type.options) ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="type">Type:</label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
call:hdf_select(ticket.fields.type.options, 'type', ticket.type, 0) ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
if:trac.acl.TICKET_ADMIN ?>
|
|
|
4c79b5 |
<label for="description">Description:</label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<textarea id="description" name="description" class="wikitext" rows="10" cols="68">
|
|
|
4c79b5 |
</textarea>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="reporter">Reporter:</label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:ticket.reporter ?>" id="reporter" name="reporter" size="70" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
each:field = ticket.fields ?>
|
|
|
4c79b5 |
if:!field.skip ?>
|
|
|
4c79b5 |
set:num_fields = num_fields + 1 ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
/each ?>
|
|
|
4c79b5 |
each:field = ticket.fields ?>
|
|
|
4c79b5 |
if:!field.skip ?>
|
|
|
4c79b5 |
if:fullrow && idx % 2 ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:field.type != 'radio' ?><label for="<?cs var:name(field) ?>">
|
|
|
4c79b5 |
/if ?>:
|
|
|
4c79b5 |
if:field.type != 'radio' ?></label>
|
|
|
4c79b5 |
<td<?cs if:fullrow ?> colspan="3">
|
|
|
4c79b5 |
if:field.type == 'text' ?>
|
|
|
4c79b5 |
var:name(field) ?>" name="
|
|
|
4c79b5 |
var:name(field) ?>" value="" />
|
|
|
4c79b5 |
elif:field.type == 'select' ?>
|
|
|
4c79b5 |
var:name(field) ?>" name="
|
|
|
4c79b5 |
var:name(field) ?>">
|
|
|
4c79b5 |
if:field.optional ?><option></option>
|
|
|
4c79b5 |
each:option = field.options ?>
|
|
|
4c79b5 |
if:option == ticket[name(field)] ?> selected="selected">
|
|
|
4c79b5 |
var:option ?></option>
|
|
|
4c79b5 |
/each ?></select>
|
|
|
4c79b5 |
elif:field.type == 'checkbox' ?>
|
|
|
4c79b5 |
var:name(field) ?>" />
|
|
|
4c79b5 |
var:name(field) ?>" name="
|
|
|
4c79b5 |
var:name(field) ?>" value="1"
|
|
|
4c79b5 |
if:ticket[name(field)] ?> checked="checked" />
|
|
|
4c79b5 |
elif:field.type == 'textarea' ?>
|
|
|
4c79b5 |
var:name(field) ?>" name="
|
|
|
4c79b5 |
var:name(field) ?>"
|
|
|
4c79b5 |
if:field.height ?> rows=""
|
|
|
4c79b5 |
if:field.width ?> cols="">
|
|
|
4c79b5 |
</textarea>
|
|
|
4c79b5 |
elif:field.type == 'radio' ?>
|
|
|
4c79b5 |
each:option = field.options ?><label>
|
|
|
4c79b5 |
var:name(field) ?>" name="
|
|
|
4c79b5 |
var:name(field) ?>" value=""
|
|
|
4c79b5 |
if:ticket[name(field)] == option ?> checked="checked" />
|
|
|
4c79b5 |
var:option ?></label>
|
|
|
4c79b5 |
/each ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
if:idx % 2 || fullrow ?>
|
|
|
4c79b5 |
if:idx < num_fields - 1 ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
elif:idx == num_fields - 1 ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
/each ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</fieldset>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
ticket.actions.resolve || ticket.actions.reassign ?>
|
|
|
4c79b5 |
<fieldset id="action">
|
|
|
4c79b5 |
<legend>Action</legend>
|
|
|
4c79b5 |
if:!ticket.action ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
def:action_radio(id) ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:id ?>" checked="checked"
|
|
|
4c79b5 |
/if ?> />
|
|
|
4c79b5 |
/def ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="leave">leave as </label>
|
|
|
4c79b5 |
if:ticket.actions.accept ?>
|
|
|
4c79b5 |
call:action_radio('accept') ?>
|
|
|
4c79b5 |
<label for="accept">accept ticket</label>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
if:ticket.actions.reopen ?>
|
|
|
4c79b5 |
call:action_radio('reopen') ?>
|
|
|
4c79b5 |
<label for="reopen">reopen ticket</label>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
if:ticket.actions.resolve ?>
|
|
|
4c79b5 |
call:action_radio('resolve') ?>
|
|
|
4c79b5 |
<label for="resolve">resolve</label>
|
|
|
4c79b5 |
if:len(ticket.fields.resolution.options) ?>
|
|
|
4c79b5 |
<label for="resolve_resolution">as:</label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
ticket.resolve_resolution, 0) ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
if:ticket.actions.reassign ?>
|
|
|
4c79b5 |
call:action_radio('reassign') ?>
|
|
|
4c79b5 |
<label for="reassign">reassign</label>
|
|
|
4c79b5 |
<label>to:
|
|
|
4c79b5 |
if:len(ticket.fields.owner.options) ?>
|
|
|
4c79b5 |
call:hdf_select(ticket.fields.owner.options, "reassign_owner",
|
|
|
4c79b5 |
ticket.reassign_owner, 1) ?>
|
|
|
4c79b5 |
else ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:ticket.reassign_owner ?>" />
|
|
|
4c79b5 |
/if ?></label>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
if ticket.actions.resolve || ticket.actions.reassign ?>
|
|
|
4c79b5 |
<script type="text/javascript">
|
|
|
4c79b5 |
each:action = ticket.actions ?>
|
|
|
4c79b5 |
var = document.getElementById("");
|
|
|
4c79b5 |
/each ?>
|
|
|
4c79b5 |
var updateActionFields = function() {
|
|
|
4c79b5 |
enableControl('resolve_resolution', resolve.checked);
|
|
|
4c79b5 |
enableControl('reassign_owner', reassign.checked);
|
|
|
4c79b5 |
};
|
|
|
4c79b5 |
addEvent(window, 'load', updateActionFields);
|
|
|
4c79b5 |
each:action = ticket.actions ?>
|
|
|
4c79b5 |
addEvent(, 'click', updateActionFields);
|
|
|
4c79b5 |
/each ?>
|
|
|
4c79b5 |
</script>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
</fieldset>
|
|
|
4c79b5 |
else ?>
|
|
|
4c79b5 |
<input type="hidden" name="action" value="leave" />
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:htdocs_location ?>js/wikitoolbar.js"></script>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input type="hidden" name="ts" value="<?cs var:ticket.ts ?>" />
|
|
|
4c79b5 |
<input type="hidden" name="replyto" value="<?cs var:ticket.replyto ?>" />
|
|
|
4c79b5 |
<input type="hidden" name="cnum" value="<?cs var:ticket.cnum ?>" />
|
|
|
4c79b5 |
<input type="submit" name="preview" value="Preview" accesskey="r" />
|
|
|
4c79b5 |
<input type="submit" value="Submit changes" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<script type="text/javascript">
|
|
|
4c79b5 |
addHeadingLinks(document.getElementById("searchable"), "Permalink to $id");
|
|
|
4c79b5 |
</script>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|