<%inherit file="base.mako"/>\r
<%namespace file="scoreboard.mako" import="scoreboard" />\r
+<%namespace file="navlinks.mako" import="navlinks" />\r
\r
<%block name="title">\r
Game Index - ${parent.title()}\r
${scoreboard(game.game_type_cd, pgstats[game.game_id])}\r
</div>\r
% endfor\r
+\r
+<!-- navigation links -->\r
+${navlinks("game_index_paged", games.page, games.last_page)}\r
+\r
</div><!-- #recent-games-list -->\r
% endif\r
\r
-% if games.previous_page:\r
-<a href="${request.route_url("game_index_paged", page=games.previous_page)}" name="Previous Page">Previous</a>\r
-% endif\r
-% if games.next_page:\r
-<a href="${request.route_url("game_index_paged", page=games.next_page)}" name="Next Page">Next</a>\r
-% endif\r
<%inherit file="base.mako"/>\r
+<%namespace file="navlinks.mako" import="navlinks" />\r
\r
<%block name="title">\r
Map Index - ${parent.title()}\r
</table>\r
% endif\r
\r
-% if maps.previous_page:\r
-<a href="${request.route_url("map_index_paged", page=maps.previous_page)}" name="Previous Page">Previous</a>\r
-% endif\r
-% if maps.next_page:\r
-<a href="${request.route_url("map_index_paged", page=maps.next_page)}" name="Next Page">Next</a>\r
-% endif\r
+<!-- navigation links -->\r
+${navlinks("map_index_paged", maps.page, maps.last_page)}\r
<%inherit file="base.mako"/>\r
+<%namespace file="navlinks.mako" import="navlinks" />\r
\r
<%block name="title">\r
Map Index - ${parent.title()}\r
</table>\r
% endif\r
\r
-% if servers.previous_page:\r
-<a href="${request.route_url("server_index_paged", page=servers.previous_page)}" name="Previous Page">Previous</a>\r
-% endif\r
-% if servers.next_page:\r
-<a href="${request.route_url("server_index_paged", page=servers.next_page)}" name="Next Page">Next</a>\r
-% endif\r
+<!-- navigation links -->\r
+${navlinks("server_index_paged", servers.page, servers.last_page)}\r