]> asedeno.scripts.mit.edu Git - bluechips.git/blobdiff - bluechips/templates/user/index.mako
We have pie charts.
[bluechips.git] / bluechips / templates / user / index.mako
index c2932525a3bb42aa14f4c77bce41d24e3eff4a2d..272699d2cc336278d29798c13a4cf230f265a505 100644 (file)
@@ -1,14 +1,10 @@
 <%inherit file="/base.mako"/>
 
-<h2>Email Notifications</h2>
+<h2>User Settings</h2>
 
-<p>Enter an email address below if you wish to be notified of any updates to transactions involving you. Leave blank to not receive notifications.</p>
-<form action="${h.url_for(controller='user', action='update')}" method="post">
-  <table class="form">
-    <tr>
-      <th><label for="new_email">Email</label></th>
-      <td>${h.text('new_email', request.environ['user'].email, size=48)}</td>
-      <td><input type="submit" value="Update" /></td>
-    </tr>
-  </table>
-</form>
+<ul>
+  <li><a href="${h.url_for(controller='user', action='email')}">Set e-mail address</a></li>
+% if request.environ['user'].resident:
+  <li><a href="${h.url_for(controller='user', action='new')}">Register a new user</a></li>
+% endif
+</ul>