|
@@ -25,15 +25,18 @@ class ForumActions(Actions):
|
|
if forum.acl['can_change_threads_weight'] == 2:
|
|
if forum.acl['can_change_threads_weight'] == 2:
|
|
actions.append({
|
|
actions.append({
|
|
'action': 'announce',
|
|
'action': 'announce',
|
|
|
|
+ 'icon': 'star',
|
|
'name': _("Change to announcements")
|
|
'name': _("Change to announcements")
|
|
})
|
|
})
|
|
if forum.acl['can_change_threads_weight']:
|
|
if forum.acl['can_change_threads_weight']:
|
|
actions.append({
|
|
actions.append({
|
|
'action': 'pin',
|
|
'action': 'pin',
|
|
|
|
+ 'icon': 'bookmark',
|
|
'name': _("Change to pinned")
|
|
'name': _("Change to pinned")
|
|
})
|
|
})
|
|
actions.append({
|
|
actions.append({
|
|
'action': 'reset',
|
|
'action': 'reset',
|
|
|
|
+ 'icon': 'circle',
|
|
'name': _("Reset weight")
|
|
'name': _("Reset weight")
|
|
})
|
|
})
|
|
return actions
|
|
return actions
|