Skip to content

Commit

Permalink
popovers
Browse files Browse the repository at this point in the history
  • Loading branch information
paglias committed May 21, 2017
1 parent 176b2a5 commit 459f61f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/client/components/inventory/equipment.vue
Expand Up @@ -54,7 +54,7 @@
:placement="'top'"
)
span(slot="content")
.popover-content-title {{ $t(drawerPreference+'PopoverText') }}
.popover-content-text {{ $t(drawerPreference+'PopoverText') }}

toggle-switch.float-right(
:label="$t(costume ? 'useCostume' : 'autoEquipBattleGear')",
Expand Down
4 changes: 3 additions & 1 deletion website/client/components/inventory/items.vue
Expand Up @@ -44,7 +44,9 @@
:starVisible="true",
:selected="true",
)
template(slot="popoverContent", scope="ctx") {{ ctx.item.text() }}
template(slot="popoverContent", scope="ctx")
h4.popover-content-title {{ ctx.item.text() }}
popover-content-text {{ ctx.item.notes() }}

div(v-if="items[group.key].length === 0")
p(v-once) {{ $t('noGearItemsOfType', { type: $t(group.key) }) }}
Expand Down

0 comments on commit 459f61f

Please sign in to comment.