From ad49158fb51a954c3b92ae6d42ac3e38ac7e539c Mon Sep 17 00:00:00 2001 From: aroquen Date: Sat, 25 Jul 2015 14:45:45 +0200 Subject: [PATCH] Show page title in user's profile page --- actions/showstream.php | 3 +-- theme/base/css/display.css | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/actions/showstream.php b/actions/showstream.php index 890c1e711b..24b6bcc7dc 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -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. diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 20f9aa775f..2bd4b4fe0c 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -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,