ForumExperiment/views/partials/message.ejs
2023-04-13 15:21:17 -04:00

23 lines
590 B
Plaintext

<div class="message">
<div class="messageMeta">
<div id="messageDate"><%- include('./format_date',{format_date:m.creationdate}); %></div>
</div>
<div class="messageContent">
<div class="userInfo">
<div id="userName">
<%= m.username %>
</div>
Member since <%- include('./format_date',{format_date:m.accountCreated}); %>
</div>
<div class="messageBody">
<% if (m.subject){ %>
<h3><%= m.subject %></h3>
<% }; %>
<p>
<%= m.text %>
</p>
</div>
</div>
</div>