Changeset 459 for veekun/trunk/templates

Show
Ignore:
Timestamp:
10/06/08 01:32:38 (18 months ago)
Author:
eevee
Message:

Fixed old contest schema references that are no longer valid and were breaking the move search. (#362)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • veekun/trunk/templates/dex/common.tt

    r411 r459  
    5656    <td class="type"><img src="/dex-images/gameui/[% move.contest_type %].png" alt="[% move.contest_type %]" title="[% move.contest_type %]"/></td> 
    5757    <td class="contest"> 
    58         [% move.contest.appeal %] 
    59 [% FOR x IN [ 1 .. move.contest.appeal ] %] 
    60         <img src="/dex-images/gameui/appeal.png" alt="[% this.contest.appeal %]" title="[% this.contest.appeal %]"/> 
     58        [% move.contest_effect.appeal %] 
     59[% FOR x IN [ 1 .. move.contest_effect.appeal ] %] 
     60        <img src="/dex-images/gameui/appeal.png" alt="[% this.contest_effect.appeal %]" title="[% this.contest_effect.appeal %]"/> 
    6161[% END %] 
    6262    </td> 
    6363    <td class="contest"> 
    64         [% move.contest.jam %] 
    65 [% FOR x IN [ 1 .. move.contest.jam ] %] 
    66         <img src="/dex-images/gameui/jam.png" alt="[% this.contest.jam %]" title="[% this.contest.jam %]"/> 
     64        [% move.contest_effect.jam %] 
     65[% FOR x IN [ 1 .. move.contest_effect.jam ] %] 
     66        <img src="/dex-images/gameui/jam.png" alt="[% this.contest_effect.jam %]" title="[% this.contest_effect.jam %]"/> 
    6767[% END %] 
    6868    </td> 
    69     <td class="blurb"> [% move.contest.effect %] </td> 
     69    <td class="blurb"> [% move.contest_effect.description %] </td> 
    7070[%+ END %] 
    7171