diff options
Diffstat (limited to 'client/html')
| -rw-r--r-- | client/html/posts_header.tpl | 7 | ||||
| -rw-r--r-- | client/html/posts_page.tpl | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/client/html/posts_header.tpl b/client/html/posts_header.tpl index e0ba0ea..d1422d2 100644 --- a/client/html/posts_header.tpl +++ b/client/html/posts_header.tpl @@ -28,4 +28,11 @@ %><a href class='mousetrap button append close'>Stop editing safety</a><% %></form><% %><% } %><% + %><% if (ctx.canBulkDelete) { %><% + %><form class='horizontal bulk-edit bulk-edit-delete'><% + %><a href class='mousetrap button append open'>Mass delete</a><% + %><input class='mousetrap start' type='submit' value='Delete selected posts'/><% + %><a href class='mousetrap button append close'>Stop deleting</a><% + %></form><% + %><% } %><% %></div> diff --git a/client/html/posts_page.tpl b/client/html/posts_page.tpl index 7836278..52011ad 100644 --- a/client/html/posts_page.tpl +++ b/client/html/posts_page.tpl @@ -50,6 +50,10 @@ <% } %> </span> <% } %> + <% if (ctx.canBulkDelete && ctx.parameters && ctx.parameters.delete) { %> + <a href class='delete-flipper'> + </a> + <% } %> </span> </li> <% } %> |