mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
new client router changes: rename guild.vue to group.vue and GuildPage to GroupPage (#8957)
* change challenge creation button to "Add Challenge Tasks" * router changes: rename guild.vue to group.vue and GuildPage to GroupPage
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
.col-12.text-center.submit-button-wrapper
|
.col-12.text-center.submit-button-wrapper
|
||||||
.alert.alert-warning(v-if='insufficientGemsForTavernChallenge')
|
.alert.alert-warning(v-if='insufficientGemsForTavernChallenge')
|
||||||
You do not have enough gems to create a Tavern challenge
|
You do not have enough gems to create a Tavern challenge
|
||||||
button.btn.btn-primary(v-once, v-if='creating', @click='createChallenge()') {{$t('createChallenge')}}
|
button.btn.btn-primary(v-once, v-if='creating', @click='createChallenge()') {{$t('createChallengeAddTasks')}}
|
||||||
button.btn.btn-primary(v-once, v-if='!creating', @click='updateChallenge()') {{$t('updateChallenge')}}
|
button.btn.btn-primary(v-once, v-if='!creating', @click='updateChallenge()') {{$t('updateChallenge')}}
|
||||||
.col-12.text-center
|
.col-12.text-center
|
||||||
p(v-once) {{$t('challengeMinimum')}}
|
p(v-once) {{$t('challengeMinimum')}}
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ const GuildIndex = () => import(/* webpackChunkName: "guilds" */ './components/g
|
|||||||
const TavernPage = () => import(/* webpackChunkName: "guilds" */ './components/groups/tavern');
|
const TavernPage = () => import(/* webpackChunkName: "guilds" */ './components/groups/tavern');
|
||||||
const MyGuilds = () => import(/* webpackChunkName: "guilds" */ './components/groups/myGuilds');
|
const MyGuilds = () => import(/* webpackChunkName: "guilds" */ './components/groups/myGuilds');
|
||||||
const GuildsDiscoveryPage = () => import(/* webpackChunkName: "guilds" */ './components/groups/discovery');
|
const GuildsDiscoveryPage = () => import(/* webpackChunkName: "guilds" */ './components/groups/discovery');
|
||||||
const GuildPage = () => import(/* webpackChunkName: "guilds" */ './components/groups/guild');
|
const GroupPage = () => import(/* webpackChunkName: "guilds" */ './components/groups/group');
|
||||||
const GroupPlansAppPage = () => import(/* webpackChunkName: "guilds" */ './components/groups/groupPlan');
|
const GroupPlansAppPage = () => import(/* webpackChunkName: "guilds" */ './components/groups/groupPlan');
|
||||||
|
|
||||||
// Group Plans
|
// Group Plans
|
||||||
@@ -124,7 +124,7 @@ const router = new VueRouter({
|
|||||||
{ name: 'time', path: 'time', component: TimeTravelersPage },
|
{ name: 'time', path: 'time', component: TimeTravelersPage },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{ name: 'party', path: '/party', component: GuildPage },
|
{ name: 'party', path: '/party', component: GroupPage },
|
||||||
{ name: 'groupPlan', path: '/group-plans', component: GroupPlansAppPage },
|
{ name: 'groupPlan', path: '/group-plans', component: GroupPlansAppPage },
|
||||||
{
|
{
|
||||||
name: 'groupPlanDetail',
|
name: 'groupPlanDetail',
|
||||||
@@ -141,7 +141,7 @@ const router = new VueRouter({
|
|||||||
{
|
{
|
||||||
name: 'groupPlanDetailInformation',
|
name: 'groupPlanDetailInformation',
|
||||||
path: '/group-plans/:groupId/information',
|
path: '/group-plans/:groupId/information',
|
||||||
component: GuildPage,
|
component: GroupPage,
|
||||||
props: true,
|
props: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -164,7 +164,7 @@ const router = new VueRouter({
|
|||||||
{
|
{
|
||||||
name: 'guild',
|
name: 'guild',
|
||||||
path: 'guild/:groupId',
|
path: 'guild/:groupId',
|
||||||
component: GuildPage,
|
component: GroupPage,
|
||||||
props: true,
|
props: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
"notParticipating": "Not Participating",
|
"notParticipating": "Not Participating",
|
||||||
"either": "Either",
|
"either": "Either",
|
||||||
"createChallenge": "Create Challenge",
|
"createChallenge": "Create Challenge",
|
||||||
|
"createChallengeAddTasks": "Add Challenge Tasks",
|
||||||
"discard": "Discard",
|
"discard": "Discard",
|
||||||
"challengeTitle": "Challenge Title",
|
"challengeTitle": "Challenge Title",
|
||||||
"challengeTag": "Tag Name",
|
"challengeTag": "Tag Name",
|
||||||
|
|||||||
Reference in New Issue
Block a user