mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Make 'in reply to' more user-friendly by hiding the URL behind object type
This commit is contained in:
parent
cf6a891349
commit
7faa4655f8
2 changed files with 3 additions and 4 deletions
|
@ -415,7 +415,6 @@ a.label-btn {
|
|||
margin: 15px 0;
|
||||
padding: 20px;
|
||||
.in-reply-to {
|
||||
color: $muted-color;
|
||||
&:hover {
|
||||
color: $secondary-color;
|
||||
text-decoration: underline;
|
||||
|
|
|
@ -376,9 +376,9 @@
|
|||
{% endif %}
|
||||
|
||||
{% if object.in_reply_to %}
|
||||
<a href="{% if is_admin and object.is_in_reply_to_from_inbox %}{{ url_for("get_lookup") }}?query={% endif %}{{ object.in_reply_to }}" title="{{ object.in_reply_to }}" class="in-reply-to" rel="nofollow">
|
||||
in reply to {{ object.in_reply_to|truncate(64, True) }}
|
||||
</a>
|
||||
<p>in reply to <a href="{% if is_admin and object.is_in_reply_to_from_inbox %}{{ url_for("get_lookup") }}?query={% endif %}{{ object.in_reply_to }}" title="{{ object.in_reply_to }}" class="in-reply-to" rel="nofollow">
|
||||
this {{ object.ap_type|lower }}
|
||||
</a></p>
|
||||
{% endif %}
|
||||
|
||||
{% if object.ap_type == "Article" %}
|
||||
|
|
Loading…
Reference in a new issue