akshay has proposed merging lp:~akshayshah/postorius/postorius into 
lp:postorius.

Requested reviews:
  Mailman Coders (mailman-coders)

For more details, see:
https://code.launchpad.net/~akshayshah/postorius/postorius/+merge/254232

added editable profile page
-- 
Your team Mailman Coders is requested to review the proposed merge of 
lp:~akshayshah/postorius/postorius into lp:postorius.
=== modified file 'src/postorius/templates/postorius/user_profile.html'
--- src/postorius/templates/postorius/user_profile.html	2014-10-15 20:59:52 +0000
+++ src/postorius/templates/postorius/user_profile.html	2015-03-26 11:57:14 +0000
@@ -5,37 +5,39 @@
 {% block main %}
     {% include 'postorius/menu/user_nav.html' %}
     <h1>{% trans "User Profile" %} <span>- {{ user }}</span></h1>
-
+    <form action='/postorius/lists/' method='get'>
     <table class="table table-bordered table-striped mm_userData">
     	<tbody>
     		<tr>
-    			<td>{% trans 'Mailman display name' %}</td>
-    			<td>{{ mm_user.display_name}}</td>
+                        <td>{% trans 'Mailman display name' %}</td>
+                        <td><input type='text' name='mailmanDisp' value="{{ mm_user.display_name}}"></input></td>
     		</tr>
     		<tr>
     			<td>{% trans 'User name' %}</td>
-    			<td>{{ user.username}}</td>
+                        <td><input type='text' name='username' value="{{ user.username}}"></input></td>
     		</tr>
     		<tr>
     			<th>{% trans 'First name' %}</th>
-    			<td>&nbsp;</td>
+                        <td><input type='text' name='firstname' /></td>
     		</tr>
     		<tr>
     			<th>{% trans 'Last name' %}</th>
-    			<td>&nbsp;</td>
+                        <td><input type='text' name='lastname' /></td>
     		</tr>
     		<tr>
     			<th>{% trans 'IRC handle' %}</th>
-    			<td>&nbsp;</td>
+                        <td><input type='text' name='irchandle' /></td>
     		</tr>
     		<tr>
     			<th>{% trans 'Website' %}</th>
-    			<td>&nbsp;</td>
+                        <td><input type='text' name='website' /></td>
     		</tr>
     		<tr>
     			<th>{% trans 'Twitter' %}</th>
-    			<td>&nbsp;</td>
+                        <td><input type='text' name='twitter' /></td>
     		</tr>
     	</tbody>
     </table>
+    <input type='submit' value='Save' />
+    </form>
 {% endblock main %}

_______________________________________________
Mailman-coders mailing list
[email protected]
https://mail.python.org/mailman/listinfo/mailman-coders

Reply via email to