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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarco Ambrosini <marcoambrosini@icloud.com>2022-08-26 17:22:13 +0300
committerMarco Ambrosini <marcoambrosini@icloud.com>2022-08-26 17:22:13 +0300
commit8f45fd68a115df4d9ff6f7edb2f814ddc2e55c43 (patch)
treef1cb9d04b0ffc0ef6ac4562c318c094df0738268 /src
parent9361be27390baafa62fda625c00b2ea18dfd2abb (diff)
Fix buttons
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue
index 8b4d112ab..27fbb86c2 100644
--- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue
+++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue
@@ -88,9 +88,15 @@
</div>
<div class="poll__modal-actions">
- <!-- create poll button-->
+ <!-- Submit vote button-->
<NcButton type="primary" :disabled="!canSubmitVote" @click="submitVote">
- {{ t('spreed', 'Submit') }}
+ {{ t('spreed', 'Submit vote') }}
+ </NcButton>
+ <!-- End poll button-->
+ <NcButton v-if="canEndPoll"
+ type="error"
+ @click="endPoll">
+ {{ t('spreed', 'End poll') }}
</NcButton>
</div>
</template>
@@ -134,7 +140,7 @@
@click="modalPage = 'voting'">
{{ t('spreed', 'Change your vote') }}
</NcButton>
- <!-- create poll button-->
+ <!-- End poll button-->
<NcButton v-if="canEndPoll"
type="error"
@click="endPoll">