- {{if lt . 4}}
+ {{if lt .Role 4}}
{{end}}
- {{if lt . 2}}
+ {{if lt .Role 2}}
Ausgabe
@@ -33,16 +34,16 @@
{{end}}
- {{if lt . 4}}
+ {{if lt .Role 4}}
Benutzer
- {{if eq . 0}}
diff --git a/web/templates/index.html b/web/templates/index.html
index 7d60954..b95243a 100644
--- a/web/templates/index.html
+++ b/web/templates/index.html
@@ -39,7 +39,7 @@
diff --git a/web/templates/published-articles.html b/web/templates/published-articles.html
index 00d9c3f..8e21fea 100644
--- a/web/templates/published-articles.html
+++ b/web/templates/published-articles.html
@@ -5,7 +5,7 @@
{{range .Articles}}
{{.Title}}
- {{.Description}}
+ {{.Summary}}
{{end}}
diff --git a/web/templates/rejected-articles.html b/web/templates/rejected-articles.html
index 54f2571..f5acd35 100644
--- a/web/templates/rejected-articles.html
+++ b/web/templates/rejected-articles.html
@@ -6,7 +6,7 @@
{{if index $.MyIDs .ID}}
{{.Title}}
- {{.Description}}
+ {{.Summary}}
{{end}}
{{end}}
diff --git a/web/templates/review-article.html b/web/templates/review-article.html
index 6d85855..ee57a5a 100644
--- a/web/templates/review-article.html
+++ b/web/templates/review-article.html
@@ -2,6 +2,10 @@
{{.ActionTitle}}
+
+
+
+
Titel
{{.Article.Title}}
@@ -9,7 +13,7 @@
Beschreibung
- {{.Article.Description}}
+ {{.Article.Summary}}
Artikel
diff --git a/web/templates/unpublished-articles.html b/web/templates/unpublished-articles.html
index 52ae8c6..23b9cde 100644
--- a/web/templates/unpublished-articles.html
+++ b/web/templates/unpublished-articles.html
@@ -5,7 +5,7 @@
{{range .}}
{{.Title}}
- {{.Description}}
+ {{.Summary}}
{{end}}
Zurück