MDL-76242 core_contentbank: Hide/show unlisted content

This commit is contained in:
Daniel Neis Araujo 2022-11-08 17:18:14 -03:00
parent 554a790bf0
commit 92e10322d4
10 changed files with 120 additions and 6 deletions

View file

@ -58,11 +58,19 @@
{{#dropdown}}
{{>core_contentbank/bankcontent/toolbar_dropdown}}
{{/dropdown}}
{{^dropdown}}
{{#button}}
<a href="{{ link }}" class="icon-no-margin btn btn-secondary text-nowrap" title="{{ name }}" data-action="{{ action }}">
{{#pix}} {{{ icon }}} {{/pix}} {{{ name }}}
</a>
{{/dropdown}}
{{/button}}
{{#checkbox}}
<div class="mr-3 align-middle pt-1 text-nowrap">
<input type="checkbox" id="{{ id }}" class="{{ class }}" name="{{ name }}"
data-action="{{ action }}" {{#checked}}checked="checked"{{/checked}}>
<label for="{{ id }}">{{ label }}</label>
</div>
{{/checkbox}}
{{/tools}}
<button class="icon-no-margin btn btn-secondary {{^viewlist}}active{{/viewlist}} ml-2"
title="{{#str}} displayicons, contentbank {{/str}}"