123456789101112131415161718192021222324252627282930313233343536373839 |
- {% include app.template_style ~ '/glossary/header.tpl' %}
- {% include app.template_style ~ '/glossary/javascript.tpl' %}
- <div class="btn-toolbar actions-bar" >
- {% if is_allowed_to_edit %}
- <div class="btn-group edit">
- <a href="{{root}}&action=add" class=" glossary btn" title="{{'Add'|get_lang}}">
- <i class="size-32 icon-new-glossary-term"></i>
- </a>
- <a href="{{root}}&action=import_csv" class="btn import_csv" title="{{'ImportCSV'|get_lang}}">
- <i class="size-32 icon-import-csv"></i>
- </a>
- <a href="{{root}}&action=export_csv" class="btn export_csv" title="{{'ExportAsCSV'|get_lang}}">
- <i class="size-32 icon-export-csv"></i>
- </a>
- <a href="javascript:void(0)" onclick="ui.remove_by_course('entries', this);return false;" class="btn delete_all" title="{{'DeleteAll'|get_lang}}">
- <i class="size-32 icon-delete-all"></i>
- </a>
- </div>
- {% endif %}
- <div class="btn-group edit">
- {% if view == 'table' %}
- <a href="{{root}}&view=list" class="btn" title="{{'ViewList'|get_lang}}">
- <i class="size-32 icon-view-text"></i>
- </a>
- {% else %}
- <a href="{{root}}&view=table" class="btn" title="{{'ViewTable'|get_lang}}">
- <i class="size-32 icon-view-detailed"></i>
- </a>
- {% endif %}
- </div>
- </div>
- {% if view == 'table' %}
- {% include app.template_style ~ '/glossary/table.tpl' %}
- {% else %}
- {% include app.template_style ~ '/glossary/list.tpl' %}
- {% endif %}
|