summaryrefslogtreecommitdiffstats
path: root/settings/templates/users
diff options
context:
space:
mode:
authorringmaster <epithet@gmail.com>2014-05-08 17:38:29 -0400
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 12:53:58 +0200
commit4de14fe6da1dacea9c44396927564ab990105df2 (patch)
treeac2d98bb42f2033a0dcc89bab8d2d8cbbbf71293 /settings/templates/users
parentc38548a1aa47fb53c61da8f54427ac923c7fdc64 (diff)
downloadnextcloud-server-4de14fe6da1dacea9c44396927564ab990105df2.tar.gz
nextcloud-server-4de14fe6da1dacea9c44396927564ab990105df2.zip
Javascript cleanup for groups.
Diffstat (limited to 'settings/templates/users')
-rw-r--r--settings/templates/users/part.grouplist.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php
index 5b9d23e43ad..71ec8f0c502 100644
--- a/settings/templates/users/part.grouplist.php
+++ b/settings/templates/users/part.grouplist.php
@@ -1,4 +1,4 @@
-<ul>
+<ul id="usergrouplist">
<!-- Add new group -->
<li id="newgroup-init">
<a href="#">
@@ -12,7 +12,7 @@
</form>
</li>
<!-- Everyone -->
- <li data-gid="">
+ <li data-gid="" class="isgroup">
<a href="#">
<span>
<?php p($l->t('Everyone')); ?>
@@ -25,8 +25,8 @@
<!-- The Admin Group -->
<?php foreach($_["adminGroup"] as $adminGroup): ?>
- <li data-gid="admin">
- <a href="#"><?php p($l->t('Admins')); ?></a>
+ <li data-gid="admin" class="isgroup">
+ <a href="#"><span class="groupname"><?php p($l->t('Admins')); ?></span></a>
<span class="utils">
<span class="usercount"><?php if($adminGroup['usercount'] > 0) { p($adminGroup['usercount']); } ?></span>
</span>
@@ -35,9 +35,9 @@
<!--List of Groups-->
<?php foreach($_["groups"] as $group): ?>
- <li data-gid="<?php p($group['name']) ?>" data-usercount="<?php p($group['usercount']) ?>">
- <a href="#">
- <span><?php p($group['name']); ?></span>
+ <li data-gid="<?php p($group['name']) ?>" data-usercount="<?php p($group['usercount']) ?>" class="isgroup">
+ <a href="#" class="dorename">
+ <span class="groupname"><?php p($group['name']); ?></span>
<img class="svg action rename" src="<?php p(image_path('core', 'actions/rename.svg'))?>"
original-title="<?php p($l->t('Edit'))?>" alt="<?php p($l->t("change group name"))?>" title="<?php p($l->t("change group name"))?>" />
</a>