Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
socialbase-3251638
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
socialbase-3251638
Commits
f4172a76
Commit
f4172a76
authored
3 years ago
by
Andrii Chyrskyi
Committed by
Navneet Singh
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3216210
by Ressinel: As a LU I want to be able to mute and unmute Group notifications.
parent
0a1df881
No related branches found
Branches containing commit
Tags
7.x-2.0
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/group/group--hero.html.twig
+3
-5
3 additions, 5 deletions
templates/group/group--hero.html.twig
templates/group/group--teaser.html.twig
+0
-4
0 additions, 4 deletions
templates/group/group--teaser.html.twig
with
3 additions
and
9 deletions
templates/group/group--hero.html.twig
+
3
−
5
View file @
f4172a76
...
...
@@ -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
%}
...
...
This diff is collapsed.
Click to expand it.
templates/group/group--teaser.html.twig
+
0
−
4
View file @
f4172a76
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment