Better markup for anon fave tally
This commit is contained in:
parent
1a870e8ac6
commit
33b16be0a4
@ -202,7 +202,12 @@ class AnonymousFavePlugin extends Plugin
|
||||
'class' => 'notice-tally'
|
||||
)
|
||||
);
|
||||
$out->raw(sprintf(_m("favored %d times"), $tally->count));
|
||||
$out->elementStart('span', array('class' => 'fave-tally-title'));
|
||||
$out->raw(sprintf(_m("Favored")));
|
||||
$out->elementEnd('span');
|
||||
$out->elementStart('span', array('class' => 'fave-tally'));
|
||||
$out->raw($tally->count);
|
||||
$out->elementEnd('span');
|
||||
$out->elementEnd('div');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user