diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/pokeviewer/pokemon/show.html.haml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/pokeviewer/pokemon/show.html.haml b/app/views/pokeviewer/pokemon/show.html.haml index f3568fb..0daabb0 100644 --- a/app/views/pokeviewer/pokemon/show.html.haml +++ b/app/views/pokeviewer/pokemon/show.html.haml | |||
@@ -6,7 +6,10 @@ | |||
6 | %span.pokemon-gender{ class: @pokemon.gender }= @pokemon.gender_symbol | 6 | %span.pokemon-gender{ class: @pokemon.gender }= @pokemon.gender_symbol |
7 | .pokemon-level= "Lv. #{@pokemon.revisions.last.level}" | 7 | .pokemon-level= "Lv. #{@pokemon.revisions.last.level}" |
8 | .pokemon-image | 8 | .pokemon-image |
9 | .pokemon-image-wrap= image_tag @pokemon.sprite_path | 9 | .pokemon-image-wrap |
10 | = image_tag @pokemon.sprite_path, class: "pokemon-sprite" | ||
11 | - if @pokemon.shiny? | ||
12 | = image_tag "pokeviewer/ShinyIVStar.png", class: "pkv-shiny-star" | ||
10 | - if @pokemon.revisions.last.item.nil? | 13 | - if @pokemon.revisions.last.item.nil? |
11 | .pokemon-item-label Item | 14 | .pokemon-item-label Item |
12 | .pokemon-item None | 15 | .pokemon-item None |