1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-03 23:53:23 +00:00

Don't show an empty table.

git-svn-id: http://svn.redmine.org/redmine/trunk@15896 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-10-09 09:53:05 +00:00
parent 5e447c7555
commit 6aff505b90
2 changed files with 9 additions and 1 deletions

View File

@ -16,6 +16,7 @@
<% end %>
&nbsp;
<% if @projects.any? %>
<div class="autoscroll">
<table class="list">
<thead><tr>
@ -41,4 +42,7 @@
</tbody>
</table>
</div>
<span class="pagination"><%= pagination_links_full @project_pages, @project_count %></span>
<span class="pagination"><%= pagination_links_full @project_pages, @project_count %></span>
<% else %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% end %>

View File

@ -22,6 +22,7 @@
<% end %>
&nbsp;
<% if @users.any? %>
<div class="autoscroll">
<table class="list users">
<thead><tr>
@ -54,5 +55,8 @@
</table>
</div>
<span class="pagination"><%= pagination_links_full @user_pages, @user_count %></span>
<% else %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% end %>
<% html_title(l(:label_user_plural)) -%>