diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/pokeviewer/pokemon/show.html.haml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/pokeviewer/pokemon/show.html.haml b/app/views/pokeviewer/pokemon/show.html.haml index e90148e..9e892a7 100644 --- a/app/views/pokeviewer/pokemon/show.html.haml +++ b/app/views/pokeviewer/pokemon/show.html.haml | |||
@@ -88,3 +88,13 @@ | |||
88 | .pkv-hover | 88 | .pkv-hover |
89 | .pc-data-name= ribbon[:name] | 89 | .pc-data-name= ribbon[:name] |
90 | = ribbon[:description] | 90 | = ribbon[:description] |
91 | .pokemon-etc | ||
92 | .pd-details Misc | ||
93 | - unless @pokemon.revisions.last.item.nil? | ||
94 | .pd-hold-item.pkv-has-hover | ||
95 | = image_tag(@pokemon.revisions.last.item.icon_path) | ||
96 | .pkv-hover | ||
97 | .pc-data-name= @pokemon.revisions.last.item.name | ||
98 | - if @pokemon.revisions.last.item.tm? | ||
99 | .pc-move-name= @pokemon.revisions.last.item.move.name | ||
100 | = @pokemon.revisions.last.item.description(@pokemon.trainer.game) | ||