mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix(backgrounds): add 2018 group
This commit is contained in:
@@ -33,7 +33,7 @@ b-modal#avatar-modal(title="", :size='editing ? "lg" : "md"', :hide-header='true
|
|||||||
.svg-icon(v-html='icons.accessoriesIcon')
|
.svg-icon(v-html='icons.accessoriesIcon')
|
||||||
strong(v-once) {{$t('extra')}}
|
strong(v-once) {{$t('extra')}}
|
||||||
.menu-container.col-2(v-if='editing', :class='{active: activeTopPage === "backgrounds"}')
|
.menu-container.col-2(v-if='editing', :class='{active: activeTopPage === "backgrounds"}')
|
||||||
.menu-item(@click='changeTopPage("backgrounds", "2017")')
|
.menu-item(@click='changeTopPage("backgrounds", "2018")')
|
||||||
.svg-icon(v-html='icons.backgroundsIcon')
|
.svg-icon(v-html='icons.backgroundsIcon')
|
||||||
strong(v-once) {{$t('backgrounds')}}
|
strong(v-once) {{$t('backgrounds')}}
|
||||||
#body.section.customize-section(v-if='activeTopPage === "body"')
|
#body.section.customize-section(v-if='activeTopPage === "body"')
|
||||||
@@ -250,13 +250,15 @@ b-modal#avatar-modal(title="", :size='editing ? "lg" : "md"', :hide-header='true
|
|||||||
.incentive-background(:class='[`background_${bg.key}`]')
|
.incentive-background(:class='[`background_${bg.key}`]')
|
||||||
.small-rectangle
|
.small-rectangle
|
||||||
.row.sub-menu.col-10.offset-1
|
.row.sub-menu.col-10.offset-1
|
||||||
|
.col-3.text-center.sub-menu-item(@click='changeSubPage("2018")', :class='{active: activeSubPage === "2018"}')
|
||||||
|
strong(v-once) 2018
|
||||||
.col-3.text-center.sub-menu-item(@click='changeSubPage("2017")', :class='{active: activeSubPage === "2017"}')
|
.col-3.text-center.sub-menu-item(@click='changeSubPage("2017")', :class='{active: activeSubPage === "2017"}')
|
||||||
strong(v-once) 2017
|
strong(v-once) 2017
|
||||||
.col-3.text-center.sub-menu-item(@click='changeSubPage("2016")', :class='{active: activeSubPage === "2016"}')
|
.col-2.text-center.sub-menu-item(@click='changeSubPage("2016")', :class='{active: activeSubPage === "2016"}')
|
||||||
strong(v-once) 2016
|
strong(v-once) 2016
|
||||||
.col-3.text-center.sub-menu-item(@click='changeSubPage("2015")', :class='{active: activeSubPage === "2015"}')
|
.col-2.text-center.sub-menu-item(@click='changeSubPage("2015")', :class='{active: activeSubPage === "2015"}')
|
||||||
strong(v-once) 2015
|
strong(v-once) 2015
|
||||||
.col-3.text-center.sub-menu-item(@click='changeSubPage("2014")', :class='{active: activeSubPage === "2014"}')
|
.col-2.text-center.sub-menu-item(@click='changeSubPage("2014")', :class='{active: activeSubPage === "2014"}')
|
||||||
strong(v-once) 2014
|
strong(v-once) 2014
|
||||||
.row.customize-menu(v-for='(sets, key) in backgroundShopSetsByYear')
|
.row.customize-menu(v-for='(sets, key) in backgroundShopSetsByYear')
|
||||||
.row(v-for='set in sets', v-if='activeSubPage === key')
|
.row(v-for='set in sets', v-if='activeSubPage === key')
|
||||||
@@ -1229,6 +1231,7 @@ export default {
|
|||||||
2015: [],
|
2015: [],
|
||||||
2016: [],
|
2016: [],
|
||||||
2017: [],
|
2017: [],
|
||||||
|
2018: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
// Hack to force update for now until we restructure the data
|
// Hack to force update for now until we restructure the data
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ menu-dropdown.item-user(:right="true")
|
|||||||
a.nav-link.dropdown-item.dropdown-separated(@click.prevent='showInbox()')
|
a.nav-link.dropdown-item.dropdown-separated(@click.prevent='showInbox()')
|
||||||
| {{ $t('messages') }}
|
| {{ $t('messages') }}
|
||||||
message-count(v-if='user.inbox.newMessages > 0', :count="user.inbox.newMessages")
|
message-count(v-if='user.inbox.newMessages > 0', :count="user.inbox.newMessages")
|
||||||
a.dropdown-item(@click='showAvatar("backgrounds", "2017")') {{ $t('backgrounds') }}
|
a.dropdown-item(@click='showAvatar("backgrounds", "2018")') {{ $t('backgrounds') }}
|
||||||
a.dropdown-item(@click='showProfile("stats")') {{ $t('stats') }}
|
a.dropdown-item(@click='showProfile("stats")') {{ $t('stats') }}
|
||||||
a.dropdown-item(@click='showProfile("achievements")') {{ $t('achievements') }}
|
a.dropdown-item(@click='showProfile("achievements")') {{ $t('achievements') }}
|
||||||
a.dropdown-item.dropdown-separated(@click='showProfile("profile")') {{ $t('profile') }}
|
a.dropdown-item.dropdown-separated(@click='showProfile("profile")') {{ $t('profile') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user