Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-mlc
kohinos
Commits
66437ae7
Commit
66437ae7
authored
Oct 06, 2020
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adhésion désactivée quand pas de paiement CB
parent
f0598687
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
adherer.html.twig
templates/adherent/adherer.html.twig
+6
-0
menu.html.twig
templates/common/menu.html.twig
+2
-1
No files found.
templates/adherent/adherer.html.twig
View file @
66437ae7
...
...
@@ -6,6 +6,7 @@
<h4
class=
'mt-3'
><b>
{{
'Adhérer'
|
trans
}}
</b></h4>
</div>
<p>
{%
if
isPayzenEnabled
()
%}
{{
form_start
(
form
)
}}
{{
form_row
(
form.user
)
}}
{%
if
form.groupe
is
defined
%}
...
...
@@ -20,6 +21,11 @@
{{
form_row
(
form.save
)
}}
</div>
{{
form_end
(
form
)
}}
{%
else
%}
<div
class=
'text-center mb-5 mt-2'
>
<p><i>
Vous ne pouvez malheureusement pas adhérer ici, le paiement n'est pas configuré sur cette application.
</i></p>
</div>
{%
endif
%}
</p>
</div>
{%
endblock
%}
templates/common/menu.html.twig
View file @
66437ae7
...
...
@@ -7,7 +7,8 @@
<div
class=
"collapse navbar-collapse"
id=
"navbarSupportedContent"
>
<ul
class=
"navbar-nav ml-auto"
>
{%
if
app.user
is
null
%}
{%
if
app.user
is
null
and
isPayzenEnabled
()
%}
<li
class=
"nav-item dropdownmenu-item has-child dropdown"
role=
"menu-item"
>
<a
href=
"#"
id=
"navbarDropdown1"
role=
"button"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
class=
"nav-link parent dropdown-toggle "
>
{{
'Adhérer'
|
trans
}}
</a>
<div
class=
"dropdown-menu"
aria-labelledby=
"navbarDropdown1"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment