From 7e0c3e2626426e46df6b537441aea5e0a6b0450b Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 23 Oct 2021 17:20:14 -0700 Subject: [PATCH] Use /userid/ links instead of /user/username. --- frontends/etiquette_flask/templates/album.html | 2 +- frontends/etiquette_flask/templates/header.html | 2 +- frontends/etiquette_flask/templates/photo.html | 2 +- frontends/etiquette_flask/templates/root.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontends/etiquette_flask/templates/album.html b/frontends/etiquette_flask/templates/album.html index 556155c..c1f53be 100644 --- a/frontends/etiquette_flask/templates/album.html +++ b/frontends/etiquette_flask/templates/album.html @@ -246,7 +246,7 @@ const ALBUM_ID = undefined; {% set author = album.get_author() %} {% if author is not none %} -

Author: {{author.display_name}}

+

Author: {{author.display_name}}

{% endif %}

Created on {{album.created|timestamp_to_naturaldate}}.

diff --git a/frontends/etiquette_flask/templates/header.html b/frontends/etiquette_flask/templates/header.html index 54ab064..2490ed5 100644 --- a/frontends/etiquette_flask/templates/header.html +++ b/frontends/etiquette_flask/templates/header.html @@ -4,7 +4,7 @@ Search Tags {% if session.user %} - {{session.user.display_name}} + {{session.user.display_name}} {% else %} Log in diff --git a/frontends/etiquette_flask/templates/photo.html b/frontends/etiquette_flask/templates/photo.html index f978a4e..1699fc5 100644 --- a/frontends/etiquette_flask/templates/photo.html +++ b/frontends/etiquette_flask/templates/photo.html @@ -178,7 +178,7 @@