Skip to content

Commit

Permalink
Display table information when the pagination is also displayed
Browse files Browse the repository at this point in the history
To be consistent in all tables. We have some pages where tables don't
have any control (pagination, search), we don't display the information
in such cases. When only the search is present, we don't either. In
these cases, the tables contain only a few rows (examples: users/groups,
attributes).
  • Loading branch information
dmarcoux committed Dec 20, 2018
1 parent 491b8f2 commit 9e6467f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/api/app/views/webui2/webui/project/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@
= render partial: 'webui2/webui/request/delete_request_dialog', locals: { project: @project }

= content_for :ready_function do
initializeDataTable('#packages-table, #inherited-packages-table', { info: false });
initializeDataTable('#packages-table, #inherited-packages-table');
3 changes: 1 addition & 2 deletions src/api/app/views/webui2/webui/user/_involvement.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,4 @@
= link_to(project_name, project_show_path(project: project_name))

= content_for :ready_function do
initializeDataTable('#involved-packages-table, #involved-projects-table, #owned-table', { info: false });

initializeDataTable('#involved-packages-table, #involved-projects-table, #owned-table');

0 comments on commit 9e6467f

Please sign in to comment.