[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.7-796-gbcac8fb
Shawn Moore
sartak at bestpractical.com
Fri Dec 10 17:29:25 EST 2010
The branch, 3.9-trunk has been updated
via bcac8fb7e6cd491306954134af7dc49c82cc73ff (commit)
from b3bc3f829363b47584d9b8a94ab58e8e36f1bc9d (commit)
Summary of changes:
share/html/Search/Elements/BuildFormatString | 4 ++++
share/html/Search/Elements/EditFormat | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit bcac8fb7e6cd491306954134af7dc49c82cc73ff
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Fri Dec 10 17:28:41 2010 -0500
Add Delete as a searchbuilder row link
For quick spam removal
diff --git a/share/html/Search/Elements/BuildFormatString b/share/html/Search/Elements/BuildFormatString
index 9942aef..bd099ae 100644
--- a/share/html/Search/Elements/BuildFormatString
+++ b/share/html/Search/Elements/BuildFormatString
@@ -201,6 +201,10 @@ elsif ( $AddCol ) {
$column{Prefix} .= q{<a HREF="__WebPath__/Ticket/Update.html?Action=Comment&DefaultStatus=resolved&id=__id__">};
$column{Suffix} .= "</a>";
}
+ elsif ( $Link eq "Delete" ) {
+ $column{Prefix} .= q{<a HREF="__WebPath__/Ticket/Display.html?Action=Delete&id=__id__">};
+ $column{Suffix} .= "</a>";
+ }
if ($Title) {
$column{Suffix} .= "/TITLE:" . $m->interp->apply_escapes( $Title, 'h' );
diff --git a/share/html/Search/Elements/EditFormat b/share/html/Search/Elements/EditFormat
index fa59981..0992b5f 100644
--- a/share/html/Search/Elements/EditFormat
+++ b/share/html/Search/Elements/EditFormat
@@ -73,6 +73,7 @@
<option value="Respond"><&|/l&>Respond</&></option>
<option value="Comment"><&|/l&>Comment</&></option>
<option value="Resolve"><&|/l&>Resolve</&></option>
+<option value="Delete"><&|/l&>Delete</&></option>
</select>
</span>
</div>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list