mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 11:26:41 +02:00
MDL-76242 core_contentbank: Hide/show unlisted content
This commit is contained in:
parent
554a790bf0
commit
92e10322d4
10 changed files with 120 additions and 6 deletions
|
@ -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}}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue