Browse Source

#410: added move/merge to moderation dropdown

Rafał Pitoń 10 years ago
parent
commit
cbfea2dc23
1 changed files with 14 additions and 0 deletions
  1. 14 0
      misago/threads/views/generic/forum.py

+ 14 - 0
misago/threads/views/generic/forum.py

@@ -63,6 +63,20 @@ class ForumActions(Actions):
                 'name': _("Approve threads")
                 'name': _("Approve threads")
             })
             })
 
 
+        if self.forum.acl['can_move_threads']:
+            actions.append({
+                'action': 'move',
+                'icon': 'arrow-right',
+                'name': _("Move threads")
+            })
+
+        if self.forum.acl['can_merge_threads']:
+            actions.append({
+                'action': 'merge',
+                'icon': 'reply-all',
+                'name': _("Merge threads")
+            })
+
         if self.forum.acl['can_close_threads']:
         if self.forum.acl['can_close_threads']:
             actions.append({
             actions.append({
                 'action': 'open',
                 'action': 'open',