From 3c61696bbd20ed4252fb67ae5e31f0c6542c0e97 Mon Sep 17 00:00:00 2001 From: magmaus3 Date: Sun, 30 Oct 2022 16:15:27 +0100 Subject: [PATCH] Make creatorName a link --- iwm_browser/templates/levelInfo.html | 2 +- iwm_browser/templates/search.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iwm_browser/templates/levelInfo.html b/iwm_browser/templates/levelInfo.html index 39d0256..f325805 100644 --- a/iwm_browser/templates/levelInfo.html +++ b/iwm_browser/templates/levelInfo.html @@ -31,7 +31,7 @@
{{ map['Name'] }}
Difficulty: {{ '▲' * map['AverageUserDifficulty']|int }}
-
by {{ map['CreatorName'] }}
+
{{ map['NumThumbsUp'] }} 👍 {{ map['NumThumbsDown'] }} 👎
{% if map['Description'] != ''%}
{{ map['Description'] }}
{% endif %}
Code:
diff --git a/iwm_browser/templates/search.html b/iwm_browser/templates/search.html index c390101..3b2b37f 100644 --- a/iwm_browser/templates/search.html +++ b/iwm_browser/templates/search.html @@ -66,7 +66,7 @@
Difficulty: {{ '▲' * map['AverageUserDifficulty']|int }}
-
by {{ map['CreatorName'] }}
+
{{ map['NumThumbsUp'] }} 👍 {{ map['NumThumbsDown'] }} 👎
{% if map['Description'] != ''%}
{{ map['Description'] }}
{% endif %}
Code: