wall context
This commit is contained in:
parent
d65c737a6e
commit
f0782b0472
8 changed files with 33 additions and 11 deletions
|
@ -1,7 +1,15 @@
|
|||
<div class='main'>
|
||||
<h1 class="header-big"><%= username %></h1>
|
||||
<h1 class="header-big">
|
||||
<% if (username) { %>
|
||||
<a class='link' href='/users/<%= username %>'><%= username %></a>
|
||||
<% } else { %>
|
||||
Context
|
||||
<% } %>
|
||||
</h1>
|
||||
<div><%= content %></div>
|
||||
<% if (!isNaN(date * 1)) { %>
|
||||
<div class='sub'><b>Posted on</b> <%= new Date(date).toISOString() %> </div>
|
||||
<% } %>
|
||||
<%- include ('vblock.ejs', {link: `/${type}/${id}`, icon: '/icon.svg', name: 'Original'}) %>
|
||||
<%- include ('vblock.ejs', {link: `/walls/get/${type}/${id}/0`, icon: '/icon.svg', name: 'Replies'}) %>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue