about summary refs log tree commit diff stats
path: root/app/views
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-09-25 00:05:38 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-09-25 00:05:38 -0400
commita65972d34188d14dca10193950732d506d931e8c (patch)
tree2212ac8682f97f07751370a898ad651af8b64a5b /app/views
parentb0dee0af0a4235eb9756532e807db5c8b701ce45 (diff)
downloadpokeviewer-a65972d34188d14dca10193950732d506d931e8c.tar.gz
pokeviewer-a65972d34188d14dca10193950732d506d931e8c.tar.bz2
pokeviewer-a65972d34188d14dca10193950732d506d931e8c.zip
Added met location data
Note that the met location for Pokémon from Orre is completely
incorrect.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/pokeviewer/pokemon/show.html.haml49
1 files changed, 29 insertions, 20 deletions
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 @@
7 .pokemon-ot 7 .pokemon-ot
8 OT/ 8 OT/
9 %span{ class: @pokemon.ot_gender }>= @pokemon.ot_name 9 %span{ class: @pokemon.ot_gender }>= @pokemon.ot_name
10 .pokemon-id= "ID/#{@pokemon.ot_number}" 10 .pokemon-id= "ID/#{@pokemon.display_ot_number}"
11 .pokemon-level= "Lv. #{@pokemon.revisions.last.level}" 11 .pokemon-level= "Lv. #{@pokemon.revisions.last.level}"
12 %table.pokemon-ivs 12 .pokemon-memo
13 %tr 13 .pd-details Trainer Memo
14 %th HP 14 .pd-contents
15 %td= @pokemon.revisions.last.hp 15 %p
16 %tr 16 %span.pokemon-nature<= @pokemon.nature.titlecase
17 %th Attack 17 nature.
18 %td= @pokemon.revisions.last.attack 18 %p= @pokemon.display_met
19 %tr 19 .pokemon-stats
20 %th Defense 20 .pd-details Stats
21 %td= @pokemon.revisions.last.defense 21 %table.pd-contents
22 %tr 22 %tr
23 %th Sp. Atk 23 %th HP
24 %td= @pokemon.revisions.last.special_attack 24 %td= @pokemon.revisions.last.hp
25 %tr 25 %tr
26 %th Sp. Def 26 %th Attack
27 %td= @pokemon.revisions.last.special_defense 27 %td= @pokemon.revisions.last.attack
28 %tr 28 %tr
29 %th Speed 29 %th Defense
30 %td= @pokemon.revisions.last.speed 30 %td= @pokemon.revisions.last.defense
31 %tr
32 %th Sp. Atk
33 %td= @pokemon.revisions.last.special_attack
34 %tr
35 %th Sp. Def
36 %td= @pokemon.revisions.last.special_defense
37 %tr
38 %th Speed
39 %td= @pokemon.revisions.last.speed