Skip to content

Commit 785e4c2

Browse files
committed
Removed space.category screen references
1 parent 5d33860 commit 785e4c2

File tree

4 files changed

+659
-668
lines changed

4 files changed

+659
-668
lines changed

embed/bindata.go

+658-658
Large diffs are not rendered by default.

gui/app/pods/folder/settings/controller.js

-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ export default Controller.extend(NotifierMixin, {
2424
this.set('tab', view);
2525
},
2626

27-
onCategories() {
28-
this.get('router').transitionTo('folder.category');
29-
},
30-
3127
onRefresh() {
3228
this.get('target._routerMicrolib').refresh();
3329
}

gui/app/templates/components/document/settings-meta.hbs

-5
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@
3333
{{ui/ui-list-picker items=categories nameField='category' singleSelect=false}}
3434
{{#unless selectedCategories}}
3535
<p class="text-danger">This space has no categories defined yet.</p>
36-
{{#if canAddCategory}}
37-
<p>
38-
{{#link-to 'folder.category' space.id space.slug class="btn btn-secondary font-weight-bold"}}Manage categories{{/link-to}}
39-
</p>
40-
{{/if}}
4136
{{/unless}}
4237

4338
<button type="submit" class="btn btn-success text-uppercase font-weight-bold mt-5" {{action "onSave"}}>Save</button>

gui/app/templates/components/folder/space-view.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
{{#if spaceSettings}}
3131
<div class="text-center {{if (gt categories.length 0) 'mt-4'}}">
32-
{{#link-to 'folder.category' space.id space.slug class="btn btn-secondary font-weight-bold"}}{{categoryLinkName}}{{/link-to}}
32+
{{#link-to 'folder.settings' space.id space.slug class="btn btn-secondary font-weight-bold"}}{{categoryLinkName}}{{/link-to}}
3333
</div>
3434
{{/if}}
3535
</div>

0 commit comments

Comments
 (0)