summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/identity/view.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/templates/identity/view.html b/templates/identity/view.html
index ff42db6..f664736 100644
--- a/templates/identity/view.html
+++ b/templates/identity/view.html
@@ -34,7 +34,19 @@
{% endif %}
{% endif %}
- {{ identity.name_or_handle }} <small>@{{ identity.handle }}</small>
+ {{ identity.name_or_handle }}
+ <small>
+ @{{ identity.handle }}
+ <a title="Copy handle"
+ class="copy"
+ _="on click
+ writeText('@{{ identity.handle }}') into the navigator's clipboard
+ then add .copied
+ wait 2s
+ then remove .copied">
+ <i class="fa-solid fa-copy"></i>
+ </a>
+ </small>
</h1>
{% if identity.summary %}