[Rt-commit] rt branch, 4.0/toggle-folding, updated. rt-4.0.2-41-gbd14107

Alex Vandiver alexmv at bestpractical.com
Tue Sep 6 15:28:54 EDT 2011


The branch, 4.0/toggle-folding has been updated
       via  bd14107fb1407021490f3b7938f657a3c30eda0a (commit)
      from  191d9a1aa912d979cdf254421aae27754a529fd5 (commit)

Summary of changes:
 share/html/Ticket/Elements/ShowHistory |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

- Log -----------------------------------------------------------------
commit bd14107fb1407021490f3b7938f657a3c30eda0a
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Sep 6 15:20:13 2011 -0400

    Compress the "Show brief/full headers" links into one, instead of a toggle
    
    This makes it more consistent with the just-added "Hide/Show all quotes"

diff --git a/share/html/Ticket/Elements/ShowHistory b/share/html/Ticket/Elements/ShowHistory
index 411ba33..4fd4bc4 100755
--- a/share/html/Ticket/Elements/ShowHistory
+++ b/share/html/Ticket/Elements/ShowHistory
@@ -69,15 +69,12 @@ if ($ShowDisplayModes or $ShowTitle) {
         if ($ShowHeaders) {
             $titleright .= qq{<a href="$URIFile?id=} .
                            $Ticket->id.qq{">} .
-                           loc("Brief headers") .
-                           qq{</a> — };
-            $titleright .= q[<span class="selected">] . loc("Full headers") . "</span>";
-        }
-        else {
-            $titleright .= q[<span class="selected">] . loc("Brief headers") . "</span> — ";
+                           loc("Show brief headers") .
+                           qq{</a>};
+        } else {
             $titleright .= qq{<a href="$URIFile?ShowHeaders=1;id=} .
                            $Ticket->id.qq{">} .
-                           loc("Full headers") .
+                           loc("Show full headers") .
                            qq{</a>};
         }
     }

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


More information about the Rt-commit mailing list