diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-14 10:04:40 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-14 10:04:40 +0000 |
commit | bbede05f2e5011aacf1861acf9a0212fa04f7c13 (patch) | |
tree | 95ca7211c60c132fd490b4ed2370237470e0f212 /app | |
parent | 898a55fa7081a8649bd5142a25e2a37a5ba882b3 (diff) | |
download | redmine-bbede05f2e5011aacf1861acf9a0212fa04f7c13.tar.gz redmine-bbede05f2e5011aacf1861acf9a0212fa04f7c13.zip |
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
Diffstat (limited to 'app')
-rw-r--r-- | app/views/enumerations/index.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
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 %> </table> <% reset_cycle %> +<% else %> +<p class="nodata"><%= l(:label_no_data) %></p> <% end %> <% end %> |