diff mbox

[Branch,~linaro-validation/lava-server/trunk] Rev 420: List user's group on user profile page.

Message ID 20130807135328.22734.18061.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Paul Sokolovsky Aug. 7, 2013, 1:53 p.m. UTC
Merge authors:
  Paul Sokolovsky (pfalcon)
Related merge proposals:
  https://code.launchpad.net/~pfalcon/lava-server/show-groups/+merge/178798
  proposed by: Paul Sokolovsky (pfalcon)
  review: Approve - Neil Williams (codehelp)
------------------------------------------------------------
revno: 420 [merge]
committer: Paul Sokolovsky <paul.sokolovsky@linaro.org>
branch nick: lava-server
timestamp: Wed 2013-08-07 16:52:04 +0300
message:
  List user's group on user profile page.
modified:
  lava_server/templates/me.html


--
lp:lava-server
https://code.launchpad.net/~linaro-validation/lava-server/trunk

You are subscribed to branch lp:lava-server.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_server/templates/me.html'
--- lava_server/templates/me.html	2012-07-09 09:37:58 +0000
+++ lava_server/templates/me.html	2013-08-06 16:30:46 +0000
@@ -16,4 +16,13 @@ 
 <h2>Hi {% firstof user.first_name user.username %}</h2>
 <p>This is where more interesting things about your actions will show up,
 eventually</p>
+
+<p>You are member of the following LAVA groups:</p>
+<ul>
+  {% for g in user.groups.all %}
+    <li>{{ g.name }}</li>
+  {% empty %}
+    <li>(none)</li>
+  {% endfor %}
+</ul>
 {% endblock %}