summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-07-25 18:04:45 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-07-25 18:04:45 +0000
commit9c09bfe4d721a7a3be907dcba42eb6d31f50020d (patch)
treebee2c26e1a8db9bc8df1d7c4489f81dfe424b917
parent89f32432bace26feb46299728ce2878fc5df4d20 (diff)
Removed <dl> structure from NoticeListItem::showNoticeLink. Reason:
Arguably, the earlier structure was unnecessarily verbose. Same as commit e0b877b26c5e93809b2a53b6c46326d5e31fa0e8.
-rw-r--r--lib/noticelist.php7
-rw-r--r--theme/base/css/display.css3
2 files changed, 2 insertions, 8 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index 0bd98fef7..a3d20025f 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -357,19 +357,14 @@ class NoticeListItem extends Widget
preg_match('/^http/', $this->notice->uri)) {
$noticeurl = $this->notice->uri;
}
- $this->out->elementStart('dl', 'timestamp');
- $this->out->element('dt', null, _('Published'));
- $this->out->elementStart('dd', null);
$this->out->elementStart('a', array('rel' => 'bookmark',
+ 'class' => 'timestamp',
'href' => $noticeurl));
$dt = common_date_iso8601($this->notice->created);
$this->out->element('abbr', array('class' => 'published',
'title' => $dt),
common_date_string($this->notice->created));
-
$this->out->elementEnd('a');
- $this->out->elementEnd('dd');
- $this->out->elementEnd('dl');
}
/**
diff --git a/theme/base/css/display.css b/theme/base/css/display.css
index 41fc5c20e..8b9fcd309 100644
--- a/theme/base/css/display.css
+++ b/theme/base/css/display.css
@@ -882,11 +882,10 @@ font-size:1.025em;
display:inline;
}
-.notice div.entry-content .timestamp dt,
.notice div.entry-content .response dt {
display:none;
}
-.notice div.entry-content .timestamp a {
+.notice div.entry-content a.timestamp {
display:inline-block;
}
.notice div.entry-content .device dt {