From 7fc115bcc34687594b6ac48f79368e6ce16a0a33 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Mon, 1 Apr 2024 14:38:31 +0200 Subject: [PATCH] Refined look of rejected and unpublished articles --- web/templates/rejected-articles.html | 9 ++++++--- web/templates/unpublished-articles.html | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/web/templates/rejected-articles.html b/web/templates/rejected-articles.html index 09f024b..e2ddf10 100644 --- a/web/templates/rejected-articles.html +++ b/web/templates/rejected-articles.html @@ -1,11 +1,14 @@ {{define "page-content"}}
-
+
{{range .RejectedArticles}} -
+
{{if index $.MyIDs .ID}} - + {{end}}
{{end}} diff --git a/web/templates/unpublished-articles.html b/web/templates/unpublished-articles.html index 6dbf0d5..9622dd9 100644 --- a/web/templates/unpublished-articles.html +++ b/web/templates/unpublished-articles.html @@ -1,10 +1,13 @@ {{define "page-content"}} -
+
{{range .}} -
+
- +
{{end}}