mirror of
https://github.com/documize/community.git
synced 2025-07-22 14:49:42 +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);
|
this.set('tab', view);
|
||||||
},
|
},
|
||||||
|
|
||||||
onCategories() {
|
|
||||||
this.get('router').transitionTo('folder.category');
|
|
||||||
},
|
|
||||||
|
|
||||||
onRefresh() {
|
onRefresh() {
|
||||||
this.get('target._routerMicrolib').refresh();
|
this.get('target._routerMicrolib').refresh();
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,11 +33,6 @@
|
||||||
{{ui/ui-list-picker items=categories nameField='category' singleSelect=false}}
|
{{ui/ui-list-picker items=categories nameField='category' singleSelect=false}}
|
||||||
{{#unless selectedCategories}}
|
{{#unless selectedCategories}}
|
||||||
<p class="text-danger">This space has no categories defined yet.</p>
|
<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}}
|
{{/unless}}
|
||||||
|
|
||||||
<button type="submit" class="btn btn-success text-uppercase font-weight-bold mt-5" {{action "onSave"}}>Save</button>
|
<button type="submit" class="btn btn-success text-uppercase font-weight-bold mt-5" {{action "onSave"}}>Save</button>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
{{#if spaceSettings}}
|
{{#if spaceSettings}}
|
||||||
<div class="text-center {{if (gt categories.length 0) 'mt-4'}}">
|
<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>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
Loading…
Add table
Add a link
Reference in a new issue