Restore oops.gif animation for user who have auto_play_gif set

lolsob-rspec
Thibaut Girka 2018-12-18 23:15:30 +01:00 committed by ThibG
parent 2059bbd0ed
commit 2e964346ce
1 changed files with 1 additions and 1 deletions

View File

@ -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