Changeset 8cb1dc7 in Klonkt for src/views/pages/admin-comments.ejs
- Timestamp:
- 06/14/2026 04:17:14 PM (3 months ago)
- Branches:
- main
- Children:
- 640b39c
- Parents:
- ccbd6a6
- File:
-
- 1 edited
-
src/views/pages/admin-comments.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/admin-comments.ejs
rccbd6a6 r8cb1dc7 26 26 <strong><%= c.author_username %></strong> 27 27 <% if (c.parent_comment_id) { %><span class="muted">(reply)</span><% } %> 28 on <a href=" /<%= c.post_slug %>"><%= c.post_title || c.post_slug %></a>28 on <a href="<%= siteUrlBase %>/<%= c.post_slug %>"><%= c.post_title || c.post_slug %></a> 29 29 <span class="muted">· <%= formatDateTime(c.created_at) %></span> 30 30 </div> 31 31 <blockquote class="moderation-content"><%= c.content %></blockquote> 32 32 <div class="moderation-actions"> 33 <form method="post" action=" /admin/comments/<%= c.id %>/approve" style="display:inline">33 <form method="post" action="<%= siteUrlBase %>/admin/comments/<%= c.id %>/approve" style="display:inline"> 34 34 <button type="submit" class="btn btn-primary">Approve</button> 35 35 </form> 36 <form method="post" action=" /admin/comments/<%= c.id %>/reject" style="display:inline">36 <form method="post" action="<%= siteUrlBase %>/admin/comments/<%= c.id %>/reject" style="display:inline"> 37 37 <button type="submit" class="btn btn-danger">Reject</button> 38 38 </form> … … 55 55 <tr class="status-<%= c.status %>"> 56 56 <td><%= c.author_username %></td> 57 <td><a href=" /<%= c.post_slug %>"><%= c.post_title || c.post_slug %></a></td>57 <td><a href="<%= siteUrlBase %>/<%= c.post_slug %>"><%= c.post_title || c.post_slug %></a></td> 58 58 <td> 59 59 <span class="status-pill status-pill--<%= c.status %>"><%= c.status %></span>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)