From bbede05f2e5011aacf1861acf9a0212fa04f7c13 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 14 Jan 2017 10:04:40 +0000 Subject: [PATCH] Handle the case of none existing enumerations using no-data blocks (#24776). Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16188 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/enumerations/index.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/enumerations/index.html.erb b/app/views/enumerations/index.html.erb index 65f7afba0..042934b54 100644 --- a/app/views/enumerations/index.html.erb +++ b/app/views/enumerations/index.html.erb @@ -28,6 +28,8 @@ <% end %> <% reset_cycle %> +<% else %> +

<%= l(:label_no_data) %>

<% end %> <% end %>