We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d0d5e8 commit 7984edaCopy full SHA for 7984eda
2 files changed
app/assets/stylesheets/notifications.scss
@@ -34,6 +34,10 @@
34
}
35
36
37
+ .notification--icon {
38
+ max-height: 1em;
39
+ }
40
+
41
.notification--timestamp {
42
line-break: strict;
43
app/views/notifications/_notification.html.erb
@@ -8,6 +8,11 @@
8
<div class="notification">
9
<div class="notification-content">
10
<div class="form-caption">
11
+ <% if SiteSetting['SiteLogoPath'].present? %>
12
+ <img class="notification--icon"
13
+ src="<%= SiteSetting['SiteLogoPath'] %>"
14
+ alt="<% notification.community_name %> logo" />
15
+ <% end %>
16
<%= notification.community_name %> · <%= notification.rendered_timestamp %>
17
</div>
18
<a href="<%= notification.link %>"><%= render_pings_text(notification.content) %></a>
0 commit comments