From bbede05f2e5011aacf1861acf9a0212fa04f7c13 2017-01-14 10:04:40 From: Jean-Philippe Lang Date: 2017-01-14 10:04:40 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 --- diff --git a/app/views/enumerations/index.html.erb b/app/views/enumerations/index.html.erb index 65f7afb..042934b 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 %>