forked from GNUsocial/gnu-social
[COMPONENTS][Conversation] Removed redundant complementary information from notes replied to
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<header class="feed-header">
|
||||
{% set current_path = app.request.get('_route') %}
|
||||
{% if page_title is defined %}
|
||||
{% if current_path starts with 'feed_' %}
|
||||
{% if current_path starts with 'feed_' or 'conversation' in current_path %}
|
||||
<h1 class="section-title">{{ page_title | trans }}</h1>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
|
@@ -170,6 +170,10 @@ class Conversation extends Component
|
||||
*/
|
||||
public function onAppendCardNote(array $vars, array &$result): bool
|
||||
{
|
||||
if (str_contains($vars['request']->getPathInfo(), 'conversation')) {
|
||||
return Event::next;
|
||||
}
|
||||
|
||||
// The current Note being rendered
|
||||
$note = $vars['note'];
|
||||
|
||||
|
Reference in New Issue
Block a user