summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/timelog/report.html.erb4
-rw-r--r--app/views/users/index.html.erb2
2 files changed, 4 insertions, 2 deletions
diff --git a/app/views/timelog/report.html.erb b/app/views/timelog/report.html.erb
index c798d4873..05ad08b93 100644
--- a/app/views/timelog/report.html.erb
+++ b/app/views/timelog/report.html.erb
@@ -27,7 +27,9 @@
<% end %>
<% unless @report.criteria.empty? %>
-<% unless @report.hours.empty? %>
+<% if @report.hours.empty? %>
+<p class="nodata"><%= l(:label_no_data) %></p>
+<% else %>
<div class="autoscroll">
<table class="list" id="time-report">
<thead>
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index c32b46a9c..165f26d46 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -23,7 +23,7 @@
&nbsp;
<div class="autoscroll">
-<table class="list">
+<table class="list users">
<thead><tr>
<%= sort_header_tag('login', :caption => l(:field_login)) %>
<%= sort_header_tag('firstname', :caption => l(:field_firstname)) %>