mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix(tests): bad merge, linting
This commit is contained in:
@@ -175,7 +175,6 @@ const NOTIFICATIONS = {
|
|||||||
label: $t => `${$t('achievement')}: ${$t('achievementAridAuthority')}`,
|
label: $t => `${$t('achievement')}: ${$t('achievementAridAuthority')}`,
|
||||||
modalId: 'generic-achievement',
|
modalId: 'generic-achievement',
|
||||||
},
|
},
|
||||||
<<<<<<< HEAD:website/client/src/components/notifications.vue
|
|
||||||
ACHIEVEMENT_PARTY_UP: {
|
ACHIEVEMENT_PARTY_UP: {
|
||||||
achievement: true,
|
achievement: true,
|
||||||
label: $t => `${$t('achievement')}: ${$t('achievementPartyUp')}`,
|
label: $t => `${$t('achievement')}: ${$t('achievementPartyUp')}`,
|
||||||
@@ -213,7 +212,6 @@ const NOTIFICATIONS = {
|
|||||||
modalText: $t => $t('triadBingoAchievement'),
|
modalText: $t => $t('triadBingoAchievement'),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
=======
|
|
||||||
ACHIEVEMENT_MONSTER_MAGUS: {
|
ACHIEVEMENT_MONSTER_MAGUS: {
|
||||||
achievement: true,
|
achievement: true,
|
||||||
label: ($t) => `${$t('achievement')}: ${$t('achievementMonsterMagus')}`,
|
label: ($t) => `${$t('achievement')}: ${$t('achievementMonsterMagus')}`,
|
||||||
@@ -224,7 +222,6 @@ const NOTIFICATIONS = {
|
|||||||
label: ($t) => `${$t('achievement')}: ${$t('achievementUndeadUndertaker')}`,
|
label: ($t) => `${$t('achievement')}: ${$t('achievementUndeadUndertaker')}`,
|
||||||
modalId: 'generic-achievement',
|
modalId: 'generic-achievement',
|
||||||
},
|
},
|
||||||
>>>>>>> release:website/client/components/notifications.vue
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -279,14 +276,9 @@ export default {
|
|||||||
'ULTIMATE_GEAR_ACHIEVEMENT', 'REBIRTH_ACHIEVEMENT', 'GUILD_JOINED_ACHIEVEMENT',
|
'ULTIMATE_GEAR_ACHIEVEMENT', 'REBIRTH_ACHIEVEMENT', 'GUILD_JOINED_ACHIEVEMENT',
|
||||||
'CHALLENGE_JOINED_ACHIEVEMENT', 'INVITED_FRIEND_ACHIEVEMENT', 'NEW_CONTRIBUTOR_LEVEL',
|
'CHALLENGE_JOINED_ACHIEVEMENT', 'INVITED_FRIEND_ACHIEVEMENT', 'NEW_CONTRIBUTOR_LEVEL',
|
||||||
'CRON', 'SCORED_TASK', 'LOGIN_INCENTIVE', 'ACHIEVEMENT_ALL_YOUR_BASE', 'ACHIEVEMENT_BACK_TO_BASICS',
|
'CRON', 'SCORED_TASK', 'LOGIN_INCENTIVE', 'ACHIEVEMENT_ALL_YOUR_BASE', 'ACHIEVEMENT_BACK_TO_BASICS',
|
||||||
<<<<<<< HEAD:website/client/src/components/notifications.vue
|
|
||||||
'GENERIC_ACHIEVEMENT', 'ACHIEVEMENT_PARTY_UP', 'ACHIEVEMENT_PARTY_ON', 'ACHIEVEMENT_BEAST_MASTER',
|
'GENERIC_ACHIEVEMENT', 'ACHIEVEMENT_PARTY_UP', 'ACHIEVEMENT_PARTY_ON', 'ACHIEVEMENT_BEAST_MASTER',
|
||||||
'ACHIEVEMENT_MOUNT_MASTER', 'ACHIEVEMENT_TRIAD_BINGO', 'ACHIEVEMENT_DUST_DEVIL', 'ACHIEVEMENT_ARID_AUTHORITY',
|
'ACHIEVEMENT_MOUNT_MASTER', 'ACHIEVEMENT_TRIAD_BINGO', 'ACHIEVEMENT_DUST_DEVIL', 'ACHIEVEMENT_ARID_AUTHORITY',
|
||||||
=======
|
'ACHIEVEMENT_MONSTER_MAGUS', 'ACHIEVEMENT_UNDEAD_UNDERTAKER', 'GENERIC_ACHIEVEMENT',
|
||||||
'ACHIEVEMENT_DUST_DEVIL', 'ACHIEVEMENT_ARID_AUTHORITY',
|
|
||||||
'ACHIEVEMENT_MONSTER_MAGUS', 'ACHIEVEMENT_UNDEAD_UNDERTAKER',
|
|
||||||
'GENERIC_ACHIEVEMENT',
|
|
||||||
>>>>>>> release:website/client/components/notifications.vue
|
|
||||||
].forEach(type => {
|
].forEach(type => {
|
||||||
handledNotifications[type] = true;
|
handledNotifications[type] = true;
|
||||||
});
|
});
|
||||||
@@ -685,16 +677,13 @@ export default {
|
|||||||
case 'ACHIEVEMENT_BACK_TO_BASICS':
|
case 'ACHIEVEMENT_BACK_TO_BASICS':
|
||||||
case 'ACHIEVEMENT_DUST_DEVIL':
|
case 'ACHIEVEMENT_DUST_DEVIL':
|
||||||
case 'ACHIEVEMENT_ARID_AUTHORITY':
|
case 'ACHIEVEMENT_ARID_AUTHORITY':
|
||||||
<<<<<<< HEAD:website/client/src/components/notifications.vue
|
|
||||||
case 'ACHIEVEMENT_PARTY_UP':
|
case 'ACHIEVEMENT_PARTY_UP':
|
||||||
case 'ACHIEVEMENT_PARTY_ON':
|
case 'ACHIEVEMENT_PARTY_ON':
|
||||||
case 'ACHIEVEMENT_BEAST_MASTER':
|
case 'ACHIEVEMENT_BEAST_MASTER':
|
||||||
case 'ACHIEVEMENT_MOUNT_MASTER':
|
case 'ACHIEVEMENT_MOUNT_MASTER':
|
||||||
case 'ACHIEVEMENT_TRIAD_BINGO':
|
case 'ACHIEVEMENT_TRIAD_BINGO':
|
||||||
=======
|
|
||||||
case 'ACHIEVEMENT_MONSTER_MAGUS':
|
case 'ACHIEVEMENT_MONSTER_MAGUS':
|
||||||
case 'ACHIEVEMENT_UNDEAD_UNDERTAKER':
|
case 'ACHIEVEMENT_UNDEAD_UNDERTAKER':
|
||||||
>>>>>>> release:website/client/components/notifications.vue
|
|
||||||
case 'GENERIC_ACHIEVEMENT':
|
case 'GENERIC_ACHIEVEMENT':
|
||||||
this.showNotificationWithModal(notification);
|
this.showNotificationWithModal(notification);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -2,7 +2,8 @@ import { authWithHeaders } from '../../middlewares/auth';
|
|||||||
|
|
||||||
const api = {};
|
const api = {};
|
||||||
|
|
||||||
// @TODO export this const, cannot export it from here because only routes are exported from controllers
|
// @TODO export this const, cannot export it from here because only routes are exported from
|
||||||
|
// controllers
|
||||||
const LAST_ANNOUNCEMENT_TITLE = 'NEW PET COLLECTION BADGES!';
|
const LAST_ANNOUNCEMENT_TITLE = 'NEW PET COLLECTION BADGES!';
|
||||||
const worldDmg = { // @TODO
|
const worldDmg = { // @TODO
|
||||||
bailey: false,
|
bailey: false,
|
||||||
@@ -35,8 +36,12 @@ api.getNews = {
|
|||||||
</div>
|
</div>
|
||||||
<hr/>
|
<hr/>
|
||||||
<div class="promo_zombie_achievements center-block"></div>
|
<div class="promo_zombie_achievements center-block"></div>
|
||||||
<p>We're releasing a new achievement so you can celebrate your successes in the world of Habitican pet collecting! Earn the Monster Magus and Undead Undertaker achievements by collecting Zombie pets and mounts and you'll earn a nifty badge for your profile.</p>
|
<p>We're releasing a new achievement so you can celebrate your successes in the world of
|
||||||
<p>If you already have all the Zombie pets and/or mounts in your stable, you'll receive the badge automatically! Check your profile and celebrate your new achievement with pride.</p>
|
Habitican pet collecting! Earn the Monster Magus and Undead Undertaker achievements by
|
||||||
|
collecting Zombie pets and mounts and you'll earn a nifty badge for your profile.</p>
|
||||||
|
<p>If you already have all the Zombie pets and/or mounts in your stable, you'll receive
|
||||||
|
the badge automatically! Check your profile and celebrate your new achievement with
|
||||||
|
pride.</p>
|
||||||
<div class="small mb-3">By OuttaMyMind and SabreCat</div>
|
<div class="small mb-3">By OuttaMyMind and SabreCat</div>
|
||||||
</div>
|
</div>
|
||||||
`,
|
`,
|
||||||
|
|||||||
Reference in New Issue
Block a user