Merge branch 'page_title_showstream' into 'nightly'

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
This commit is contained in:
mmn 2015-10-10 20:36:59 +00:00
commit 3255e2e1b8
2 changed files with 1 additions and 6 deletions

View File

@ -58,7 +58,6 @@ class ShowstreamAction extends NoticestreamAction
return $stream; return $stream;
} }
function title() function title()
{ {
$base = $this->target->getFancyName(); $base = $this->target->getFancyName();
@ -74,7 +73,7 @@ class ShowstreamAction extends NoticestreamAction
} }
} else { } else {
if ($this->page == 1) { if ($this->page == 1) {
return $base; return sprintf(_('Notices by %s'), $base);
} else { } else {
// TRANS: Extended page title showing tagged notices in one user's timeline. // TRANS: Extended page title showing tagged notices in one user's timeline.
// TRANS: %1$s is the username, %2$d is the page number. // TRANS: %1$s is the username, %2$d is the page number.

View File

@ -693,10 +693,6 @@ address .poweredby {
font-style:italic; font-style:italic;
} }
#showstream h1 {
display:none;
}
#remoteprofile .notice .h-entry, #remoteprofile .notice .h-entry,
#showstream .notice .h-entry, #showstream .notice .h-entry,
#remoteprofile .notice .entry-title, #remoteprofile .notice .entry-title,