shorten flag notification and include a class
This commit is contained in:
parent
4845aefa69
commit
22310d17a4
@ -102,8 +102,7 @@ class UserFlagPlugin extends Plugin
|
|||||||
$action->elementStart('li', 'entity_flag');
|
$action->elementStart('li', 'entity_flag');
|
||||||
|
|
||||||
if (User_flag_profile::exists($profile->id, $user->id)) {
|
if (User_flag_profile::exists($profile->id, $user->id)) {
|
||||||
$action->element('p', array(),
|
$action->element('p', 'flagged', _('Flagged'));
|
||||||
_('Flagged for review'));
|
|
||||||
} else {
|
} else {
|
||||||
$form = new FlagProfileForm($action, $profile,
|
$form = new FlagProfileForm($action, $profile,
|
||||||
array('action' => 'showstream',
|
array('action' => 'showstream',
|
||||||
|
Loading…
Reference in New Issue
Block a user