summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-05 19:37:48 -0700
committerAndrew Godwin2022-12-05 19:37:48 -0700
commitf22869693a04080c3953a904ffa99e9b317d1736 (patch)
tree1d787ee2a8474f79c4658bb29d37d7ba1bab4df1
parentf54d1885b52d32541fd0c407818bf5aabe9ded7d (diff)
downloadtakahe-f22869693a04080c3953a904ffa99e9b317d1736.tar.gz
takahe-f22869693a04080c3953a904ffa99e9b317d1736.tar.bz2
takahe-f22869693a04080c3953a904ffa99e9b317d1736.zip
Add self-view link to identity select
-rw-r--r--templates/identity/select.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/identity/select.html b/templates/identity/select.html
index c4fb569..d63f886 100644
--- a/templates/identity/select.html
+++ b/templates/identity/select.html
@@ -18,5 +18,10 @@
<a href="/identity/create/" class="option new">
<i class="fa-solid fa-plus"></i> Create a new identity
</a>
+ {% if request.identity %}
+ <a href="{{ request.identity.urls.view }}" class="option new">
+ <i class="fa-solid fa-eye"></i> View current profile page ({{ request.identity.name }})
+ </a>
+ {% endif %}
</section>
{% endblock %}