Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/components/VoteTable/VoteTable.vue')
-rw-r--r--src/js/components/VoteTable/VoteTable.vue12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/js/components/VoteTable/VoteTable.vue b/src/js/components/VoteTable/VoteTable.vue
index d16e98eb..c04fd29b 100644
--- a/src/js/components/VoteTable/VoteTable.vue
+++ b/src/js/components/VoteTable/VoteTable.vue
@@ -36,7 +36,7 @@
</ActionButton>
</Actions>
</UserItem>
-
+ <div v-if="acl.allowAddOptions" class="owner" />
<div v-if="acl.allowEdit && closed" class="confirm" />
</div>
@@ -55,7 +55,7 @@
:class="{currentuser: participant.userId === acl.userId}">
<VoteItem :user-id="participant.userId" :option="option" />
</div>
-
+ <OptionItemOwner v-if="acl.allowAddOptions" :option="option" class="owner" />
<Actions v-if="acl.allowEdit && closed" class="action confirm">
<ActionButton v-if="closed" :icon="option.confirmed ? 'icon-polls-confirmed' : 'icon-polls-unconfirmed'"
@click="confirmOption(option)">
@@ -85,6 +85,7 @@ import ButtonDiv from '../Base/ButtonDiv'
import CalendarPeek from '../Calendar/CalendarPeek'
import Counter from '../Options/Counter'
import Confirmation from '../Options/Confirmation'
+import OptionItemOwner from '../Options/OptionItemOwner'
import UserMenu from '../User/UserMenu'
import VoteItem from './VoteItem'
import VoteTableHeaderItem from './VoteTableHeaderItem'
@@ -103,6 +104,7 @@ export default {
UserMenu,
VoteTableHeaderItem,
VoteItem,
+ OptionItemOwner,
},
mixins: [confirmOption],
@@ -195,6 +197,12 @@ export default {
order: 20;
}
+ .owner {
+ display: flex;
+ height: 56px;
+ order: 19;
+ }
+
.spacer {
flex: 1;
order: 1;