Commit 28154397 by Dudás Ádám

Merge branch 'issue-445' into 'master'

Add select all to acl list

closes #445

See merge request !365
parents 59532809 9c428974
...@@ -557,3 +557,11 @@ $(function () { ...@@ -557,3 +557,11 @@ $(function () {
"alert-" + $(this).val()); "alert-" + $(this).val());
}); });
}); });
/* select all in template list */
$(function() {
$("#manage-access-select-all").click(function(e) {
var inputs = $(this).closest("table").find('input[type="checkbox"]');
inputs.prop("checked", !inputs.prop("checked"));
});
});
...@@ -1523,3 +1523,7 @@ textarea[name="new_members"] { ...@@ -1523,3 +1523,7 @@ textarea[name="new_members"] {
text-align: center; text-align: center;
width: 100%; width: 100%;
} }
#manage-access-select-all {
cursor: pointer;
}
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<th></th> <th></th>
<th>{% trans "Who" %}</th> <th>{% trans "Who" %}</th>
<th>{% trans "What" %}</th> <th>{% trans "What" %}</th>
<th><i class="fa fa-times"></i></th> <th><i id="manage-access-select-all" class="fa fa-times"></i></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment