mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
move digest email featured post category underneath
This commit is contained in:
parent
781807191e
commit
a85a3da167
2 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@
|
||||||
<%- @featured_topics.each_with_index do |t, i| %>
|
<%- @featured_topics.each_with_index do |t, i| %>
|
||||||
<div class='featured-topic'>
|
<div class='featured-topic'>
|
||||||
<%= link_to t.title, "#{Discourse.base_url}#{t.relative_url}" %>
|
<%= link_to t.title, "#{Discourse.base_url}#{t.relative_url}" %>
|
||||||
|
<br/>
|
||||||
<%= email_category(t.category) %>
|
<%= email_category(t.category) %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -136,7 +136,7 @@ module Email
|
||||||
style('pre', 'word-wrap: break-word; max-width: 694px;')
|
style('pre', 'word-wrap: break-word; max-width: 694px;')
|
||||||
style('code', 'background-color: #f1f1ff; padding: 2px 5px;')
|
style('code', 'background-color: #f1f1ff; padding: 2px 5px;')
|
||||||
style('pre code', 'display: block; background-color: #f1f1ff; padding: 5px;')
|
style('pre code', 'display: block; background-color: #f1f1ff; padding: 5px;')
|
||||||
style('.featured-topic a', 'text-decoration: none; font-weight: bold; color: #006699; margin-right: 5px')
|
style('.featured-topic a', 'text-decoration: none; font-weight: bold; color: #006699; line-height:2em;')
|
||||||
|
|
||||||
onebox_styles
|
onebox_styles
|
||||||
plugin_styles
|
plugin_styles
|
||||||
|
|
Loading…
Reference in a new issue