From: Florent Bruneau Date: Sun, 3 Oct 2010 19:16:29 +0000 (+0200) Subject: Add link to the administration page of the account, use category instead X-Git-Tag: xorg/1.0.1~107 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=ee4556f02ff16b68e98d5c49a0732fbb48f287b7;p=platal.git Add link to the administration page of the account, use category instead of promo in the "promo" column of the directory. Signed-off-by: Florent Bruneau --- diff --git a/templates/xnetgrp/annuaire.tpl b/templates/xnetgrp/annuaire.tpl index 7da8c93..dd0dc5a 100644 --- a/templates/xnetgrp/annuaire.tpl +++ b/templates/xnetgrp/annuaire.tpl @@ -110,9 +110,9 @@ Le groupe {$asso->nom} compte {$nb_tot} membres : {profile user=$user promo=false} - {if $user->group_perms eq 'admin' && $user->promo()}{/if} - {$user->promo()} - {if $user->group_perms eq 'admin' && $user->promo()}{/if} + {if $user->group_perms eq 'admin' && $user->category()}{/if} + {$user->category()|default:"Extérieur"} + {if $user->group_perms eq 'admin' && $user->category()}{/if} {if $user->group_comm} {$user->group_comm} diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl index 596f8ac..ea1050d 100644 --- a/templates/xnetgrp/membres-edit.tpl +++ b/templates/xnetgrp/membres-edit.tpl @@ -54,6 +54,17 @@
{xsrf_token_field} + {if hasPerm('admin')} + + + + + {/if}
+ Identifiant unique : + + {$user->hruid} + {icon name="user_edit" title="Administer"} +
Permissions :