Twitter: Add rule name to each schedule box

This commit is contained in:
Matt Isenhower
2017-09-21 14:42:46 -07:00
parent 3c3f7ea2c6
commit ac763a5c54

View File

@@ -1,6 +1,19 @@
<template>
<div v-if="schedule">
<h3 class="title is-3 font-splatoon1 has-text-centered">{{ schedule.game_mode.name }}</h3>
<h3 class="title is-3 font-splatoon1 has-text-centered">
{{ schedule.game_mode.name }}
</h3>
<h5 class="subtitle is-4 font-splatoon2 has-text-centered" style="margin-top: -1rem">
<div class="image is-32x32" style="margin-bottom: -8px; display: inline-block">
<img v-if="schedule.game_mode.key == 'regular'" src="~@/img/battle-regular.png" />
<img v-if="schedule.game_mode.key == 'gachi'" src="~@/img/battle-ranked.png" />
<img v-if="schedule.game_mode.key == 'league'" src="~@/img/battle-league.png" />
</div>
{{ schedule.rule.name }}
</h5>
<Stage :stage="schedule.stage_a"></Stage>
<Stage :stage="schedule.stage_b"></Stage>
</div>