~tsileo/microblog.pub

42e66b21897a680d787a2fa6ae1c1fda936dd14f — Thomas Sileo 8 months ago 96086a4
Fix lookup page
1 files changed, 1 insertions(+), 1 deletions(-)

M templates/lookup.html
M templates/lookup.html => templates/lookup.html +1 -1
@@ 18,6 18,7 @@
    {% if data | has_actor_type %}
<div style="margin-left:95px;padding-bottom:5px;margin-bottom:15px;display:inline-block;">
{% if following %}
<a class="bar-item" href="/admin/profile?actor_id={{data.id}}">profile</a>
<form action="/api/undo" class="action-form"  method="post">
<input type="hidden" name="redirect" value="{{ request.path }}?url={{request.args.get('url')}}"/>
<input type="hidden" name="id" value="{{ following.remote_id }}"/>


@@ 31,7 32,6 @@
<button type="submit" class="bar-item" onclick="return confirm('Confirm the block action?');">block</button>
</form>
{% else %}
<a class="bar-item" href="/admin/profile?actor_id={{data.id}}">profile</a>
<form action="/api/follow" class="action-form"  method="POST">
<input type="hidden" name="redirect" value="{{ request.path }}"/>
<input type="hidden" name="actor" value="{{ data.id }}"/>