diff --git a/app/views/admin/projects.html.erb b/app/views/admin/projects.html.erb index 91d1cc7..d9c3228 100644 --- a/app/views/admin/projects.html.erb +++ b/app/views/admin/projects.html.erb @@ -16,6 +16,7 @@ <% end %>   +<% if @projects.any? %>
@@ -41,4 +42,7 @@
-<%= pagination_links_full @project_pages, @project_count %> \ No newline at end of file +<%= pagination_links_full @project_pages, @project_count %> +<% else %> +

<%= l(:label_no_data) %>

+<% end %> diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index 165f26d..60e42c6 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -22,6 +22,7 @@ <% end %>   +<% if @users.any? %>
@@ -54,5 +55,8 @@
<%= pagination_links_full @user_pages, @user_count %> +<% else %> +

<%= l(:label_no_data) %>

+<% end %> <% html_title(l(:label_user_plural)) -%>