From 7e478caaf6ae37f0479601ffa4cd957364075211 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Sat, 2 Aug 2008 11:16:47 +0200 Subject: [PATCH] No point in showing previous link if we're at the start --- root/src/rankings/alliances.tt2 | 4 ++-- root/src/rankings/galaxies.tt2 | 4 ++-- root/src/rankings/planets.tt2 | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/root/src/rankings/alliances.tt2 b/root/src/rankings/alliances.tt2 index 8c95a4c..8f78fbb 100644 --- a/root/src/rankings/alliances.tt2 +++ b/root/src/rankings/alliances.tt2 @@ -1,5 +1,5 @@ [% META title = 'Alliance Rankings' %] -

Previous 100 +

[% IF offset > 0 %]Previous 100[% END %] Next 100

@@ -35,6 +35,6 @@ [% END %]
-

Previous 100 +

[% IF offset > 0 %]Previous 100[% END %] Next 100

diff --git a/root/src/rankings/galaxies.tt2 b/root/src/rankings/galaxies.tt2 index 869a3e6..8f0c00c 100644 --- a/root/src/rankings/galaxies.tt2 +++ b/root/src/rankings/galaxies.tt2 @@ -1,5 +1,5 @@ [% META title = 'Galaxy Rankings' %] -

Previous 100 +

[% IF offset > 0 %]Previous 100[% END %] Next 100

@@ -41,6 +41,6 @@ [% END %]
-

Previous 100 +

[% IF offset > 0 %]Previous 100[% END %] Next 100

diff --git a/root/src/rankings/planets.tt2 b/root/src/rankings/planets.tt2 index a631abe..a58ae6f 100644 --- a/root/src/rankings/planets.tt2 +++ b/root/src/rankings/planets.tt2 @@ -1,5 +1,5 @@ [% META title = 'Planet Rankings' %] -

Previous 100 +

[% IF offset > 0 %]Previous 100[% END %] Next 100

@@ -54,6 +54,6 @@ [% END %]
-

Previous 100 +

[% IF offset > 0 %]Previous 100[% END %] Next 100

-- 2.39.2