summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/benki
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-04-18 15:55:44 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-04-18 15:55:54 +0200
commit695427b3c99fad50cb6386c0111dd2f0bb0ca9fe (patch)
tree02e69f31fd1cd9b54e3ef48532bae83e0c725c2d /src/main/resources/templates/benki
parent09914e3fe1fbb3cd6c5227c0ea93b77cae43ca05 (diff)
KB51 Add post links.
Change-Id: I429aadcc71212a9bfb90c812e108e55c51672ba9
Diffstat (limited to 'src/main/resources/templates/benki')
-rw-r--r--src/main/resources/templates/benki/posts/postList.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/main/resources/templates/benki/posts/postList.html b/src/main/resources/templates/benki/posts/postList.html
index 9b8f060..5f88757 100644
--- a/src/main/resources/templates/benki/posts/postList.html
+++ b/src/main/resources/templates/benki/posts/postList.html
@@ -59,8 +59,10 @@
<header>
<a href="{uri}"><h1 class="bookmark-title">{title}</h1></a>
<div class="bookmark-info">
- <time datetime="{date.htmlDateTime}">{date.humanDateTime}</time>
- <span class="bookmark-owner">{owner.firstName} {owner.lastName}</span>
+ <a class="post-link" href="/posts/{post.id}">
+ <time datetime="{date.htmlDateTime}">{date.humanDateTime}</time>
+ <span class="bookmark-owner">{owner.firstName} {owner.lastName}</span>
+ </a>
</div>
</header>
@@ -72,8 +74,10 @@
<article class="lazychat-message">
<header>
<div class="lazychat-message-info">
- <time datetime="{date.htmlDateTime}">{date.humanDateTime}</time>
- <span class="lazychat-message-owner">{owner.firstName} {owner.lastName}</span>
+ <a class="post-link" href="/posts/{post.id}">
+ <time datetime="{date.htmlDateTime}">{date.humanDateTime}</time>
+ <span class="lazychat-message-owner">{owner.firstName} {owner.lastName}</span>
+ </a>
</div>
<div class="lazychat-message-controls">