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
1
Merge Requests
1
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
b7da3197
Commit
b7da3197
authored
Apr 08, 2026
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
presta details: in tav env remove some elements
parent
c9726d34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
15 deletions
+23
-15
show.html.twig
templates/themes/kohinos/presta/show.html.twig
+23
-15
No files found.
templates/themes/kohinos/presta/show.html.twig
View file @
b7da3197
...
@@ -8,21 +8,29 @@
...
@@ -8,21 +8,29 @@
<div
class=
"card mb-2"
>
<div
class=
"card mb-2"
>
<div
class=
"card-header"
>
<div
class=
"card-header"
>
<h1>
{{
presta.raison
}}
</h1>
<h1>
{{
presta.raison
}}
</h1>
{%
if
presta.acceptemlc
%}
{%
if
tav_env
==
0
%}
<span
class=
'fa-stack fa-lg'
data-toggle=
'tooltip'
data-placement=
'bottom'
title=
"Accepte la monnaie électronique"
>
{%
if
presta.acceptemlc
%}
<i
class=
'fa fa-at fa-stack-1x'
></i>
<span
class=
'fa-stack fa-lg'
data-toggle=
'tooltip'
data-placement=
'bottom'
title=
"Accepte la monnaie électronique"
>
<i
class=
'fa fa-fw fa-stack-2x'
></i>
<i
class=
'fa fa-at fa-stack-1x'
></i>
</span>
<i
class=
'fa fa-fw fa-stack-2x'
></i>
{%
else
%}
</span>
<span
class=
'fa-stack fa-lg'
data-toggle=
'tooltip'
data-placement=
'bottom'
title=
"N'accepte pas la monnaie électronique"
>
{%
else
%}
<i
class=
'fa fa-at fa-stack-1x'
></i>
<span
class=
'fa-stack fa-lg'
data-toggle=
'tooltip'
data-placement=
'bottom'
title=
"N'accepte pas la monnaie électronique"
>
<i
class=
'fa fa-ban fa-stack-2x text-danger'
></i>
<i
class=
'fa fa-at fa-stack-1x'
></i>
</span>
<i
class=
'fa fa-ban fa-stack-2x text-danger'
></i>
</span>
{%
endif
%}
{%
endif
%}
{%
endif
%}
{%
if
presta.rubriques
|
length
>
0
%}
{%
if
presta.rubriques
|
length
>
0
%}
{%
for
rubrique
in
presta.rubriques
%}
{%
if
tav_env
==
1
%}
<a
class=
'rubrique ml-2'
href=
'
{{
path
(
'show_rubrique'
,
{
'slug'
:
rubrique.slug
}
)
}}
'
>
{{
rubrique.name
}}
</a>
{%
set
presta_rubrique_class
=
'mr-2'
%}
{%
endfor
%}
{%
else
%}
{%
set
presta_rubrique_class
=
'ml-2'
%}
{%
endif
%}
{%
for
rubrique
in
presta.rubriques
%}
<a
class=
'rubrique
{{
presta_rubrique_class
}}
'
href=
'
{{
path
(
'show_rubrique'
,
{
'slug'
:
rubrique.slug
}
)
}}
'
>
{{
rubrique.name
}}
</a>
{%
endfor
%}
{%
endif
%}
{%
endif
%}
{# @TODO : ajouter le lien d'édition uniquement quand l'utilisateur peut l'éditer (Voter?) #}
{# @TODO : ajouter le lien d'édition uniquement quand l'utilisateur peut l'éditer (Voter?) #}
{%
if
app.user
and
(
is_granted
(
'ROLE_SUPER_ADMIN'
)
or
is_granted
(
'ROLE_ADMIN_PRESTATAIRE_GERER_EDIT'
))
%}
{%
if
app.user
and
(
is_granted
(
'ROLE_SUPER_ADMIN'
)
or
is_granted
(
'ROLE_ADMIN_PRESTATAIRE_GERER_EDIT'
))
%}
...
@@ -38,10 +46,10 @@
...
@@ -38,10 +46,10 @@
{%
if
presta.statut
!=
null
%}
{%
if
presta.statut
!=
null
%}
<h6
class=
"card-title text-muted mb-3"
>
{{
presta.statut
}}
</h6>
<h6
class=
"card-title text-muted mb-3"
>
{{
presta.statut
}}
</h6>
{%
endif
%}
{%
endif
%}
{%
if
presta.groupe
!=
null
%}
{%
if
presta.groupe
!=
null
and
tav_env
==
0
%}
<h4
class=
"card-subtitle mb-3"
>
{{
'Groupe local'
|
trans
}}
:
<a
href=
'
{{
path
(
'show_groupe'
,
{
'slug'
:
presta.groupe.slug
}
)
}}
'
>
{{
presta.groupe.__toString
()
}}
</a></h4>
<h4
class=
"card-subtitle mb-3"
>
{{
'Groupe local'
|
trans
}}
:
<a
href=
'
{{
path
(
'show_groupe'
,
{
'slug'
:
presta.groupe.slug
}
)
}}
'
>
{{
presta.groupe.__toString
()
}}
</a></h4>
{%
endif
%}
{%
endif
%}
{%
if
presta.siret
!=
null
%}
{%
if
presta.siret
!=
null
and
tav_env
==
0
%}
<h5
class=
"card-subtitle mb-3"
>
{{
'SIRET'
|
trans
}}
:
{{
presta.siret
}}
</h5>
<h5
class=
"card-subtitle mb-3"
>
{{
'SIRET'
|
trans
}}
:
{{
presta.siret
}}
</h5>
{%
endif
%}
{%
endif
%}
{%
if
app.user
and
presta_extra_data
and
presta.conventionnement
!=
null
and
presta.conventionnement
>
0
%}
{%
if
app.user
and
presta_extra_data
and
presta.conventionnement
!=
null
and
presta.conventionnement
>
0
%}
...
...
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