2020-08-18 14:25:38 -05:00
|
|
|
<%= discourse_color_scheme_stylesheets() %>
|
|
|
|
|
2020-07-31 09:24:08 -05:00
|
|
|
<div class="published-page-header">
|
|
|
|
<div class="published-page-header-wrapper">
|
2020-09-20 22:50:39 -05:00
|
|
|
<%- if @logo.present? %>
|
|
|
|
<a href="<%= @site_url %>">
|
|
|
|
<img class="published-page-logo" src="<%=@logo.url%>"/>
|
|
|
|
</a>
|
|
|
|
<%- end -%>
|
2020-07-31 09:24:08 -05:00
|
|
|
<h1 class="published-page-title"><%= @topic.title %></h1>
|
2020-07-30 10:25:28 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="published-page-content-wrapper">
|
|
|
|
<div class="published-page-content-header">
|
2020-04-08 11:52:36 -05:00
|
|
|
<div class="published-page-author">
|
2020-07-30 10:25:28 -05:00
|
|
|
<img class="avatar" src="<%= @topic.user.avatar_template.gsub('{size}', '90') %>">
|
2020-04-08 11:52:36 -05:00
|
|
|
<div class="published-page-author-details">
|
|
|
|
<div class="username"><%= @topic.user.username %></div>
|
|
|
|
<div class="topic-created-at"><%= short_date(@topic.created_at) %></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-25 16:47:05 -05:00
|
|
|
<%- if @topic.first_post.present? %>
|
2020-07-30 10:25:28 -05:00
|
|
|
<div class="published-page-content-body">
|
2020-06-25 16:47:05 -05:00
|
|
|
<%= @topic.first_post.cooked.html_safe %>
|
|
|
|
</div>
|
|
|
|
<%- end -%>
|
2020-09-20 22:50:39 -05:00
|
|
|
</div>
|