1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-27 17:19:42 +02:00
documize/gui/app/templates/components/document/settings-category.hbs

20 lines
481 B
Handlebars
Raw Normal View History

{{layout/logo-heading
2022-03-09 15:20:16 -05:00
title=(localize 'categories')
desc=(localize 'doc_category_explain')
icon=constants.Icon.Category}}
{{#if categories}}
{{ui/ui-list-picker items=categories nameField="category" singleSelect=false}}
<Ui::UiSpacer @size="300" />
{{ui/ui-button
color=constants.Color.Green
icon=constants.Icon.Category
2022-03-01 22:40:51 -05:00
label=(localize 'save')
light=true
onClick=(action "onSave")}}
{{else}}
2022-03-09 15:20:16 -05:00
<p class="color-green-700">{{localize 'category_none'}}</p>
{{/if}}