new client various fixes: all users now see challenge progress, changes to create strings, etc (#9078)

* adjust how User > Profile is referred to

* change "Create" to "Add Task" in a Challenge's page

* remove commented-out code for making a Group Plan cost Gems (there should be no Gem cost)

* split 'create' locales string into multiple strings for different purposes

- Allows text to be changed individually for each purpose.
- Assists translators in determining the best translation.
- Makes it easier to find locations in code for each string.

* remove "public" option for Group Plan creation modal

* allow all users to see challenge participant progress
This commit is contained in:
Alys
2017-09-26 22:44:49 +10:00
committed by GitHub
parent a68b02d403
commit d70ff4e5a3
10 changed files with 17 additions and 21 deletions

View File

@@ -28,7 +28,7 @@
.svg-icon.gem-icon(v-html="icons.gemIcon")
| {{challenge.prize}}
.details(v-once) {{$t('prize')}}
.row.leader-actions(v-if='isLeader')
.row.challenge-actions
.col-7.offset-5
span.view-progress
strong {{ $t('viewProgressOf') }}
@@ -36,7 +36,7 @@
b-dropdown-item(v-for="member in members", :key="member._id", @click="openMemberProgressModal(member._id)")
| {{ member.profile.name }}
span(v-if='isLeader')
b-dropdown.create-dropdown(:text="$t('create')", :variant="'success'")
b-dropdown.create-dropdown(:text="$t('addTaskToChallenge')", :variant="'success'")
b-dropdown-item(v-for="type in columns", :key="type", @click="createTask(type)")
| {{$t(type)}}
task-modal(
@@ -156,7 +156,7 @@
margin-top: 2em;
}
.leader-actions {
.challenge-actions {
margin-top: 1em;
.view-progress {