From 8d888d811b6efae76a6e021750d8965ee6e8c2aa Mon Sep 17 00:00:00 2001 From: Mischa The Evil Date: Sat, 7 Jan 2017 18:14:32 +0100 Subject: [PATCH 3/4] Handle the case of none existing enumerations using no-data blocks. --- app/views/enumerations/index.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git app/views/enumerations/index.html.erb app/views/enumerations/index.html.erb index 65f7afb..042934b 100644 --- app/views/enumerations/index.html.erb +++ app/views/enumerations/index.html.erb @@ -28,6 +28,8 @@ <% end %> <% reset_cycle %> +<% else %> +

<%= l(:label_no_data) %>

<% end %> <% end %> -- 2.7.4.windows.1