WHO: if we're aide, offer to edit that users config & addressbook entry
authorWilfried Goesgens <dothebart@citadel.org>
Mon, 23 Jul 2012 10:54:01 +0000 (12:54 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 23 Jul 2012 10:54:01 +0000 (12:54 +0200)
webcit/static/t/who/section.html

index eabb9f86553f5c4dcc17a0ee926e3c5dc91315f1..1944f2a8cdd1c932e5065796c70f7cb54a4e1723 100644 (file)
@@ -1,7 +1,9 @@
 <tr class="<?ITERATE:ODDEVEN>">
        <td class="edit_col">
                <??("COND:AIDE", 1)><??("WHO:ISME", 2)>
-                       <a href="terminate_session?which_session=<?WHO:SESSION>?template=who" onClick="return ConfirmKill();"><?_("(kill)")></a>
+                       <a href="terminate_session?which_session=<?WHO:SESSION>?template=who" onClick="return ConfirmKill();"><?_("(kill)")></a>&nbsp;
+                       (<a href="display_edituser?username=<?WHO:NAME("U")>&edit_config_button=Edit+configuration&nonce=<?NONCE>"><?_("Edit configuration")></a>)&nbsp;
+                       (<a href="display_edituser?username=<?WHO:NAME("U")>&edit_abe_button=Edit+address+book+entry"><?_("Edit address book entry")></a>)
                <??("X", 2)><??("X", 1)>
                <?!("WHO:ISME", 3)>
                        <a href="edit_me"><img src="static/webcit_icons/essen/16x16/config.png" alt="(<?_("edit")>)" title="<?_("edit")>"></a>