Skip to content

Commit

Permalink
Update tooltip on accounts page
Browse files Browse the repository at this point in the history
  • Loading branch information
leomoty committed Sep 19, 2018
1 parent f9c58ad commit 75eff1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/users/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@ <h4 class="modal-title" translatable="yes">Add public key</h4>

<script id="role-entry-tmpl" type="x-template/mustache">
{{#roles}}
<div class="checkbox accounts-privileged" data-container="body">
<label title="Unix group: {{name}}">
<div class="checkbox accounts-privileged">
<label data-container="body" data-toggle="tooltip" data-original-title="Unix group: {{name}}" data-placement="bottom">
<input type="checkbox" name="account-role-checkbox-{{id}}"
data-gid="{{id}}" data-name="{{name}}"
id="account-role-checkbox-{{id}}" {{#member}}checked{{/member}}/>
Expand Down
1 change: 1 addition & 0 deletions pkg/users/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,7 @@ PageAccount.prototype = {
{ "roles": this.roles, "changed": this.roles_changed });
$('#account-change-roles-roles').html(html);
$('#account-roles').parents('tr').show();
$('#account-roles [data-toggle="tooltip"]').tooltip();
$("#account-change-roles-roles :input")
.on("change", $.proxy (this, "change_role"));
} else {
Expand Down

0 comments on commit 75eff1c

Please sign in to comment.