Removed <dl> structure from NoticeListItem::showNoticeLink. Reason:

Arguably, the earlier structure was unnecessarily verbose. Same as commit
e0b877b26c.
This commit is contained in:
Sarven Capadisli 2009-07-25 18:04:45 +00:00
parent 89f32432ba
commit 9c09bfe4d7
2 changed files with 2 additions and 8 deletions

View File

@ -357,19 +357,14 @@ class NoticeListItem extends Widget
preg_match('/^http/', $this->notice->uri)) { preg_match('/^http/', $this->notice->uri)) {
$noticeurl = $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', $this->out->elementStart('a', array('rel' => 'bookmark',
'class' => 'timestamp',
'href' => $noticeurl)); 'href' => $noticeurl));
$dt = common_date_iso8601($this->notice->created); $dt = common_date_iso8601($this->notice->created);
$this->out->element('abbr', array('class' => 'published', $this->out->element('abbr', array('class' => 'published',
'title' => $dt), 'title' => $dt),
common_date_string($this->notice->created)); common_date_string($this->notice->created));
$this->out->elementEnd('a'); $this->out->elementEnd('a');
$this->out->elementEnd('dd');
$this->out->elementEnd('dl');
} }
/** /**

View File

@ -882,11 +882,10 @@ font-size:1.025em;
display:inline; display:inline;
} }
.notice div.entry-content .timestamp dt,
.notice div.entry-content .response dt { .notice div.entry-content .response dt {
display:none; display:none;
} }
.notice div.entry-content .timestamp a { .notice div.entry-content a.timestamp {
display:inline-block; display:inline-block;
} }
.notice div.entry-content .device dt { .notice div.entry-content .device dt {