Changeset 400 for veekun/trunk
- Timestamp:
- 01/23/08 03:15:15 (11 months ago)
- Location:
- veekun/trunk
- Files:
-
- 2 modified
-
lib/Vee/Controller/Dex.pm (modified) (1 diff)
-
templates/dex/page/ability.tt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
veekun/trunk/lib/Vee/Controller/Dex.pm
r394 r400 319 319 $s->{this} = $row; 320 320 $s->{generation} = $row->id <= 76 ? 2 : 3; # TODO: better 321 322 $s->{pokemon} = [ 323 $row->pokemon(undef, { distinct => 1, order_by => 'name' }) 324 ]; 321 325 } 322 326 -
veekun/trunk/templates/dex/page/ability.tt
r320 r400 37 37 </tr> 38 38 [% pokemon_ct = 0 %] 39 [% FOR poke IN this.pokemon %]39 [% FOR poke IN pokemon %] 40 40 <tr class="color[% pokemon_ct % 2 + 1 %]"><td class="nametree"><a href="[% dex_uri('pokemon', poke.name) %]" class="dex-pokelist"><img src="/dex-images/icons/[% poke.id.pad(3) %].png" alt=""/> [% poke.name %]</a></td>[% pokemon_cells(poke) %]</tr> 41 41 [% pokemon_ct = pokemon_ct + 1 %]
