diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/pokeviewer/pokemon/index.html.haml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/pokeviewer/pokemon/index.html.haml b/app/views/pokeviewer/pokemon/index.html.haml index 436f48a..7cee27a 100644 --- a/app/views/pokeviewer/pokemon/index.html.haml +++ b/app/views/pokeviewer/pokemon/index.html.haml | |||
@@ -27,3 +27,16 @@ | |||
27 | .pc-data-ot | 27 | .pc-data-ot |
28 | OT/ | 28 | OT/ |
29 | %span{ class: p.ot_gender }>= p.ot_name | 29 | %span{ class: p.ot_gender }>= p.ot_name |
30 | - if @unaccounted.any? | ||
31 | .trainer | ||
32 | .trainer-info.unaccounted | ||
33 | %h2 Pokémon Not In Any Game | ||
34 | %ul.pokemon-list | ||
35 | - @unaccounted.each do |p| | ||
36 | %li.pc-pokemon | ||
37 | = link_to image_tag(p.icon_path), p | ||
38 | .pc-data | ||
39 | .pc-data-name= p.revisions.last.nickname | ||
40 | .pc-data-ot | ||
41 | OT/ | ||
42 | %span{ class: p.ot_gender }>= p.ot_name | ||