mirror of
https://github.com/documize/community.git
synced 2025-07-25 08:09:43 +02:00
Specify default categories for new documents
Closes #339 All new documents will be assigned default categories. Documents created from templates that already have categories take precedence.
This commit is contained in:
parent
5c1ad25dc9
commit
f117e91bcb
18 changed files with 1284 additions and 1134 deletions
|
@ -55,6 +55,11 @@
|
|||
<div class="form-group">
|
||||
{{focus-input id="edit-category-name" type="text" class="form-control mousetrap" placeholder="Category name" value=editName}}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Default</label>
|
||||
{{x-toggle value=editDefault size="medium" theme="light" onToggle=(action (mut editDefault))}}
|
||||
<small class="form-text text-muted">Automatically aplies to newly created documents</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
{{ui/ui-button color=constants.Color.Gray light=true label=constants.Label.Close dismiss=true}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue