@@ -38,13 +38,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-if="board" class="board-actions">
|
<div v-if="board" class="board-actions">
|
||||||
<div id="stack-add">
|
<div id="stack-add">
|
||||||
<form>
|
<form @submit.prevent="clickAddNewStack()">
|
||||||
<label for="new-stack-input-main" class="hidden-visually">Add a new stack</label>
|
<label for="new-stack-input-main" class="hidden-visually">Add a new stack</label>
|
||||||
<input id="new-stack-input-main" v-model="newStackTitle" type="text"
|
<input id="new-stack-input-main" v-model="newStackTitle" type="text"
|
||||||
class="no-close"
|
class="no-close"
|
||||||
placeholder="Add a new stack" @keyup.enter="clickAddNewStack()">
|
placeholder="Add a new stack">
|
||||||
<input class="icon-confirm" type="button" title="Submit"
|
<input v-tooltip="t('deck', 'clickAddNewStack')" class="icon-confirm" type="submit"
|
||||||
@click="clickAddNewStack()">
|
value="">
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="board-action-buttons">
|
<div class="board-action-buttons">
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
<ActionButton icon="icon-user" @click="assignCardToMe()">{{ t('deck', 'Assign to me') }}</ActionButton>
|
<ActionButton icon="icon-user" @click="assignCardToMe()">{{ t('deck', 'Assign to me') }}</ActionButton>
|
||||||
<ActionButton icon="icon-archive" @click="archiveUnarchiveCard()">{{ t('deck', (showArchived ? 'Unarchive card' : 'Archive card')) }}</ActionButton>
|
<ActionButton icon="icon-archive" @click="archiveUnarchiveCard()">{{ t('deck', (showArchived ? 'Unarchive card' : 'Archive card')) }}</ActionButton>
|
||||||
<ActionButton icon="icon-delete" @click="deleteCard()">{{ t('deck', 'Delete card') }}</ActionButton>
|
<ActionButton icon="icon-delete" @click="deleteCard()">{{ t('deck', 'Delete card') }}</ActionButton>
|
||||||
<ActionButton icon="icon-settings-dark" @click="setCurrentCard()">{{ t('deck', 'Card details') }}</ActionButton>
|
<ActionButton icon="icon-settings-dark" @click="openCard">{{ t('deck', 'Card details') }}</ActionButton>
|
||||||
</Actions>
|
</Actions>
|
||||||
|
|
||||||
</transition>
|
</transition>
|
||||||
@@ -132,11 +132,7 @@ export default {
|
|||||||
this.copiedCard = Object.assign({}, this.card)
|
this.copiedCard = Object.assign({}, this.card)
|
||||||
this.copiedCard.newUserUid = this.card.owner.uid
|
this.copiedCard.newUserUid = this.card.owner.uid
|
||||||
this.$store.dispatch('assignCardToUser', this.copiedCard)
|
this.$store.dispatch('assignCardToUser', this.copiedCard)
|
||||||
},
|
|
||||||
setCurrentCard() {
|
|
||||||
this.$store.dispatch('setCurrentCard', this.card)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user