Commit f4172a76 authored by Andrii Chyrskyi's avatar Andrii Chyrskyi Committed by navneet0693
Browse files

Issue #3216210 by Ressinel: As a LU I want to be able to mute and unmute Group notifications.

parent 0a1df881
......@@ -85,11 +85,6 @@
{% if group_operations_url %}
<div class="hero-footer__cta">
{% if content.flag_mute_group_notify|render is not empty and logged_in %}
<div class="btn-group">
{{ content.flag_mute_group_notify }}
</div>
{% endif %}
<div class="btn-group">
{% if user_is_invited %}
<div class="dropdown">
......@@ -103,6 +98,9 @@
<button type="button" autocomplete="off" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn btn-accent btn-lg btn-raised dropdown-toggle">{% trans with {'context': 'Is a member'} %}Joined{% endtrans %}<span class="caret"></span></button>
<ul class="dropdown-menu dropdown-menu-right">
<li><a href="{{ group_operations_url }}">{% trans %}Leave group{% endtrans %}</a></li>
{% if content.flag_mute_group_notifications|render is not empty and logged_in %}
<li>{{ content.flag_mute_group_notifications }}</li>
{% endif %}
</ul>
{% elseif closed_group %}
{% if allow_request %}
......
......@@ -144,10 +144,6 @@
</span>
{% endif %}
{% if content.flag_mute_group_notify|render is not empty and logged_in %}
{{ content.flag_mute_group_notify }}
{% endif %}
<a href="{{ url }}" class="card__link" title="{{ label }}">
{% trans %}Read more{% endtrans %}
<span class="visually-hidden">{% trans %}about {{ label }}{% endtrans %} </span>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment