]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch 'page_title_showstream' into 'nightly'
authormmn <mmn@hethane.se>
Sat, 10 Oct 2015 20:36:59 +0000 (20:36 +0000)
committermmn <mmn@hethane.se>
Sat, 10 Oct 2015 20:36:59 +0000 (20:36 +0000)
Show page title in user's profile page

Enable page title on user's profile page to make it consistent with all other pages and better orient users.

![Screenshot_-_250715_-_14_50_00](https://git.gnu.io/aroque/gnu-social/uploads/06e92b233e88fdb66047fbc0571f9831/Screenshot_-_250715_-_14_50_00.png)

See merge request !22

actions/showstream.php
theme/base/css/display.css

index 650efc7948e2d2945a4dfe072e11afebfbda9a7f..3ac837a67e84dcdaa7e3da5c3049e335e1428d39 100644 (file)
@@ -58,7 +58,6 @@ class ShowstreamAction extends NoticestreamAction
         return $stream;
     }
 
-
     function title()
     {
         $base = $this->target->getFancyName();
@@ -74,7 +73,7 @@ class ShowstreamAction extends NoticestreamAction
             }
         } else {
             if ($this->page == 1) {
-                return $base;
+                return sprintf(_('Notices by %s'), $base);
             } else {
                 // TRANS: Extended page title showing tagged notices in one user's timeline.
                 // TRANS: %1$s is the username, %2$d is the page number.
index 20f9aa775fe16613735e3d360d29009fcdbc72cb..2bd4b4fe0c13978477a36eaa2a53bd42c66daedb 100644 (file)
@@ -693,10 +693,6 @@ address .poweredby {
 font-style:italic;
 }
 
-#showstream h1 { 
-    display:none;
-}
-
 #remoteprofile .notice .h-entry,
 #showstream .notice .h-entry,
 #remoteprofile .notice .entry-title,