[Rt-commit] rt branch, 4.4/asset-sql-foundation, updated. rt-4.4.0-255-g9bab0d5
Shawn Moore
shawn at bestpractical.com
Wed Jun 15 15:50:42 EDT 2016
The branch, 4.4/asset-sql-foundation has been updated
via 9bab0d5098fdae5831badcf6fa5650edf6c041b6 (commit)
from 3376497542adf6e96300d7a6e27461dd6fea9cf4 (commit)
Summary of changes:
share/html/Search/Elements/EditFormat | 3 +++
1 file changed, 3 insertions(+)
- Log -----------------------------------------------------------------
commit 9bab0d5098fdae5831badcf6fa5650edf6c041b6
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Wed Jun 15 19:13:07 2016 +0000
Add IncludeTicketLinks option to Search EditFormat
This lets us reuse this (updated for 4.4) component in AssetSQL
diff --git a/share/html/Search/Elements/EditFormat b/share/html/Search/Elements/EditFormat
index 4e2bfd8..4c305d2 100644
--- a/share/html/Search/Elements/EditFormat
+++ b/share/html/Search/Elements/EditFormat
@@ -97,10 +97,12 @@ jQuery( function() {
<select name="Link">
<option value="None">-</option>
<option value="Display"><&|/l&>Display</&></option>
+% if ($IncludeTicketLinks) {
<option value="Take"><&|/l&>Take</&></option>
<option value="Respond"><&|/l&>Respond</&></option>
<option value="Comment"><&|/l&>Comment</&></option>
<option value="Resolve"><&|/l&>Resolve</&></option>
+% }
</select>
</span>
</div>
@@ -159,4 +161,5 @@ $selected{$_}++ for grep {defined} @{ $selected };
<%ARGS>
$CurrentFormat => undef
$AvailableColumns => undef
+$IncludeTicketLinks => 1
</%ARGS>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list