From: Jean-Philippe Lang Date: Sat, 14 Jan 2017 10:04:40 +0000 (+0000) Subject: Handle the case of none existing enumerations using no-data blocks (#24776). X-Git-Tag: 3.4.0~421 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bbede05f2e5011aacf1861acf9a0212fa04f7c13;p=redmine.git 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 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 %>