diff --git a/brutaldon/templates/main/toot_partial.html b/brutaldon/templates/main/toot_partial.html index 433f0e4..5243819 100644 --- a/brutaldon/templates/main/toot_partial.html +++ b/brutaldon/templates/main/toot_partial.html @@ -53,83 +53,81 @@ {% endif %} {% if toot.card %} -
-
- +
+
+ - {% if toot.card.description %} -
- {% if toot.card.image %} -
-
- - {{ toot.card.title }} - -
-
- {% endif %} -
-

{{ toot.card.description }}

-
+
+ {% if toot.card.description %} +
+ {% if toot.card.image %} + {% endif %} +
+

{{ toot.card.description }}

+
- {% endif %} + {% endif %} +
+ {% endif %} {% if toot.media_attachments %}
{% for media in toot.media_attachments %} {% if media.type == "image" %} -
+
+ + {% if toot.sensitive %} + {% if media.description  %}
+                                      {{ media.description }}
+                                      {% elif media.text_url %}
+                                      {{ media.text_url }}
+                                      {% else %}
+                                      {{ media.url  }}
+                                      {% endif %} + +
+ {% else %} +
+
- {% else %} -
- -
+ +
{% endif %} {% endfor %} @@ -144,13 +142,13 @@
{% if toot.replies_count > 0 %} - - Reply - + + Reply + {% else %} - - Reply - + + Reply + {% endif %} {% if toot.visibility != 'private' and toot.visibility != 'direct' %} @@ -200,7 +198,7 @@ {{ toot.visibility }}    {% if toot.in_reply_to_id or toot.replies_count > 0 %} - + thread {% else %}