refactor: modal-move-page -> vue component

This commit is contained in:
NGPixel
2017-05-26 22:23:05 -04:00
parent 62e7ea5b2b
commit 3cb53bd1d5
11 changed files with 107 additions and 160 deletions

View File

@@ -11,8 +11,8 @@ mixin tocMenu(ti)
block rootNavRight
loading-spinner
.nav-item
if rights.write
a.button.is-outlined.btn-move-prompt.is-hidden
if rights.write && pageData.meta.path !== 'home'
a.button.is-outlined(v-on:click='$store.dispatch("modalMovePage/open")')
i.icon-shuffle
span= t('nav.move')
a.button.is-outlined(href='/source/' + pageData.meta.path)
@@ -82,4 +82,5 @@ block content
!= pageData.html
modal-create-page(basepath=pageData.meta.path)
modal-move-page(current-path=pageData.meta.path)
anchor