]> asedeno.scripts.mit.edu Git - bluechips.git/blobdiff - bluechips/templates/mobile/status/index.mako
Right align total debit/credit on status pages
[bluechips.git] / bluechips / templates / mobile / status / index.mako
index 060d0b80d2c69fe5e005354f527f35e84e30894a..55dc7929cdec29a3c807d7d8ca00348c2240191a 100644 (file)
@@ -21,6 +21,18 @@ ${self.tabs('status')}
           <td class="amount">${transfer[2]}</td>
         </tr>
       % endfor
+      % if c.net != 0:
+        <tr>
+          <th colspan="2">
+            % if c.net > 0:
+              The group owes you:
+            % elif c.net < 0:
+              You owe the group:
+            % endif
+          </th>
+          <th class="amount">${abs(c.net)}</th>
+        </tr>
+      % endif
     </table>
   % endif
 </div>