]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Add map_id to map_index template.
authorAnt Zucaro <azucaro@gmail.com>
Fri, 29 Mar 2013 23:19:41 +0000 (19:19 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Fri, 29 Mar 2013 23:19:41 +0000 (19:19 -0400)
xonstat/templates/map_index.mako

index cd90904936b642f01c412bf60bfb854e23c56429..d6fd85e633048773c3578ff697193087763e6553 100644 (file)
@@ -23,11 +23,13 @@ Map Index
     </form>
     <table class="table table-hover table-condensed">
       <tr>
+        <th style="width:70px;">ID</th>
         <th>Name</th>
         <th>Added</th>
       </tr>
     % for map in maps:
       <tr>
+        <td>${map.map_id}</td>
         <td><a href="${request.route_url("map_info", id=map.map_id)}" title="Go to this map's info page">${map.name}</a></th>
         <td><span class="abstime" data-epoch="${map.epoch()}" title="${map.create_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${map.fuzzy_date()}</span></td>
     </td>