mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
Show jump list to other space documents
Closes #219 Jump to documents within space when viewing a document.
This commit is contained in:
parent
bc9dab72f2
commit
c65eb97948
26 changed files with 341 additions and 235 deletions
|
@ -23,6 +23,10 @@ export default Controller.extend(Notifier, {
|
|||
tab: 'general',
|
||||
|
||||
actions: {
|
||||
onBack() {
|
||||
this.get('router').transitionTo('document.index');
|
||||
},
|
||||
|
||||
onTab(view) {
|
||||
this.set('tab', view);
|
||||
},
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
<Layout::MasterNavigation />
|
||||
<Layout::MasterToolbar>
|
||||
<div class="zone-1">
|
||||
{{#link-to "document.index"}}
|
||||
{{ui/ui-button themed=true uppercase=false icon=constants.Icon.ArrowLeft label=model.document.name}}
|
||||
{{/link-to}}
|
||||
{{#ui/ui-toolbar dark=false light=false raised=false large=false bordered=false}}
|
||||
{{ui/ui-toolbar-button themed=true uppercase=false
|
||||
icon=constants.Icon.ArrowLeft label=model.document.name onClick=(action "onBack")}}
|
||||
{{/ui/ui-toolbar}}
|
||||
</div>
|
||||
<div class="zone-2" />
|
||||
<div class="zone-3" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue