mirror of
				https://git.sr.ht/~tsileo/microblog.pub
				synced 2025-06-05 21:59:23 +02:00 
			
		
		
		
	Improve shares on homepage
This commit is contained in:
		| @@ -120,6 +120,9 @@ dl { | |||||||
|     strong { |     strong { | ||||||
|         color: $primary-color; |         color: $primary-color; | ||||||
|     } |     } | ||||||
|  |     span { | ||||||
|  |       color: $muted-color; | ||||||
|  |     } | ||||||
| } | } | ||||||
|  |  | ||||||
| div.highlight { | div.highlight { | ||||||
|   | |||||||
| @@ -29,7 +29,7 @@ | |||||||
|     {% if outbox_object.ap_type in ["Note", "Article", "Video", "Question"] %} |     {% if outbox_object.ap_type in ["Note", "Article", "Video", "Question"] %} | ||||||
|     {{ utils.display_object(outbox_object) }} |     {{ utils.display_object(outbox_object) }} | ||||||
|     {% elif outbox_object.ap_type == "Announce" %} |     {% elif outbox_object.ap_type == "Announce" %} | ||||||
|     <div class="shared-header"><strong>{{ utils.display_tiny_actor_icon(local_actor) }} {{ local_actor.display_name | clean_html(local_actor) | safe  }}</strong> shared</div> |     <div class="shared-header"><strong>{{ utils.display_tiny_actor_icon(local_actor) }} {{ local_actor.display_name | clean_html(local_actor) | safe  }}</strong> shared <span title="{{ outbox_object.ap_published_at.isoformat() }}">{{ outbox_object.ap_published_at | timeago }}</span></div> | ||||||
|     {{ utils.display_object(outbox_object.relates_to_anybox_object) }} |     {{ utils.display_object(outbox_object.relates_to_anybox_object) }} | ||||||
|     {% endif %} |     {% endif %} | ||||||
|     {% endfor %} |     {% endfor %} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user