[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-469-ga755157

Thomas Sibley trs at bestpractical.com
Wed Aug 18 14:15:22 EDT 2010


The branch, 3.9-trunk has been updated
       via  a755157c5a33f23210eb1362bcd831d78147c125 (commit)
      from  1d453ae4374b742314a6db6862396ce5567d2ca6 (commit)

Summary of changes:
 share/html/Ticket/Elements/ShowRequestorTickets    |    3 ++-
 .../Ticket/Elements/ShowRequestorTicketsActive     |    2 +-
 share/html/Ticket/Elements/ShowRequestorTicketsAll |    2 +-
 .../Ticket/Elements/ShowRequestorTicketsInactive   |    2 +-
 .../html/Ticket/Elements/ShowRequestorTicketsNone  |    2 +-
 5 files changed, 6 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit a755157c5a33f23210eb1362bcd831d78147c125
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Aug 18 14:17:21 2010 -0400

    Make the requestor box "show tickets" link less ambiguous

diff --git a/share/html/Ticket/Elements/ShowRequestorTickets b/share/html/Ticket/Elements/ShowRequestorTickets
index a599efd..f2a399a 100644
--- a/share/html/Ticket/Elements/ShowRequestorTickets
+++ b/share/html/Ticket/Elements/ShowRequestorTickets
@@ -54,7 +54,7 @@
                         OrderBy     => $OrderBy,
                         Order       => $Order );
 </%perl>
-<a href="<%$url%>"><&|/l&>Show tickets</&></a>
+<a href="<%$url%>"><&|/l, $Type &>Show [_1] tickets</&></a>
 % } else {
 <ul>
 <%perl>
@@ -81,6 +81,7 @@ if (@$conditions) {
 }
 </%INIT>
 <%ARGS>
+$Type => loc('all')
 $Requestor => undef
 $conditions
 $Rows => 10
diff --git a/share/html/Ticket/Elements/ShowRequestorTicketsActive b/share/html/Ticket/Elements/ShowRequestorTicketsActive
index e31397a..59e47a6 100644
--- a/share/html/Ticket/Elements/ShowRequestorTicketsActive
+++ b/share/html/Ticket/Elements/ShowRequestorTicketsActive
@@ -49,7 +49,7 @@
 <span class="label"><&|/l, $Rows &>This user's [_1] highest priority active tickets</&>:</span>
 <& ShowRequestorToggleLinks, %ARGS, Status => 'Active' &>
 % }
-<& ShowRequestorTickets, %ARGS, conditions => $conditions, Rows => $Rows  &>
+<& ShowRequestorTickets, %ARGS, conditions => $conditions, Rows => $Rows, Type => loc('open') &>
 <%INIT>
 unless ( @$conditions ) {
     foreach (RT::Queue->ActiveStatusArray()) {
diff --git a/share/html/Ticket/Elements/ShowRequestorTicketsAll b/share/html/Ticket/Elements/ShowRequestorTicketsAll
index 47c1c6d..edbc69f 100644
--- a/share/html/Ticket/Elements/ShowRequestorTicketsAll
+++ b/share/html/Ticket/Elements/ShowRequestorTicketsAll
@@ -49,7 +49,7 @@
 <span class="label"><&|/l, $Rows &>This user's [_1] highest priority tickets</&>:</span>
 <& ShowRequestorToggleLinks, %ARGS, Status => 'All' &>
 % }
-<& ShowRequestorTickets, %ARGS, conditions => $conditions, Rows => $Rows  &>
+<& ShowRequestorTickets, %ARGS, conditions => $conditions, Rows => $Rows, Type => loc('all') &>
 <%ARGS>
 $Requestor => undef
 $conditions => []
diff --git a/share/html/Ticket/Elements/ShowRequestorTicketsInactive b/share/html/Ticket/Elements/ShowRequestorTicketsInactive
index affdb47..0324b01 100644
--- a/share/html/Ticket/Elements/ShowRequestorTicketsInactive
+++ b/share/html/Ticket/Elements/ShowRequestorTicketsInactive
@@ -49,7 +49,7 @@
 <span class="label"><&|/l, $Rows &>This user's [_1] highest priority inactive tickets</&>:</span>
 <& ShowRequestorToggleLinks, %ARGS, Status => 'Inactive' &>
 % }
-<& ShowRequestorTickets, %ARGS, conditions => $conditions, Rows => $Rows  &>
+<& ShowRequestorTickets, %ARGS, conditions => $conditions, Rows => $Rows, Type => loc('closed') &>
 <%INIT>
 unless ( @$conditions ) {
     foreach (RT::Queue->InactiveStatusArray()) {
diff --git a/share/html/Ticket/Elements/ShowRequestorTicketsNone b/share/html/Ticket/Elements/ShowRequestorTicketsNone
index a0ce0ff..60a3608 100644
--- a/share/html/Ticket/Elements/ShowRequestorTicketsNone
+++ b/share/html/Ticket/Elements/ShowRequestorTicketsNone
@@ -47,7 +47,7 @@
 %# END BPS TAGGED BLOCK }}}
 %# showing no tickets means doing no work
 % if ( $AsLink ) {
-<& ShowRequestorTickets, %ARGS, conditions => $conditions, Rows => $Rows  &>
+<& ShowRequestorTickets, %ARGS, conditions => $conditions, Rows => $Rows, Type => loc('all') &>
 % }
 <%ARGS>
 $Requestor => undef

-----------------------------------------------------------------------


More information about the Rt-commit mailing list