Page notice message as instructions class
This commit is contained in:
parent
c6f58d432c
commit
b0abce9bc8
@ -65,13 +65,13 @@ class UsergroupsAction extends GalleryAction
|
|||||||
function showPageNotice()
|
function showPageNotice()
|
||||||
{
|
{
|
||||||
if ($this->scoped instanceof Profile && $this->scoped->sameAs($this->getTarget())) {
|
if ($this->scoped instanceof Profile && $this->scoped->sameAs($this->getTarget())) {
|
||||||
$this->element('p', null,
|
$this->element('p', 'instructions',
|
||||||
// TRANS: Page notice for page with an overview of all subscribed groups
|
// TRANS: Page notice for page with an overview of all subscribed groups
|
||||||
// TRANS: of the logged in user's own profile.
|
// TRANS: of the logged in user's own profile.
|
||||||
_('These are the groups whose notices '.
|
_('These are the groups whose notices '.
|
||||||
'you listen to.'));
|
'you listen to.'));
|
||||||
} else {
|
} else {
|
||||||
$this->element('p', null,
|
$this->element('p', 'instructions',
|
||||||
// TRANS: Page notice for page with an overview of all groups a user other
|
// TRANS: Page notice for page with an overview of all groups a user other
|
||||||
// TRANS: than the logged in user. %s is the user nickname.
|
// TRANS: than the logged in user. %s is the user nickname.
|
||||||
sprintf(_('These are the groups whose '.
|
sprintf(_('These are the groups whose '.
|
||||||
|
Loading…
Reference in New Issue
Block a user