summaryrefslogtreecommitdiff
path: root/views/forum_thread.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/forum_thread.ejs')
-rw-r--r--views/forum_thread.ejs3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/forum_thread.ejs b/views/forum_thread.ejs
index fad8829..0041f20 100644
--- a/views/forum_thread.ejs
+++ b/views/forum_thread.ejs
@@ -2,6 +2,7 @@
<style>
table { width: 100%; max-width: 50em; }
td.body { white-space: pre-wrap; padding: 10px 10px; }
+th a { color: black; text-decoration: none; }
th.author { border-right: none; }
th.time { text-align: right; border-left: none; font-weight: normal; }
td.edit { text-align: right; border: none; }
@@ -10,7 +11,7 @@ td.edit { text-align: right; border: none; }
<p>
<table>
<tr>
-<th class="nowrap author"><%= row.author_name %>
+<th class="nowrap author"><a href="/user/<%- row.author_name %>"><%= row.author_name %></a>
<th class="nowrap time"><%= row.ctime %>
<%= row.edited ? "(edited " + row.mtime + ")" : "" %>
<tr>