Skip to content

Commit

Permalink
user page: expose DID for bridged Bluesky account
Browse files Browse the repository at this point in the history
for #826
  • Loading branch information
snarfed committed Oct 29, 2024
1 parent 0bbd2a1 commit 6baecb9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/user_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@
title="Copy {{ handle }} to clipboard">
</button>
{% endif %}
{% if proto.LABEL == 'atproto' %}
{% set did = user.get_copy(PROTOCOLS['atproto']) %}
<button class="btn btn-default btn-copy glyphicon glyphicon-tag"
onclick="navigator.clipboard.writeText('{{ did }}')"
title="Copy {{ did }} to clipboard">
{% endif %}
</nobr>
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 6baecb9

Please sign in to comment.