]> asedeno.scripts.mit.edu Git - bluechips.git/blobdiff - bluechips/templates/base.mako
Merge branch 'master' into mobile_interface
[bluechips.git] / bluechips / templates / base.mako
index e44a9ee148441d25e668f784c9d19de33091e955..8ad40aa4ede7e1db41a14497dfbfabf397f29dd9 100644 (file)
@@ -22,7 +22,7 @@
           </td>
           <td>
             <a href="${h.url_for(controller='status', action='index', id=None)}">
-              <img src="/icons/dashboard.png" alt="">
+              <img src="/icons/status.png" alt="">
               <span>Dashboard</span>
             </a>
           </td>
@@ -88,6 +88,7 @@
       <th class="amount">Amount</th>
       <th class="share">My Share</th>
       <th class="editlink"></th>
+      <th class="deletelink"></th>
     </tr>
     % for e in es:
       <%
         <td class="amount">${e.amount}</td>
         <td class="share">${e.share(request.environ['user'])}</td>
         <td class="editlink">${h.link_to('Edit', h.url_for(controller='spend', action='edit', id=e.id))}</td>
+        <td class="deletelink">${h.link_to('Delete', h.url_for(controller='spend', action='delete', id=e.id))}</td>
       </tr>
     % endfor
   </table>
       <th class="description">Description</th>
       <th class="amount">Amount</th>
       <th class="editlink"></th>
+      <th class="deletelink"></th>
     </tr>
     % for t in ts:
       <%
         <td class="description">${t.description}</td>
         <td class="amount">${t.amount}</td>
         <td class="editlink">${h.link_to('Edit', h.url_for(controller='transfer', action='edit', id=t.id))}</td>
+        <td class="deletelink">${h.link_to('Delete', h.url_for(controller='transfer', action='delete', id=t.id))}</td>
       </tr>
     % endfor
   </table>