UI tweaks

This commit is contained in:
Thomas Sileo
2019-10-20 15:29:58 +02:00
parent 7de81df3e5
commit ae12ade432
3 changed files with 56 additions and 15 deletions

View File

@@ -44,11 +44,13 @@
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
<button type="submit" class="bar-item">unboost</button>
</form>
<span class="bar-item-no-hover"><a style="color:#808080;" href="{{ boost_actor.url | get_url }}">{{ boost_actor.name }}</a> boosted</span>
{{ utils.display_actor_box(boost_actor, after="boosted") }}
{{ utils.display_in_reply_to(item.meta, item.activity.object) }}
</div>
{% else %}
<p style="margin-left:65px;padding-bottom:5px;display:inline-block;">
<span class="bar-item-no-hover"><a style="color:#808080;" href="{{ boost_actor.url | get_url }}">{{ boost_actor.name }}</a> boosted</span>
{{ utils.display_actor_box(boost_actor, after="boosted") }}
{{ utils.display_in_reply_to(item.meta, item.activity.object) }}
</p>
{% endif %}
{% endif %}
@@ -56,6 +58,11 @@
{{ utils.display_note(item.meta.object, meta=item.meta) }}
{% endif %}
{% elif item | has_type('Create') %}
{% if item.activity.object.inReplyTo %}
<p style="margin-left:65px;padding-bottom:5px;display:inline-block;">
{{ utils.display_in_reply_to(item.meta, item.activity.object) }}
</p>
{% endif %}
{{ utils.display_note(item.activity.object, meta=item.meta, no_color=True) }}
{% endif %}