From f98ab149a245e335a630ca4dc1d705005ea4fbee Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Sun, 7 Apr 2024 18:57:03 +0200 Subject: [PATCH] Added headings to all templates --- web/templates/add-user.html | 1 + web/templates/current-articles.html | 2 ++ web/templates/edit-user.html | 2 ++ web/templates/editor.html | 1 + web/templates/feed.rss | 3 --- web/templates/login.html | 1 + web/templates/rejected-articles.html | 2 ++ web/templates/rework-article.html | 1 + web/templates/to-be-published.html | 2 ++ web/templates/unpublished-articles.html | 2 ++ 10 files changed, 14 insertions(+), 3 deletions(-) delete mode 100644 web/templates/feed.rss diff --git a/web/templates/add-user.html b/web/templates/add-user.html index 6866c99..bd51ef4 100644 --- a/web/templates/add-user.html +++ b/web/templates/add-user.html @@ -1,5 +1,6 @@ {{define "page-content"}}

Neuer Benutzer

+
diff --git a/web/templates/current-articles.html b/web/templates/current-articles.html index 8769424..c0a25e4 100644 --- a/web/templates/current-articles.html +++ b/web/templates/current-articles.html @@ -1,4 +1,6 @@ {{define "page-content"}} +

Aktuelle Artikel

+
{{range .}}
diff --git a/web/templates/edit-user.html b/web/templates/edit-user.html index ee901f5..1dc25aa 100644 --- a/web/templates/edit-user.html +++ b/web/templates/edit-user.html @@ -1,4 +1,6 @@ {{define "page-content"}} +

Benutzerdaten bearbeiten

+
diff --git a/web/templates/editor.html b/web/templates/editor.html index fd38a64..95b65a3 100644 --- a/web/templates/editor.html +++ b/web/templates/editor.html @@ -1,5 +1,6 @@ {{define "page-content"}}

Editor

+
diff --git a/web/templates/feed.rss b/web/templates/feed.rss deleted file mode 100644 index 303b14c..0000000 --- a/web/templates/feed.rss +++ /dev/null @@ -1,3 +0,0 @@ -{{define "page-content"}} -{{.}} -{{end}} diff --git a/web/templates/login.html b/web/templates/login.html index fefd1d5..d542120 100644 --- a/web/templates/login.html +++ b/web/templates/login.html @@ -1,5 +1,6 @@ {{define "page-content"}}

Anmeldung

+
diff --git a/web/templates/rejected-articles.html b/web/templates/rejected-articles.html index 54b2c05..34fb75b 100644 --- a/web/templates/rejected-articles.html +++ b/web/templates/rejected-articles.html @@ -1,4 +1,6 @@ {{define "page-content"}} +

Abgelehnte Artikel

+
{{range .RejectedArticles}} {{if index $.MyIDs .ID}} diff --git a/web/templates/rework-article.html b/web/templates/rework-article.html index bbdbaab..2abab9f 100644 --- a/web/templates/rework-article.html +++ b/web/templates/rework-article.html @@ -1,5 +1,6 @@ {{define "page-content"}}

Editor

+
diff --git a/web/templates/to-be-published.html b/web/templates/to-be-published.html index f54ce1a..7820093 100644 --- a/web/templates/to-be-published.html +++ b/web/templates/to-be-published.html @@ -1,4 +1,6 @@ {{define "page-content"}} +

Artikel veröffentlichen

+
Titel
diff --git a/web/templates/unpublished-articles.html b/web/templates/unpublished-articles.html index 1682047..c189e87 100644 --- a/web/templates/unpublished-articles.html +++ b/web/templates/unpublished-articles.html @@ -1,4 +1,6 @@ {{define "page-content"}} +

Unveröffentlichte Artikel

+
{{range .}}