From c6d18e5c18b8eae9680317f89221e837d3a3924e Mon Sep 17 00:00:00 2001 From: Azareal Date: Thu, 20 Aug 2020 15:06:28 +1000 Subject: [PATCH] linkify avatars on profile comments --- templates/header.html | 2 +- templates/profile_comments_row_alt.html | 2 +- themes/cosora/public/profile.css | 3 +++ themes/nox/public/profile.css | 3 +++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/templates/header.html b/templates/header.html index e061de31..a80715ed 100644 --- a/templates/header.html +++ b/templates/header.html @@ -45,7 +45,7 @@ {{/** TODO: Make this a separate template and load it via the theme docks, here for now so we can rapidly prototype the Nox theme **/}} {{if eq .Header.Theme.Name "nox"}}
- Avatar + Avatar
{{.CurrentUser.Name}} {{lang "alerts.no_alerts_short"}} diff --git a/templates/profile_comments_row_alt.html b/templates/profile_comments_row_alt.html index 4203deff..57f1eaf3 100644 --- a/templates/profile_comments_row_alt.html +++ b/templates/profile_comments_row_alt.html @@ -2,7 +2,7 @@
- + {{.CreatedByName}} {{if .Tag}}{{.Tag}}{{end}} diff --git a/themes/cosora/public/profile.css b/themes/cosora/public/profile.css index fbaa7aaf..3f1f3819 100644 --- a/themes/cosora/public/profile.css +++ b/themes/cosora/public/profile.css @@ -5,4 +5,7 @@ padding: 8px; margin-left: 16px; margin-bottom: 12px; +} +.userbit > a { + height: 40px; } \ No newline at end of file diff --git a/themes/nox/public/profile.css b/themes/nox/public/profile.css index df0e5ac4..5a672d6a 100644 --- a/themes/nox/public/profile.css +++ b/themes/nox/public/profile.css @@ -67,6 +67,9 @@ font-size: 17px; line-height: 16px; } +.userbit > a { + height: 40px; +} .userbit img { width: 40px; height: 40px;