mirror of
				https://git.sr.ht/~tsileo/microblog.pub
				synced 2025-06-05 21:59:23 +02:00 
			
		
		
		
	Make 'in reply to' more user-friendly by hiding the URL behind object type
This commit is contained in:
		
				
					committed by
					
						 Thomas Sileo
						Thomas Sileo
					
				
			
			
				
	
			
			
			
						parent
						
							cf6a891349
						
					
				
				
					commit
					7faa4655f8
				
			| @@ -415,7 +415,6 @@ a.label-btn { | |||||||
|     margin: 15px 0; |     margin: 15px 0; | ||||||
|     padding: 20px; |     padding: 20px; | ||||||
|     .in-reply-to { |     .in-reply-to { | ||||||
|         color: $muted-color; |  | ||||||
|         &:hover { |         &:hover { | ||||||
|             color: $secondary-color; |             color: $secondary-color; | ||||||
|             text-decoration: underline; |             text-decoration: underline; | ||||||
|   | |||||||
| @@ -376,9 +376,9 @@ | |||||||
|     {% endif %} |     {% endif %} | ||||||
|  |  | ||||||
|     {% if object.in_reply_to %} |     {% 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"> |     <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"> | ||||||
|             in reply to {{ object.in_reply_to|truncate(64, True) }} |             this {{ object.ap_type|lower }} | ||||||
|         </a> |         </a></p> | ||||||
|     {% endif %} |     {% endif %} | ||||||
|  |  | ||||||
|     {% if object.ap_type == "Article" %} |     {% if object.ap_type == "Article" %} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user