]> asedeno.scripts.mit.edu Git - bluechips.git/blobdiff - bluechips/templates/base.mako
Drop the superfluous id=None query args
[bluechips.git] / bluechips / templates / base.mako
index fe328ad50c76c1f368cd9f65bf5f6bef848bf255..0fa65cf7c75abc4cd275cc6ca74a437bfaef4241 100644 (file)
             </h1>
           </td>
           <td>
-            <a href="${h.url_for(controller='status', action='index', id=None)}">
+            <a href="${h.url_for(controller='status', action='index')}">
               <img src="${request.script_name}/icons/status.png" alt="">
               <span>Dashboard</span>
             </a>
           </td>
           <td>
-            <a href="${h.url_for(controller='spend', action='index', id=None)}">
+            <a href="${h.url_for(controller='spend', action='index')}">
               <img src="${request.script_name}/icons/spend.png" alt="">
               <span>Expense</span>
             </a>
           </td>
           <td>
-            <a href="${h.url_for(controller='transfer', action='index', id=None)}">
+            <a href="${h.url_for(controller='transfer', action='index')}">
               <img src="${request.script_name}/icons/transfer.png" alt="">
               <span>Transfer</span>
             </a>
           </td>
           <td>
-            <a href="${h.url_for(controller='history', action='index', id=None)}">
+            <a href="${h.url_for(controller='history', action='index')}">
               <img src="${request.script_name}/icons/history.png" alt="">
               <span>History</span>
             </a>
           </td>
           <td>
-            <a href="${h.url_for(controller='user', action='index', id=None)}">
+            <a href="${h.url_for(controller='user', action='index')}">
               <img src="${request.script_name}/icons/user.png" alt="">
               <span>User</span>
             </a>
@@ -62,7 +62,7 @@
       </table>
     </div>
     % for message in h.flash.pop_messages():
-      <div class="flash">${message | n}</div>
+      <div class="flash">${str(message) | n}</div>
     % endfor
     <div id="content">
       ${next.body()}