From d1af4fe5758f95152a725fdc6c08adf6b430375f Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 5 Jul 2025 17:04:43 +0200 Subject: Bookmark: Display 'via' link. Change-Id: I71f72c0034319618493137672bf8bf4c46838e09 --- src/main/resources/META-INF/resources/cms2/base.css | 4 ++-- src/main/resources/templates/PostResource/postList.html | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/META-INF/resources/cms2/base.css b/src/main/resources/META-INF/resources/cms2/base.css index 0cec83c..998d453 100644 --- a/src/main/resources/META-INF/resources/cms2/base.css +++ b/src/main/resources/META-INF/resources/cms2/base.css @@ -326,7 +326,7 @@ a.bookmark-title { color: #555; } -.post-self-link, .comment-self-link, .comment-box-self-link { +.post-self-link, .comment-self-link, .comment-box-self-link, .via-self-link { padding-left: 5px; padding-right: 5px; } @@ -382,7 +382,7 @@ article.lazychat-message > header, .comment-info { line-height: 1em; } -a.post-link, a.comment-link, a.comment-box-link { +a.post-link, a.comment-link, a.comment-box-link, a.via-link { text-decoration: none; } diff --git a/src/main/resources/templates/PostResource/postList.html b/src/main/resources/templates/PostResource/postList.html index 935b813..296b93d 100644 --- a/src/main/resources/templates/PostResource/postList.html +++ b/src/main/resources/templates/PostResource/postList.html @@ -84,7 +84,11 @@ ({post.comments.size()}) {/if} - + {#if post.via} + + (via) + + {/if}

🔖 {post.titleWithSentenceEnder}

-- cgit v1.2.3