diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-01-29 14:05:54 -0800 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-01-29 14:05:54 -0800 |
commit | 250c565d2be9ebd7033c43c3362a44c58964c79b (patch) | |
tree | f8354bf6b5d6a8a37b46d4685f09342d41dd2695 /settings/templates/users.php | |
parent | 472491955ae7e8172b113bd564ec242cc8bc4577 (diff) | |
parent | 665979819766bd23cddc18a3e1666f303ac25932 (diff) | |
download | nextcloud-server-250c565d2be9ebd7033c43c3362a44c58964c79b.tar.gz nextcloud-server-250c565d2be9ebd7033c43c3362a44c58964c79b.zip |
Merge pull request #1360 from owncloud/display_name
introduction of display names
Diffstat (limited to 'settings/templates/users.php')
-rw-r--r-- | settings/templates/users.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/settings/templates/users.php b/settings/templates/users.php index c88966f7137..f30c21efaef 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -18,7 +18,7 @@ $_['subadmingroups'] = array_flip($items); <div id="controls"> <form id="newuser" autocomplete="off"> - <input id="newusername" type="text" placeholder="<?php echo $l->t('Name')?>" /> <input + <input id="newusername" type="text" placeholder="<?php echo $l->t('Login Name')?>" /> <input type="password" id="newuserpassword" placeholder="<?php echo $l->t('Password')?>" /> <select class="groupsselect" @@ -76,7 +76,8 @@ $_['subadmingroups'] = array_flip($items); <table data-groups="<?php echo implode(', ', $allGroups);?>"> <thead> <tr> - <th id='headerName'><?php echo $l->t('Name')?></th> + <th id='headerName'><?php echo $l->t('Login Name')?></th> + <th id="headerDisplayName"><?php echo $l->t( 'Display Name' ); ?></th> <th id="headerPassword"><?php echo $l->t( 'Password' ); ?></th> <th id="headerGroups"><?php echo $l->t( 'Groups' ); ?></th> <?php if(is_array($_['subadmins']) || $_['subadmins']): ?> @@ -88,8 +89,13 @@ $_['subadmingroups'] = array_flip($items); </thead> <tbody> <?php foreach($_["users"] as $user): ?> - <tr data-uid="<?php echo $user["name"] ?>"> + <tr data-uid="<?php echo $user["name"] ?>" + data-displayName="<?php echo $user["displayName"] ?>"> <td class="name"><?php echo $user["name"]; ?></td> + <td class="displayName"><span><?php echo $user["displayName"]; ?></span> <img class="svg action" + src="<?php echo image_path('core', 'actions/rename.svg')?>" + alt="change display name" title="change display name"/> + </td> <td class="password"><span>●●●●●●●</span> <img class="svg action" src="<?php echo image_path('core', 'actions/rename.svg')?>" alt="set new password" title="set new password"/> |