[Rt-commit] r3441 - in rt/branches/3.5-TESTING: . html/NoAuth/css
html/Ticket/Elements
trs at bestpractical.com
trs at bestpractical.com
Fri Jul 8 14:31:52 EDT 2005
Author: trs
Date: Fri Jul 8 14:31:51 2005
New Revision: 3441
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/NoAuth/css/body.css
rt/branches/3.5-TESTING/html/Ticket/Elements/ShowHistory
Log:
r4943 at wintermute: tom | 2005-07-08 14:26:53 -0400
Styled up the Brief/Full headers links
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/body.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/body.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/body.css Fri Jul 8 14:31:51 2005
@@ -71,6 +71,8 @@
color: #888;
}
+.titlebox .title .right .selected { color: #930; }
+
#body .titlebox .title .right :link,
#body .titlebox .title .right :visited {
color: #888;
Modified: rt/branches/3.5-TESTING/html/Ticket/Elements/ShowHistory
==============================================================================
--- rt/branches/3.5-TESTING/html/Ticket/Elements/ShowHistory (original)
+++ rt/branches/3.5-TESTING/html/Ticket/Elements/ShowHistory Fri Jul 8 14:31:51 2005
@@ -53,29 +53,26 @@
else {
$title = ' ';
}
-$titleright = loc('Display mode') . ":";
+$titleright = q[<span style="color: black">] . loc('Display mode') . ':</span> ';
if ($ShowHeaders) {
- $titleright .= "[<a HREF=\"" . $URIFile . "?id="
- . $Ticket->id . "\">"
- . loc("Brief headers")
- . "</a>] <b>["
- . loc("Full headers") . "]</b>";
+ $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 .= "<b>["
- . loc("Brief headers")
- . "]</b> [<a HREF=\""
- . $URIFile
- . "?ShowHeaders=1"
- . "&id="
- . $Ticket->id . "\">"
- . loc("Full headers") . "</a>]";
+ $titleright .= q[<span class="selected">] . loc("Brief headers") . "</span> — ";
+ $titleright .= qq{<a href="$URIFile?ShowHeaders=1;id=} .
+ $Ticket->id.qq{">} .
+ loc("Full headers") .
+ qq{</a>};
}
</%perl>
-<& /Widgets/TitleBoxStart, title => $title, titleright => $titleright, bodyclass=> ''&>
+<& /Widgets/TitleBoxStart, title => $title, titleright => $titleright &>
% }
-<table WIDTH=100% CELLSPACING=0 CELLPADDING=2 BORDER=0>
+<table width="100%" cellspacing="0" cellpadding="2" border="0">
<%perl>
my @attachments = @{$Attachments->ItemsArrayRef()};
my @attachment_content = @{$AttachmentContent->ItemsArrayRef()};
More information about the Rt-commit
mailing list