Changeset 441 for veekun/trunk/lib

Show
Ignore:
Timestamp:
05/27/08 02:37:10 (22 months ago)
Author:
eevee
Message:

Changed the default Pokemon search view to table. (#318)

Location:
veekun/trunk/lib/Vee/Controller/Dex
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • veekun/trunk/lib/Vee/Controller/Dex/Search.pm

    r406 r441  
    5959    evo_stage    => { type => 'checkbox', options => ['base', 'final'] }, 
    6060 
    61     view        => { type => 'select', options => [[ list => 'boring list' ], [ icons => "small compact icons" ], [ sprites => "sprites" ], [ table => "detailed table" ]], title => 'Select how you want the results displayed' }, 
     61    view        => { type => 'select', options => [[ list => 'boring list' ], [ icons => "small compact icons" ], [ sprites => "sprites" ], [ table => "detailed table" ]], default => 'table', title => 'Select how you want the results displayed' }, 
    6262    sort        => { type => 'select', options => [[ id => 'National ID' ], [ name => 'Name' ], [ height => 'Height' ], [ weight => 'Weight' ], ( map { [ $StatColumns[$_] => $StatNames[$_] ] } 0 .. $#StatColumns ), [ stat_avg => 'Average stats' ] ], default => 'name', title => 'Select how you want the results ordered' }, 
    6363    sort_desc   => { type => 'checkbox', title => 'Check this for descending order' }, 
  • veekun/trunk/lib/Vee/Controller/Dex/Utils.pm

    r433 r441  
    258258    move         => { type => 'text', count => 1, class => 'js-dexsuggest js-dexsuggest-move', }, 
    259259 
    260     detail_level => { type => 'radio', options => [1..3], value => 1, }, 
     260    detail_level => { type => 'radio', options => [1..3], default => 1, }, 
    261261}; 
    262262