mirror of
https://github.com/documize/community.git
synced 2025-07-22 06:39:43 +02:00
Removed space.category screen references
This commit is contained in:
parent
5d33860a15
commit
785e4c245d
4 changed files with 659 additions and 668 deletions
1316
embed/bindata.go
1316
embed/bindata.go
File diff suppressed because one or more lines are too long
|
@ -24,10 +24,6 @@ export default Controller.extend(NotifierMixin, {
|
|||
this.set('tab', view);
|
||||
},
|
||||
|
||||
onCategories() {
|
||||
this.get('router').transitionTo('folder.category');
|
||||
},
|
||||
|
||||
onRefresh() {
|
||||
this.get('target._routerMicrolib').refresh();
|
||||
}
|
||||
|
|
|
@ -33,11 +33,6 @@
|
|||
{{ui/ui-list-picker items=categories nameField='category' singleSelect=false}}
|
||||
{{#unless selectedCategories}}
|
||||
<p class="text-danger">This space has no categories defined yet.</p>
|
||||
{{#if canAddCategory}}
|
||||
<p>
|
||||
{{#link-to 'folder.category' space.id space.slug class="btn btn-secondary font-weight-bold"}}Manage categories{{/link-to}}
|
||||
</p>
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
|
||||
<button type="submit" class="btn btn-success text-uppercase font-weight-bold mt-5" {{action "onSave"}}>Save</button>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
{{#if spaceSettings}}
|
||||
<div class="text-center {{if (gt categories.length 0) 'mt-4'}}">
|
||||
{{#link-to 'folder.category' space.id space.slug class="btn btn-secondary font-weight-bold"}}{{categoryLinkName}}{{/link-to}}
|
||||
{{#link-to 'folder.settings' space.id space.slug class="btn btn-secondary font-weight-bold"}}{{categoryLinkName}}{{/link-to}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue