Changeset 33
- Timestamp:
- 03/01/07 22:09:05 (3 years ago)
- Location:
- veekun/trunk/templates
- Files:
-
- 6 modified
-
dex/page/pokemon.tt (modified) (1 diff)
-
forum/common.tt (modified) (1 diff)
-
forum/index.tt (modified) (1 diff)
-
forum/view.tt (modified) (1 diff)
-
index.tt (modified) (4 diffs)
-
shoutbox.tt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
veekun/trunk/templates/dex/page/pokemon.tt
r22 r33 265 265 <p>Also remember that any gendered Pokémon can breed with <a href="[% dex_uri('pokemon', 'ditto') %]">Ditto</a>.</p> 266 266 <p>[ <a href="[% tmp = this.breed2 ? [ this.breed1, this.breed2 ] : this.breed1; c.uri('Dex::Search', 'pokemon_search', { breed_mode => 'or', breed => tmp, baseform => 'on' }) %]">baseform Pokémon that can breed with [% this.name %]</a> (equivalent to this list); <a href="[% c.uri('Dex::Search', 'pokemon_search', { breed_mode => 'or', breed => tmp }) %]">all Pokémon that can breed with [% this.name %]</a> ]</p> 267 [% breedables_ct = 0 %] 267 268 [% WHILE (pokemon = breedables_rs.next) %] 268 269 <a href="[% dex_uri('pokemon', PokemonNames.${pokemon.id}) %]" class="dex-pokelist[% pokemon.gender == 255 ? ' genderless' : '' %]"><img src="/dex-images/icons/[% pokemon.id.pad(3) %].png" alt="[% PokemonNames.${pokemon.id} %]" title="[% PokemonNames.${pokemon.id} %]"/></a> 269 [% END %] 270 <div class="total">[% breedables.size %] families total</div> 270 [% breedables_ct = breedables_ct + 1 %] 271 [% END %] 272 <div class="total">[% breedables_ct %] families total</div> 271 273 [% END %] 272 274 -
veekun/trunk/templates/forum/common.tt
r24 r33 60 60 61 61 [% BLOCK show_announcements %][%# announcements_rs %] 62 [% RETURN UNLESS announcements_rs.first %] 63 [% CALL announcements_rs.reset %] 62 [% RETURN IF announcements_rs.is_empty %] 64 63 <h2>Announcements</h2> 65 64 [% INCLUDE threads_start -%] -
veekun/trunk/templates/forum/index.tt
r29 r33 10 10 [% forum_flags %] 11 11 [% INCLUDE forums_start %] 12 [% IF NOT forums_rs.first%]12 [% IF forums_rs.is_empty %] 13 13 [% INCLUDE forums_message message='Either no forums exist, or all existing forums are blocked from your view.' %] 14 14 [% ELSE %] 15 [% CALL forums_rs.reset %]16 15 [% WHILE (f = forums_rs.next) %] 17 16 [% NEXT IF f.accessibility == 'hidden' AND NOT c.can_i('override_forum_hidden', f.id) %] -
veekun/trunk/templates/forum/view.tt
r24 r33 13 13 [% forum_flags %] 14 14 [% INCLUDE threads_start %] 15 [% IF NOT threads_rs.first%]15 [% IF threads_rs.is_empty %] 16 16 [% INCLUDE threads_message message='Either no threads exist, or all existing threads are blocked from your view.' %] 17 17 [% ELSE %] 18 [% CALL threads_rs.reset %]19 18 [% WHILE (t = threads_rs.next) %] 20 19 [% INCLUDE threads_each thread=t %] -
veekun/trunk/templates/index.tt
r24 r33 41 41 </div> 42 42 [% END %] 43 [% IF !recent_news.size%]44 No newsposts found.43 [% IF recent_news.is_empty %] 44 <p> No newsposts found. </p> 45 45 [% END %] 46 46 </div> … … 56 56 [% last_user = u %] 57 57 [% END %] 58 [% IF !recent_users.size%]59 Nobody has been on in a while.58 [% IF recent_users.is_empty %] 59 <p> Nobody has been on in a while. </p> 60 60 [% END -%] 61 61 </p> … … 84 84 </div> 85 85 [% END %] 86 [% IF !recent_shouts.size%]87 Shoutbox is empty.86 [% IF recent_shouts.is_empty %] 87 <p> Shoutbox is empty. </p> 88 88 [% END %] 89 89 [%# TODO: permissions here would be nice I suppose~ %] … … 122 122 </div> 123 123 [% END %] 124 [% IF !recent_art.size%]125 Nothing in the gallery.124 [% IF recent_art.is_empty %] 125 <p> Nothing in the gallery. </p> 126 126 [% END %] 127 127 </div> -
veekun/trunk/templates/shoutbox.tt
r22 r33 1 1 [% PROCESS common.tt %] 2 2 3 [% IF !shouts.size%]3 [% IF shouts_rs.is_empty %] 4 4 <p>There are no shoutbox entries.</p> 5 5 [% RETURN %]
