Show delete tipsy for users
This commit is contained in:
parent
002ad4ba16
commit
1ec27399a7
|
@ -22,14 +22,14 @@ form { display:inline; }
|
|||
table:not(.nostyle) th { height:2em; color:#999; }
|
||||
table:not(.nostyle) th, table:not(.nostyle) td { border-bottom:1px solid #ddd; padding:0 .5em; padding-left:.8em; text-align:left; font-weight:normal; }
|
||||
td.name, td.password { padding-left:.8em; }
|
||||
td.password>img, td.remove>img, td.quota>img { visibility:hidden; }
|
||||
td.password>img, td.remove>a, td.quota>img { visibility:hidden; }
|
||||
td.password, td.quota { width:12em; cursor:pointer; }
|
||||
td.password>span, td.quota>span { margin-right: 1.2em; color: #C7C7C7; }
|
||||
|
||||
td.remove { width:1em; padding-right:1em; }
|
||||
tr:hover>td.password>span { margin:0; cursor:pointer; }
|
||||
tr:hover>td.remove>img, tr:hover>td.password>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; }
|
||||
tr:hover>td.remove>img { float:right; }
|
||||
tr:hover>td.remove>a, tr:hover>td.password>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; }
|
||||
tr:hover>td.remove>a { float:right; }
|
||||
li.selected { background-color:#ddd; }
|
||||
#content>table:not(.nostyle) { margin-top:3em; }
|
||||
table:not(.nostyle) { width:100%; }
|
||||
|
|
|
@ -170,7 +170,7 @@ $(document).ready(function(){
|
|||
applyMultiplySelect($(element));
|
||||
});
|
||||
|
||||
$('td.remove>img').live('click',function(event){
|
||||
$('td.remove>a').live('click',function(event){
|
||||
|
||||
var uid = $(this).parent().parent().data('uid');
|
||||
|
||||
|
|
|
@ -141,9 +141,12 @@ var isadmin = <?php echo $_['isadmin']?'true':'false'; ?>;
|
|||
</select> <input class='quota-other'></input>
|
||||
</div>
|
||||
</td>
|
||||
<td class="remove"><?php if($user['name']!=OC_User::getUser()):?> <img
|
||||
alt="Delete" title="<?php echo $l->t('Delete')?>" class="svg action"
|
||||
src="<?php echo image_path('core','actions/delete.svg') ?>" /> <?php endif;?>
|
||||
<td class="remove">
|
||||
<?php if($user['name']!=OC_User::getUser()):?>
|
||||
<a href="#" class="action delete" original-title="<?php echo $l->t('Delete')?>">
|
||||
<img src="<?php echo image_path('core','actions/delete.svg') ?>" />
|
||||
</a>
|
||||
<?php endif;?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
|
|
Loading…
Reference in New Issue