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:
authordartcafe <github@dartcafe.de>2020-04-04 08:08:47 +0300
committerdartcafe <github@dartcafe.de>2020-04-04 08:08:47 +0300
commit388541716a982040053ec7c6a426c52d8cc4d06a (patch)
treeabbe447774e1ae07643fa4a05015e35e47d6039a /src/js/views/PollList.vue
parent8712fbce2e30b7cd92b405f6d612301969976ade (diff)
Add filter for expired polls
Diffstat (limited to 'src/js/views/PollList.vue')
-rw-r--r--src/js/views/PollList.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/js/views/PollList.vue b/src/js/views/PollList.vue
index 07f5e808..4c350fad 100644
--- a/src/js/views/PollList.vue
+++ b/src/js/views/PollList.vue
@@ -93,6 +93,8 @@ export default {
return t('polls', 'My deleted polls')
} else if (this.$route.params.type === 'participated') {
return t('polls', 'Participated by me')
+ } else if (this.$route.params.type === 'expired') {
+ return t('polls', 'Expired polls')
} else {
return t('polls', 'All polls')
}
@@ -102,7 +104,7 @@ export default {
if (this.$route.params.type === 'my') {
return t('polls', 'This are your polls (where you are the owner).')
} else if (this.$route.params.type === 'relevant') {
- return t('polls', 'This are all polls which are relevant or importand to you, because you are a participant or the owner or you are invited to.')
+ return t('polls', 'This are all polls which are relevant or important to you, because you are a participant or the owner or you are invited to.')
} else if (this.$route.params.type === 'public') {
return t('polls', 'A complete list with all public polls on this site, regardless who is the owner.')
} else if (this.$route.params.type === 'hidden') {
@@ -111,6 +113,8 @@ export default {
return t('polls', 'This is simply the trash bin.')
} else if (this.$route.params.type === 'participated') {
return t('polls', 'All polls, where you placed a vote.')
+ } else if (this.$route.params.type === 'expired') {
+ return t('polls', 'Polls which reached their expiry date.')
} else {
return t('polls', 'All polls, where you have access to.')
}