[Rt-commit] r18787 - in rt/3.8/trunk: share/html/Search/Elements

sartak at bestpractical.com sartak at bestpractical.com
Fri Mar 13 14:38:56 EDT 2009


Author: sartak
Date: Fri Mar 13 14:38:56 2009
New Revision: 18787

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/share/html/Search/Elements/BuildFormatString
   rt/3.8/trunk/share/html/Search/Elements/EditFormat

Log:
 r81174 at onn:  sartak | 2009-03-13 14:38:31 -0400
 Add Respond and Comment as possible links in search results


Modified: rt/3.8/trunk/share/html/Search/Elements/BuildFormatString
==============================================================================
--- rt/3.8/trunk/share/html/Search/Elements/BuildFormatString	(original)
+++ rt/3.8/trunk/share/html/Search/Elements/BuildFormatString	Fri Mar 13 14:38:56 2009
@@ -189,6 +189,14 @@
                 $column{Prefix} .= q{<a HREF="__WebPath__/Ticket/Display.html?Action=Take&id=__id__">};
                 $column{Suffix} .= "</a>";
             }
+            elsif ( $Link eq "Respond" ) {
+                $column{Prefix} .= q{<a HREF="__WebPath__/Ticket/Update.html?Action=Respond&id=__id__">};
+                $column{Suffix} .= "</a>";
+            }
+            elsif ( $Link eq "Comment" ) {
+                $column{Prefix} .= q{<a HREF="__WebPath__/Ticket/Update.html?Action=Comment&id=__id__">};
+                $column{Suffix} .= "</a>";
+            }
 
             if ($Title) {
                 $column{Suffix} .= "/TITLE:" . $m->interp->apply_escapes( $Title, 'h' );

Modified: rt/3.8/trunk/share/html/Search/Elements/EditFormat
==============================================================================
--- rt/3.8/trunk/share/html/Search/Elements/EditFormat	(original)
+++ rt/3.8/trunk/share/html/Search/Elements/EditFormat	Fri Mar 13 14:38:56 2009
@@ -67,6 +67,8 @@
 <option value="None">-</option>
 <option value="Display"><&|/l&>Display</&></option>
 <option value="Take"><&|/l&>Take</&></option>
+<option value="Respond"><&|/l&>Respond</&></option>
+<option value="Comment"><&|/l&>Comment</&></option>
 </select>
 <br /><&|/l&>Title</&>: <input name="Title" size="10" />
 <br /><&|/l&>Size</&>:


More information about the Rt-commit mailing list