X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=xonstat%2Ftemplates%2Fmap_captimes.mako;h=09b6caca99b403625db70d825dd96c52fd466c1a;hb=7f6f392ab5ba354be8fae0cb3cb288728df1a84e;hp=4fc0ec59a53558cf77a81e28bc43a8c5c17a445e;hpb=e25f7224d32a6c46d7c43c728121e95e6a321580;p=xonotic%2Fxonstat.git diff --git a/xonstat/templates/map_captimes.mako b/xonstat/templates/map_captimes.mako index 4fc0ec5..09b6cac 100644 --- a/xonstat/templates/map_captimes.mako +++ b/xonstat/templates/map_captimes.mako @@ -1,47 +1,58 @@ <%inherit file="base.mako"/> <%namespace name="nav" file="nav.mako" /> +<%namespace file="navlinks.mako" import="navlinks" /> -<%block name="title"> -Map captimes +<%block name="navigation"> + ${nav.nav('maps')} +<%block name="title"> + Map captimes + -
-
- -

${map.name}

-

Back to map info page

- -

Fastest Flag Captures:

- - - - - - - - - - - - - % for ct in captimes: - - - - - - - % endfor - -
GameCaptimeNickServerDate
view${ct.fastest_cap.total_seconds()} seconds - % if ct.player_id > 2: - ${ct.player_nick_html|n} - % else: - ${rg.nick_html_colors|n} - % endif - ${ct.server_name}${ct.create_dt_fuzzy}
- +% if len(captimes) == 0: +

Sorry, no caps yet. Get playing!

+

Back to map info page

+ +% else: +
+
+ +

${map.name}

+

Back to map info page

+ +
Fastest Flag Captures:
+ + + + + + + + + + + + + % for ct in captimes.items: + + + + + + + % endfor + +
GameCaptimeNickServerDate
view${ct.fastest_cap.total_seconds()} seconds + % if ct.player_id > 2: + ${ct.player_nick_html|n} + % else: + ${rg.nick_html_colors|n} + % endif + ${ct.server_name}${ct.create_dt_fuzzy}
+
-
+ + ${navlinks("map_captimes", captimes.page, captimes.last_page, id=map_id, search_query=request.GET)} +% endif