File tree Expand file tree Collapse file tree
app/views/user_notifications Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535
3636<%= raw ( @markdown_linker . references ) %>
3737
38- < div class ='footer-notice '> <%= raw ( t :'user_notifications.digest.unsubscribe' ,
38+ < span class ='footer-notice '> <%= raw ( t :'user_notifications.digest.unsubscribe' ,
3939 site_link : site_link ,
40- unsubscribe_link : raw ( @markdown_linker . create ( t ( 'user_notifications.digest.click_here' ) , email_unsubscribe_path ( key : @user . temporary_key ) ) ) ) %> </ div >
40+ unsubscribe_link : raw ( @markdown_linker . create ( t ( 'user_notifications.digest.click_here' ) , email_unsubscribe_path ( key : @user . temporary_key ) ) ) ) %> </ span >
4141
4242<%= raw ( @markdown_linker . references ) %>
4343
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ def format_basic
2424 img [ 'src' ] = "#{ Discourse . base_url } #{ img [ 'src' ] } "
2525 end
2626 end
27-
28- style ( 'div.post-indent' , ' margin-left: 15px; margin-top: 20px; max-width: 694px;' )
2927 end
3028
3129 def format_notification
@@ -54,7 +52,7 @@ def format_html
5452 style ( 'li' , 'padding-bottom: 10px' )
5553 style ( 'div.digest-post' , 'margin-left: 15px; margin-top: 20px; max-width: 694px;' )
5654 style ( 'div.digest-post h1' , 'font-size: 20px;' )
57- style ( 'div .footer-notice' , 'color:#666; font-size:80%' )
55+ style ( 'span .footer-notice' , 'color:#666; font-size:80%' )
5856
5957 @fragment . css ( 'pre' ) . each do |pre |
6058 pre . replace ( pre . text )
You can’t perform that action at this time.
0 commit comments