diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-08-30 21:20:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-08-30 21:20:02 +0000 |
commit | 19109f6f640ca1d03499000ef520d80b4d753046 (patch) | |
tree | 2833a8831b3ded6002344e161ec9b7e7cf1564ac /app/views | |
parent | baaa15ebdd0c49a9003d8dbd6910519f808b5499 (diff) | |
download | redmine-19109f6f640ca1d03499000ef520d80b4d753046.tar.gz redmine-19109f6f640ca1d03499000ef520d80b4d753046.zip |
Show message for empty results on time entries.
git-svn-id: http://svn.redmine.org/redmine/trunk@15763 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/timelog/index.html.erb | 4 |
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> |