2013-05-25 10:57:20 +03:00
|
|
|
{**
|
|
|
|
* Тулбар
|
|
|
|
* Кнопка обновления комментариев
|
|
|
|
*}
|
|
|
|
|
2015-02-17 16:40:18 +02:00
|
|
|
{component 'toolbar' template='item'
|
2015-03-20 18:35:35 +02:00
|
|
|
classes = "{$smarty.local.classes} js-comments-toolbar"
|
2015-02-17 16:40:18 +02:00
|
|
|
mods = 'comments'
|
|
|
|
buttons = [
|
|
|
|
[
|
|
|
|
classes => 'toolbar-comments-update js-toolbar-comments-update',
|
|
|
|
attributes => [ 'title' => {lang 'comments.comment.count_new'} ],
|
|
|
|
icon => 'comment-update'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
classes => 'js-toolbar-comments-count',
|
|
|
|
attributes => [ 'title' => {lang 'comments.comment.count_new'} ],
|
2015-03-20 18:35:35 +02:00
|
|
|
text => '0'
|
2015-02-17 16:40:18 +02:00
|
|
|
]
|
|
|
|
]}
|