Skip to content

Commit

Permalink
[webui] Apply Haml-Lint idNames in group
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKang committed Apr 19, 2017
1 parent c4820d0 commit 44cab43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/api/app/views/webui/groups/index.html.haml
Expand Up @@ -6,7 +6,7 @@
%p
Manage groups.
- unless @groups.empty?
%table.compact#group_table
%table.compact#group-table
%thead
%tr
%th Group name
Expand All @@ -28,5 +28,5 @@
- if @groups.length > 0
:javascript
$(function() {
$('#group_table').dataTable();
$('#group-table').dataTable();
});
4 changes: 2 additions & 2 deletions src/api/app/views/webui/groups/show.html.haml
@@ -1,7 +1,7 @@
- @pagetitle = "Group #{@group.title}"
%h2= @pagetitle
- unless @group.users.empty?
%table#group_members_table
%table#group-members-table
%thead
%tr
%th Group members
Expand All @@ -13,4 +13,4 @@
%p
%i This group does not contain users
- content_for :ready_function do
$('#group_members_table').dataTable();
$('#group-members-table').dataTable();

0 comments on commit 44cab43

Please sign in to comment.