File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 notification : Notification to render
66"%>
77
8+ <%
9+ mobile_logo_path = SiteSetting['MobileLogoPath', community: notification.community]
10+ full_logo_path = SiteSetting['SiteLogoPath', community: notification.community]
11+ logo_path = mobile_logo_path.presence || full_logo_path
12+ %>
13+
814 <div class ="notification ">
915 < div class ="notification-content ">
1016 < div class ="form-caption ">
11- <% if SiteSetting [ 'SiteLogoPath' , community : notification . community ] . present? %>
17+ <% if logo_path . present? %>
1218 < img class ="notification--icon "
13- src ="<%= SiteSetting [ 'SiteLogoPath' , community : notification . community ] %> "
19+ src ="<%= logo_path %> "
1420 alt ="<% notification . community_name %> logo " />
1521 <% end %>
1622 <%= notification . community_name %> · <%= notification . rendered_timestamp %>
You can’t perform that action at this time.
0 commit comments