]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Removed <dl> structure from NoticeListItem::showNoticeLink. Reason:
authorSarven Capadisli <csarven@controlyourself.ca>
Sat, 25 Jul 2009 18:04:45 +0000 (18:04 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Sat, 25 Jul 2009 18:04:45 +0000 (18:04 +0000)
Arguably, the earlier structure was unnecessarily verbose. Same as commit
e0b877b26c5e93809b2a53b6c46326d5e31fa0e8.

lib/noticelist.php
theme/base/css/display.css

index 0bd98fef781e7234ed8a61d8d31cfcaa72c8e4d3..a3d20025f63cbcac602101f3a1def970347cc900 100644 (file)
@@ -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');
     }
 
     /**
index 41fc5c20e779487cbe2fee336a6e02da1ffc2305..8b9fcd309d7fdb11b4b90f40e55dcc13c8906eba 100644 (file)
@@ -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 {