summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Jurd2009-07-03 23:28:28 +0000
committerRobert Haas2009-07-03 23:28:28 +0000
commit478724aae61a7ea89f2886550590c05f8b942581 (patch)
tree15d520eaae7e8c7e4f5dcd35e62ebd0c554386f0
parentfaaa39d1777c692be519a4b1707dee7e1872b2cc (diff)
First pass at a less obtrusive style for the "attribution" (author,
date) of comments.
-rw-r--r--html/layout/css/blue/commitfest.css6
-rw-r--r--template/commitfest_view.tt24
2 files changed, 7 insertions, 3 deletions
diff --git a/html/layout/css/blue/commitfest.css b/html/layout/css/blue/commitfest.css
index 02543a8..c2705a1 100644
--- a/html/layout/css/blue/commitfest.css
+++ b/html/layout/css/blue/commitfest.css
@@ -98,6 +98,11 @@ h3 {
font-weight: bold;
}
+.txtAttribution {
+ font-size: 90%;
+ color: #999;
+}
+
p, ol, ul, li {
line-height: 1.5em;
}
@@ -108,7 +113,6 @@ p, ol, ul, li {
color: #ffffff
}
-
a:link { color:#0066A2; text-decoration: underline; }
a:visited { color:#004E66; text-decoration: underline; }
a:active { color:#0066A2; text-decoration: underline; }
diff --git a/template/commitfest_view.tt2 b/template/commitfest_view.tt2
index 1d6d43f..65e0155 100644
--- a/template/commitfest_view.tt2
+++ b/template/commitfest_view.tt2
@@ -22,9 +22,9 @@ changes, click on the patch name.</p>
<td class='colLast'>&nbsp;</td>
[% ELSE %]
<td class='colFirstT'><a href='/https/git.postgresql.org/action/patch_view?id=[% p.id %]'>[% p.name | htmlsafe %]</a>
- <div style='padding-left: 10px'>
+ <div style='padding-left: 2em;'>
[% FOREACH c = p.comment_list %]
- <div>[% IF c.message_id != '' %]<a href='http://archives.postgresql.org/message-id/[% c.message_id | htmlsafe %]'>[% END %][% c.patch_comment_type | htmlsafe %][% IF c.message_id != '' %]</a>[% END %]: [% c.content | html %] ([% c.creator | html %]: [% c.creation_time | html %])</div>
+ <div><span class='txtAttribution'>[% c.creator | html %] at [% c.creation_time | html %]:</span> [% IF c.message_id != '' %]<a href='http://archives.postgresql.org/message-id/[% c.message_id | htmlsafe %]'>[% END %][% c.patch_comment_type | htmlsafe %][% IF c.message_id != '' %]</a>[% END %] - [% c.content | html %]</div>
[% END %]
</div>
</td>