View remote profiles locally
Add a link to the profile on the real instance
This commit is contained in:
@@ -27,6 +27,10 @@
|
||||
{% if is_self %}
|
||||
<a href="edit" class="button inline-block">Edit your profile</a>
|
||||
{% endif %}
|
||||
|
||||
{% if is_remote %}
|
||||
<a class="inline-block button" href="{{ user.ap_url }}">Open on {{ instance_url }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
@@ -22,6 +22,10 @@
|
||||
<span class="badge">It is you</span>
|
||||
{% endif %}
|
||||
</h1>
|
||||
|
||||
{% if is_remote %}
|
||||
<a class="inline-block button" href="{{ user.ap_url }}">Open on {{ instance_url }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<h2>Followers</h2>
|
||||
@@ -33,7 +37,7 @@
|
||||
{% set follower_name = follower.username %}
|
||||
{% endif %}
|
||||
<div class="card">
|
||||
<h3><a href="{{ follower.ap_url }}/">{{ follower_name }}</a> — @{{ follower.fqn }}</h3>
|
||||
<h3><a href="/@/{{ follower.fqn }}/">{{ follower_name }}</a> — @{{ follower.fqn }}</h3>
|
||||
<main><p>{{ follower.summary | safe }}</p></main>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user