X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonstat.git;a=blobdiff_plain;f=xonstat%2Ftemplates%2Fmap_index.mako;h=0dc12111a158713f42d396921f7bc5368715dfbb;hp=481b9a8d292ed00536f3b8ac4889b5907b4ddc30;hb=9c717036ae008b2592158f5376f5693347ed0c68;hpb=2d53f7f9232b23ada761231482262392cf72192c diff --git a/xonstat/templates/map_index.mako b/xonstat/templates/map_index.mako index 481b9a8..0dc1211 100644 --- a/xonstat/templates/map_index.mako +++ b/xonstat/templates/map_index.mako @@ -1,6 +1,5 @@ <%inherit file="base.mako"/> <%namespace name="nav" file="nav.mako" /> -<%namespace file="navlinks.mako" import="navlinks" /> <%block name="navigation"> ${nav.nav('maps')} @@ -10,8 +9,11 @@ Map Index -% if not maps: -

Sorry, no maps yet. Get playing!

+% if not maps and last is not None: +

Sorry, no more maps!

+ +% elif not maps: +

Sorry, no maps yet. Get playing!

% else:
@@ -53,8 +55,18 @@ % endfor - - ${navlinks("map_index", maps.page, maps.last_page)} + % if len(maps) == 20: +
+
+ +
+
+ % endif +
% endif