Bulk action: set visibility

Added 2 buttons when link checkboxes are checked to set them either public or private.

Related to  
This commit is contained in:
ArthurHoaro 2019-02-09 17:59:53 +01:00
parent 905f8675a7
commit 8d03f705eb
4 changed files with 85 additions and 1 deletions
tpl/default

View file

@ -118,7 +118,18 @@
<div id="actions" class="subheader-form">
<div class="pure-g">
<div class="pure-u-1">
<a href="" id="actions-delete" class="button">{'Delete'|t}</a>
<a href="" id="actions-delete" class="button">
<i class="fa fa-trash"></i>
{'Delete'|t}
</a>&nbsp;
<a href="" class="actions-change-visibility button" data-visibility="public">
<i class="fa fa-globe"></i>
{'Set public'|t}
</a>&nbsp;
<a href="" class="actions-change-visibility button" data-visibility="private">
<i class="fa fa-user-secret"></i>
{'Set private'|t}
</a>
</div>
</div>
</div>