about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-12-18 23:15:30 +0100
committerThibG <thib@sitedethib.com>2018-12-19 20:49:58 +0100
commite8d5affe067a07c58853a14623857b68a0e65c09 (patch)
tree8fa797ed66667be7bc3cffb441ea53425aefc89f /app/views
parent0c2d48b60af9e7fb3b2fcc54d1f4e706d2242e0e (diff)
Restore oops.gif animation for user who have auto_play_gif set
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/error.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/error.html.haml b/app/views/layouts/error.html.haml
index c9afbb5c8..d662d85e2 100644
--- a/app/views/layouts/error.html.haml
+++ b/app/views/layouts/error.html.haml
@@ -9,6 +9,6 @@
     = render partial: 'layouts/theme', object: (@theme || { pack: 'common', flavour: 'glitch', skin: 'default' })
   %body.error
     .dialog
-      %img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/
+      %img{ alt: Setting.default_settings['site_title'], src: current_user&.setting_auto_play_gif ? '/oops.gif' : '/oops.png' }/
       %div
         %h1= yield :content