ForumExperiment/views/partials/message.ejs

23 lines
590 B
Plaintext
Raw Normal View History

2023-04-13 19:21:17 +00:00
<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>