From 885af6ae6e8b8fc2cc9d15c848ef2cb9aafc7fbd Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Tue, 27 Aug 2019 23:02:19 +0200 Subject: [PATCH] Add more profile links --- sass/base_theme.scss | 1 + templates/followers.html | 5 +++++ templates/following.html | 1 + templates/lookup.html | 2 ++ templates/utils.html | 1 - 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/sass/base_theme.scss b/sass/base_theme.scss index d8bf0f9..437095b 100644 --- a/sass/base_theme.scss +++ b/sass/base_theme.scss @@ -284,6 +284,7 @@ a:hover { .bar-item:hover { background: $primary-color; color: $background-color; + text-decoration: none; } .bar-item-no-border { color: $color-light; diff --git a/templates/followers.html b/templates/followers.html index b492e29..f1bba01 100644 --- a/templates/followers.html +++ b/templates/followers.html @@ -9,6 +9,11 @@
{% for follower in followers_data %} + {% if session.logged_in %} +
+profile +
+ {% endif %}
{{ utils.display_actor_inline(follower, size=80) }}
diff --git a/templates/following.html b/templates/following.html index fff0d8d..f084d32 100644 --- a/templates/following.html +++ b/templates/following.html @@ -11,6 +11,7 @@ {% for (follow_id, follow) in following_data %} {% if session.logged_in %}
+profile
diff --git a/templates/lookup.html b/templates/lookup.html index 07873c2..21a19a9 100644 --- a/templates/lookup.html +++ b/templates/lookup.html @@ -16,6 +16,7 @@
{% if data | has_actor_type %}
+profile @@ -26,6 +27,7 @@ {{ utils.display_actor_inline(data, size=80) }} + {% elif data | has_type('Create') %} {{ utils.display_note(data.object, ui=True) }} {% elif data | has_type(['Note', 'Article', 'Video', 'Audio', 'Page', 'Question']) %} diff --git a/templates/utils.html b/templates/utils.html index 1ead28a..b51426a 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -316,7 +316,6 @@ {% endif %} {% else %} -profile {% endif %} {% endif %}