X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Fsrc%2Frankings%2Fgalaxies.tt2;h=c5edc2cd196f53c44e47804fedb2297f952e8a9c;hb=31684a2875d8b342c7007faa8f564de2f26dc14e;hp=869a3e6c2ff2962b8be0557e3165e3f6d1dbd713;hpb=f9f06136c85f9634c409b71e18452c358530556e;p=ndwebbie.git diff --git a/root/src/rankings/galaxies.tt2 b/root/src/rankings/galaxies.tt2 index 869a3e6..c5edc2c 100644 --- a/root/src/rankings/galaxies.tt2 +++ b/root/src/rankings/galaxies.tt2 @@ -1,6 +1,6 @@ [% META title = 'Galaxy Rankings' %] -

Previous 100 - Next 100 +

[% IF offset > 0 %]Previous 100[% END %] + [% IF galaxies.size == 100 %]Next 100[% END %]

@@ -29,18 +29,18 @@ [% g.planetsimg = (g.planets_gain_day == 0 ? 'stay' : (g.planets_gain_day > 0 ? 'up' : 'down')) %] - + [% g.sizeimg = (g.size_gain_day == 0 ? 'stay' : (g.size_gain_day > 0 ? 'up' : 'down')) %] - + [% g.scoreimg = (g.score_gain_day == 0 ? 'stay' : (g.score_gain_day > 0 ? 'up' : 'down')) %] - + [% g.valueimg = (g.value_gain_day == 0 ? 'stay' : (g.value_gain_day > 0 ? 'up' : 'down')) %] - + [% g.xpimg = (g.xp_gain_day == 0 ? 'stay' : (g.xp_gain_day > 0 ? 'up' : 'down')) %] - + [% END %]
Rank[% g.xprank %] [% g.xprankimg %] [% g.x %]:[% g.y %][% comma(g.planets) %] [% g.planetsimg %] [% g.planets | commify %] [% g.planetsimg %] [% comma(g.size) %] [% g.sizeimg %] [% g.size | commify %] [% g.sizeimg %] [% comma(g.score) %] [% g.scoreimg %] [% g.score | commify %] [% g.scoreimg %] [% comma(g.value) %] [% g.valueimg %] [% g.value | commify %] [% g.valueimg %] [% comma(g.xp) %] [% g.xpimg %] [% g.xp | commify %] [% g.xpimg %]
-

Previous 100 - Next 100 +

[% IF offset > 0 %]Previous 100[% END %] + [% IF galaxies.size == 100 %]Next 100[% END %]