about summary refs log tree commit diff stats
path: root/app/views
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-10-13 11:19:40 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-10-13 11:19:40 -0400
commit5e3fd8096624fc06f70da2218949590d4b1bb045 (patch)
tree027c3f2dca9fa7fe3e4974d22c8afdc367fec6ad /app/views
parent5956609f70c72a26f64f9b8ec8b3d6d780ba5c2d (diff)
downloadpokeviewer-5e3fd8096624fc06f70da2218949590d4b1bb045.tar.gz
pokeviewer-5e3fd8096624fc06f70da2218949590d4b1bb045.tar.bz2
pokeviewer-5e3fd8096624fc06f70da2218949590d4b1bb045.zip
Added shiny star
Diffstat (limited to 'app/views')
-rw-r--r--app/views/pokeviewer/pokemon/show.html.haml5
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