☔ Some more escaping
This commit is contained in:
1 parent
3b556e9d79
commit
db1c18075f
4 files changed
+9
-9
No files matched your search
@@ -3,7 +3,7 @@
|
||||
<tr>
|
||||
<td class="settings_accesscontrol_groups_list_checkbox"><input type="checkbox" data-bind="checkedValue: key, checked: $parents[1].editor.groups, enable: toggleable"></td>
|
||||
<td class="settings_accesscontrol_groups_list_name" style="cursor: pointer" data-bind="click: function() { if ($data.toggleable) { $parents[1].editor.toggleGroup($data.key) } }, attr: {title: description}">
|
||||
<span class="name" data-bind="text: name, style: { fontWeight: ($parents[1].editor.groupSelected($data.name)) ? 'bold' : 'normal' }"></span> <small class="label label-info" data-bind="visible: !$data.toggleable" title="{{ _('Fixed groups can\'t be added or removed to users.') }}">{{ _('Fixed') }}</small><br>
|
||||
<span class="name" data-bind="text: name, style: { fontWeight: ($parents[1].editor.groupSelected($data.name)) ? 'bold' : 'normal' }"></span> <small class="label label-info" data-bind="visible: !$data.toggleable" title="{{ _('Fixed groups can\'t be added or removed to users.')|edq }}">{{ _('Fixed') }}</small><br>
|
||||
<small class="description" data-bind="text: description"></small><br>
|
||||
<small class="permissions muted" data-bind="text: $parents[1].editor.joinedGroupPermissions($data)"></small>
|
||||
</td>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</thead>
|
||||
<tbody data-bind="foreach: $root.access.groups.listHelper.paginatedItems">
|
||||
<tr>
|
||||
<td class="settings_groups_default"><span class="fa fa-star" data-bind="invisible: !$data.default" title="{{ _('Default group') }}"></span></td>
|
||||
<td class="settings_groups_default"><span class="fa fa-star" data-bind="invisible: !$data.default" title="{{ _('Default group')|edq }}"></span></td>
|
||||
<td class="settings_groups_name">
|
||||
<span data-bind="text: name"></span><br>
|
||||
<small class="muted" data-bind="text: description"></small>
|
||||
@@ -27,7 +27,7 @@
|
||||
</table>
|
||||
</td>
|
||||
<td class="settings_groups_actions">
|
||||
<a href="#" class="fa fa-pencil" title="{{ _('Update group') }}" data-bind="enable: changeable, css: {disabled: !changeable}, click: function() { $root.access.groups.showEditGroupDialog($data); }"></a> | <a href="#" class="fa fa-trash-o" title="{{ _('Delete group') }}" data-bind="enable: removable, css: {disabled: !removable}, click: function() { $root.access.groups.removeGroup($data); }"></a>
|
||||
<a href="#" class="fa fa-pencil" title="{{ _('Update group')|edq }}" data-bind="enable: changeable, css: {disabled: !changeable}, click: function() { $root.access.groups.showEditGroupDialog($data); }"></a> | <a href="#" class="fa fa-trash-o" title="{{ _('Delete group') }}" data-bind="enable: removable, css: {disabled: !removable}, click: function() { $root.access.groups.removeGroup($data); }"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -44,7 +44,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<button title="{{ _('Add group') }}" class="btn pull-right" data-bind="click: $root.access.groups.showAddGroupDialog"><i class="fa fa-plus"></i> {{ _('Add group...') }}</button>
|
||||
<button title="{{ _('Add group')|edq }}" class="btn pull-right" data-bind="click: $root.access.groups.showAddGroupDialog"><i class="fa fa-plus"></i> {{ _('Add group...') }}</button>
|
||||
|
||||
<!-- Modals for group management -->
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<tr>
|
||||
<td class="settings_accesscontrol_subgroups_list_checkbox"><input type="checkbox" data-bind="checkedValue: key, checked: $parents[1].editor.subgroups, enable: toggleable"></td>
|
||||
<td class="settings_accesscontrol_subgroups_list_name" style="cursor: pointer" data-bind="click: function() { if ($data.toggleable) { $parents[1].editor.toggleSubgroup($data.key) } }, attr: {title: description}">
|
||||
<span class="name" data-bind="text: name, style: { fontWeight: ($parents[1].editor.subgroupSelected($data.name)) ? 'bold' : 'normal' }"></span> <small class="label label-info" data-bind="visible: !$data.toggleable" title="{{ _('Fixed groups can\'t be added or removed to other groups.') }}">{{ _('Fixed') }}</small><br>
|
||||
<span class="name" data-bind="text: name, style: { fontWeight: ($parents[1].editor.subgroupSelected($data.name)) ? 'bold' : 'normal' }"></span> <small class="label label-info" data-bind="visible: !$data.toggleable" title="{{ _('Fixed groups can\'t be added or removed to other groups.')|edq }}">{{ _('Fixed') }}</small><br>
|
||||
<small class="description" data-bind="text: description"></small><br>
|
||||
<small class="permissions muted" data-bind="text: $parents[1].editor.joinedGroupPermissions($data)"></small>
|
||||
</td>
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
</tr>
|
||||
<tr data-bind="visible: apikey">
|
||||
<th class="settings_users_details_key">{{ _('API Key') }}</th>
|
||||
<td class="settings_users_details_value"><span data-bind="text: apikey"></span> <a href="javascript:void(0)" title="{{ _('Copy API Key to clipboard') }}" data-bind="click: function() { copyToClipboard(apikey) }"><i class="fa fa-copy"></i></a></td>
|
||||
<td class="settings_users_details_value"><span data-bind="text: apikey"></span> <a href="javascript:void(0)" title="{{ _('Copy API Key to clipboard')|edq }}" data-bind="click: function() { copyToClipboard(apikey) }"><i class="fa fa-copy"></i></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="settings_users_active"><i class="fa" data-bind="css: { 'fa-check-square-o': active, 'fa-square-o': !active }"></i></td>
|
||||
<td class="settings_users_actions">
|
||||
<a href="#" class="fa fa-pencil" title="{{ _('Update User') }}" data-bind="click: function() { $root.access.users.showEditUserDialog($data); }"></a> | <a href="#" class="fa fa-key" title="{{ _('Change password') }}" data-bind="click: function() { $root.access.users.showChangePasswordDialog($data); }"></a> | <a href="#" class="fa fa-trash-o" title="{{ _('Delete user') }}" data-bind="click: function() { $root.access.users.removeUser($data); }"></a>
|
||||
<a href="#" class="fa fa-pencil" title="{{ _('Update User')|edq }}" data-bind="click: function() { $root.access.users.showEditUserDialog($data); }"></a> | <a href="#" class="fa fa-key" title="{{ _('Change password') }}" data-bind="click: function() { $root.access.users.showChangePasswordDialog($data); }"></a> | <a href="#" class="fa fa-trash-o" title="{{ _('Delete user') }}" data-bind="click: function() { $root.access.users.removeUser($data); }"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -45,7 +45,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<button title="{{ _('Add user') }}" class="btn pull-right" data-bind="click: $root.access.users.showAddUserDialog"><i class="fa fa-plus"></i> {{ _('Add user...') }}</button>
|
||||
<button title="{{ _('Add user')|edq }}" class="btn pull-right" data-bind="click: $root.access.users.showAddUserDialog"><i class="fa fa-plus"></i> {{ _('Add user...') }}</button>
|
||||
|
||||
<!-- Modals for user management -->
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
<label class="control-label">{{ _('Current API Key') }}</label>
|
||||
<div class="controls">
|
||||
<div class="input-append input-block-level ">
|
||||
<input type="text" readonly="readonly" data-bind="value: $root.access.users.editor.apikey, valueUpdate: 'input', attr: {placeholder: '{{ _('N/A') }}'}">
|
||||
<input type="text" readonly="readonly" data-bind="value: $root.access.users.editor.apikey, valueUpdate: 'input', attr: {placeholder: '{{ _('N/A')|esq }}'}">
|
||||
<a class="btn add-on" title="Copy API Key to clipboard" data-bind="click: $root.access.users.copyApikey, css: {'disabled': !$root.access.users.editor.apikey()}"><i class="fa fa-copy"></i></a>
|
||||
<a class="btn add-on" title="Generate new API Key" data-bind="click: function() { $root.access.users.confirmGenerateApikey(); }"><i class="fa fa-refresh"></i></a>
|
||||
<a class="btn add-on btn-danger" title="Delete API Key" data-bind="click: function() { $root.access.users.confirmDeleteApikey(); }, css: {'disabled': !$root.access.users.editor.apikey()}"><i class="fa fa-trash-o"></i></a>
|
||||
|
||||
Reference in new issue
Block a user