From a65972d34188d14dca10193950732d506d931e8c Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 25 Sep 2017 00:05:38 -0400 Subject: Added met location data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note that the met location for Pokémon from Orre is completely incorrect. --- app/views/pokeviewer/pokemon/show.html.haml | 49 +++++++++++++++++------------ 1 file changed, 29 insertions(+), 20 deletions(-) (limited to 'app/views') diff --git a/app/views/pokeviewer/pokemon/show.html.haml b/app/views/pokeviewer/pokemon/show.html.haml index a38d641..18a6788 100644 --- a/app/views/pokeviewer/pokemon/show.html.haml +++ b/app/views/pokeviewer/pokemon/show.html.haml @@ -7,24 +7,33 @@ .pokemon-ot OT/ %span{ class: @pokemon.ot_gender }>= @pokemon.ot_name - .pokemon-id= "ID/#{@pokemon.ot_number}" + .pokemon-id= "ID/#{@pokemon.display_ot_number}" .pokemon-level= "Lv. #{@pokemon.revisions.last.level}" - %table.pokemon-ivs - %tr - %th HP - %td= @pokemon.revisions.last.hp - %tr - %th Attack - %td= @pokemon.revisions.last.attack - %tr - %th Defense - %td= @pokemon.revisions.last.defense - %tr - %th Sp. Atk - %td= @pokemon.revisions.last.special_attack - %tr - %th Sp. Def - %td= @pokemon.revisions.last.special_defense - %tr - %th Speed - %td= @pokemon.revisions.last.speed + .pokemon-memo + .pd-details Trainer Memo + .pd-contents + %p + %span.pokemon-nature<= @pokemon.nature.titlecase + nature. + %p= @pokemon.display_met + .pokemon-stats + .pd-details Stats + %table.pd-contents + %tr + %th HP + %td= @pokemon.revisions.last.hp + %tr + %th Attack + %td= @pokemon.revisions.last.attack + %tr + %th Defense + %td= @pokemon.revisions.last.defense + %tr + %th Sp. Atk + %td= @pokemon.revisions.last.special_attack + %tr + %th Sp. Def + %td= @pokemon.revisions.last.special_defense + %tr + %th Speed + %td= @pokemon.revisions.last.speed -- cgit 1.4.1