]> asedeno.scripts.mit.edu Git - bluechips.git/blobdiff - bluechips/templates/base.mako
added a 'My Share' column to lists of expenditures
[bluechips.git] / bluechips / templates / base.mako
index 23e32f1469ac123eaa7c0e4c5ab670bd3528b8b3..49476f16bbb8d8cda609071b3a298b24874e91fb 100644 (file)
@@ -76,6 +76,7 @@
       <th class="user">Spender</th>
       <th class="description">Description</th>
       <th class="amount">Amount</th>
+      <th class="share">My Share</th>
       <th class="editlink"></th>
     </tr>
     % for e in es:
@@ -90,6 +91,7 @@
         <td class="user">${formatUser(e.spender)}</td>
         <td class="description">${e.description}</td>
         <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>
       </tr>
     % endfor