Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
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
agplv3
kohinos-tav
Commits
e35e896f
Commit
e35e896f
authored
Dec 07, 2022
by
Yvon Kerdoncuff
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '4180-remove-adherer-button' into 'develop'
remove adhesion See merge request cooperatic/kohinos-tav!12
parents
4314a749
acbaa34a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
AdhesionController.php
src/Controller/AdhesionController.php
+4
-0
menu.html.twig
templates/themes/kohinos/common/menu.html.twig
+1
-1
No files found.
src/Controller/AdhesionController.php
View file @
e35e896f
...
@@ -42,6 +42,10 @@ class AdhesionController extends AbstractController
...
@@ -42,6 +42,10 @@ class AdhesionController extends AbstractController
*/
*/
public
function
adhererAction
(
Request
$request
)
public
function
adhererAction
(
Request
$request
)
{
{
if
(
$this
->
getParameter
(
'tav_env'
)
==
true
)
{
return
$this
->
redirect
(
$this
->
router
->
generate
(
'index'
));
}
$adherent
=
new
Adherent
();
$adherent
=
new
Adherent
();
$form
=
$this
->
createForm
(
AdhererFormType
::
class
,
$adherent
);
$form
=
$this
->
createForm
(
AdhererFormType
::
class
,
$adherent
);
...
...
templates/themes/kohinos/common/menu.html.twig
View file @
e35e896f
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div
class=
"collapse navbar-collapse"
id=
"navbarSupportedContent"
>
<div
class=
"collapse navbar-collapse"
id=
"navbarSupportedContent"
>
<ul
class=
"navbar-nav ml-auto"
>
<ul
class=
"navbar-nav ml-auto"
>
{%
if
app.user
is
null
and
((
KOH_USE_WORDPRESS
is
defined
and
KOH_USE_PAYZEN
==
'true'
)
or
(
KOH_USE_HELLOASSO
is
defined
and
KOH_USE_HELLOASSO
==
'true'
))
%}
{%
if
app.user
is
null
and
((
KOH_USE_WORDPRESS
is
defined
and
KOH_USE_PAYZEN
==
'true'
)
or
(
KOH_USE_HELLOASSO
is
defined
and
KOH_USE_HELLOASSO
==
'true'
))
and
not
tav_env
%}
<li
class=
"nav-item dropdownmenu-item has-child dropdown"
role=
"menuitem"
>
<li
class=
"nav-item dropdownmenu-item has-child dropdown"
role=
"menuitem"
>
<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>
<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>
...
...
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