]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Proper Microformats2 h-entry p-name + u-uid markup
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 2 Mar 2016 12:10:02 +0000 (13:10 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 2 Mar 2016 12:10:02 +0000 (13:10 +0100)
lib/noticelistitem.php
theme/base/css/display.css

index 4c4bde34a1c3d1e75c1703854238c36e7ad53268..ad5962d75123f9480b8436090f6db7fbee183021 100644 (file)
@@ -179,8 +179,8 @@ class NoticeListItem extends Widget
     function showNoticeTitle()
     {
         if (Event::handle('StartShowNoticeTitle', array($this))) {
-            $this->element('a', array('href' => $this->notice->getUrl(true),
-                                      'class' => 'notice-title'),
+            $this->element('a', array('href' => $this->notice->getUri(),
+                                      'class' => 'p-name u-uid'),
                            $this->notice->getTitle());
             Event::handle('EndShowNoticeTitle', array($this));
         }
index 295916d78ec8a2449e4b7a8a4fedf56487ae282c..73c95c277a42c66864874ff8f5de536e74c04b3e 100644 (file)
@@ -1013,7 +1013,7 @@ content: ":";
 clear:both;
 }
 
-.notice-title {
+.notice-headers > .u-uid {
     display:none;
 }