summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/timelog/index.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/timelog/index.html.erb b/app/views/timelog/index.html.erb
index 1a3b27e73..f70f7b8b6 100644
--- a/app/views/timelog/index.html.erb
+++ b/app/views/timelog/index.html.erb
@@ -10,7 +10,9 @@
<%= render :partial => 'date_range' %>
<% end %>
-<% unless @entries.empty? %>
+<% if @entries.empty? %>
+<p class="nodata"><%= l(:label_no_data) %></p>
+<% else %>
<%= render_query_totals(@query) %>
<%= render :partial => 'list', :locals => { :entries => @entries }%>
<span class="pagination"><%= pagination_links_full @entry_pages, @entry_count %></span>