Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
further integration of EAB with Nucleos [WIP]
- Loading branch information
Showing
53 changed files
with
544 additions
and
1,633 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 28 additions & 26 deletions
54
src/system/LegalBundle/Resources/views/User/acceptPolicies.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
{{ pageSetVar('title', 'Site policies'|trans) }} | ||
<h2>{{ 'Site policies'|trans }}</h2> | ||
{% extends '@EasyAdmin/page/content.html.twig' %} | ||
|
||
{% if login %} | ||
<div class="alert alert-danger"> | ||
{% trans %}In order to log in you must accept this site\'s policies. If you have accepted the site\'s policies in the past, then they have been updated and we ask that you review the changes.{% endtrans %} | ||
<hr /> | ||
{% trans %}If you leave this page without successfully accepting the policies, then you will not be logged in.{% endtrans %} | ||
</div> | ||
{% endif %} | ||
{% block content_title 'Site policies'|trans %} | ||
{% block main %} | ||
{% if login %} | ||
<div class="alert alert-danger"> | ||
{% trans %}In order to log in you must accept this site\'s policies. If you have accepted the site\'s policies in the past, then they have been updated and we ask that you review the changes.{% endtrans %} | ||
<hr /> | ||
{% trans %}If you leave this page without successfully accepting the policies, then you will not be logged in.{% endtrans %} | ||
</div> | ||
{% endif %} | ||
|
||
<form id="legal_user_acceptpolicies" action="{{ path('zikulalegalbundle_user_acceptpolicies') }}" method="post"> | ||
<div> | ||
{{ form_start(form) }} | ||
{{ form_errors(form) }} | ||
<fieldset> | ||
{{ form_row(form.acceptedpolicies_policies) }} | ||
{{ include('@ZikulaLegal/Include/acceptPolicies.html.twig') }} | ||
</fieldset> | ||
<div class="form-group row"> | ||
<div class="col-md-9 offset-md-3"> | ||
{{ form_widget(form.submit) }} | ||
<a class="btn btn-danger" href="{{ path('home') }}" title="{% trans %}Cancel{% endtrans %}">{% trans %}Cancel and logout{% endtrans %}</a> | ||
</div> | ||
</div> | ||
{{ form_end(form) }} | ||
</div> | ||
</form> | ||
<form id="legal_user_acceptpolicies" action="{{ path('zikulalegalbundle_user_acceptpolicies') }}" method="post"> | ||
<div> | ||
{{ form_start(form) }} | ||
{{ form_errors(form) }} | ||
<fieldset> | ||
{{ form_row(form.acceptedpolicies_policies) }} | ||
{{ include('@ZikulaLegal/Include/acceptPolicies.html.twig') }} | ||
</fieldset> | ||
<div class="form-group row"> | ||
<div class="col-md-9 offset-md-3"> | ||
{{ form_widget(form.submit) }} | ||
<a class="btn btn-danger" href="{{ path('home') }}" title="{% trans %}Cancel{% endtrans %}">{% trans %}Cancel and logout{% endtrans %}</a> | ||
</div> | ||
</div> | ||
{{ form_end(form) }} | ||
</div> | ||
</form> | ||
{% endblock %} |
8 changes: 5 additions & 3 deletions
8
src/system/LegalBundle/Resources/views/User/accessibilityStatement.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{{ pageSetVar('title', 'Accessibility statement for %s%'|trans({ '%s%': siteName() })) }} | ||
<h2>{{ 'Accessibility statement for %s%'|trans({ '%s%': siteName() }) }}</h2> | ||
{% extends '@EasyAdmin/page/content.html.twig' %} | ||
|
||
{{ include('@ZikulaLegal/' ~ app.request.locale ~ '/accessibilityStatement.html.twig') }} | ||
{% block content_title 'Accessibility statement for %s%'|trans({ '%s%': siteName() }) %} | ||
{% block main %} | ||
{{ include('@ZikulaLegal/' ~ app.request.locale ~ '/accessibilityStatement.html.twig') }} | ||
{% endblock %} |
8 changes: 5 additions & 3 deletions
8
src/system/LegalBundle/Resources/views/User/cancellationRightPolicy.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{{ pageSetVar('title', 'Cancellation right policy for %s%'|trans({ '%s%': siteName() })) }} | ||
<h2>{{ 'Cancellation right policy for %s%'|trans({ '%s%': siteName() }) }}</h2> | ||
{% extends '@EasyAdmin/page/content.html.twig' %} | ||
|
||
{{ include('@ZikulaLegal/' ~ app.request.locale ~ '/cancellationRightPolicy.html.twig') }} | ||
{% block content_title 'Cancellation right policy for %s%'|trans({ '%s%': siteName() }) %} | ||
{% block main %} | ||
{{ include('@ZikulaLegal/' ~ app.request.locale ~ '/cancellationRightPolicy.html.twig') }} | ||
{% endblock %} |
8 changes: 5 additions & 3 deletions
8
src/system/LegalBundle/Resources/views/User/legalNotice.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{{ pageSetVar('title', 'Legal notice for %s%'|trans({ '%s%': siteName() })) }} | ||
<h2>{{ 'Legal notice for %s%'|trans({ '%s%': siteName() }) }}</h2> | ||
{% extends '@EasyAdmin/page/content.html.twig' %} | ||
|
||
{{ include('@ZikulaLegal/' ~ app.request.locale ~ '/legalNotice.html.twig') }} | ||
{% block content_title 'Legal notice for %s%'|trans({ '%s%': siteName() }) %} | ||
{% block main %} | ||
{{ include('@ZikulaLegal/' ~ app.request.locale ~ '/legalNotice.html.twig') }} | ||
{% endblock %} |
8 changes: 5 additions & 3 deletions
8
src/system/LegalBundle/Resources/views/User/policyNotActive.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{{ pageSetVar('title', 'Policy not available'|trans) }} | ||
<h2>{{ 'Policy not available'|trans }}</h2> | ||
{% extends '@EasyAdmin/page/content.html.twig' %} | ||
|
||
<p>{% trans %}The selected policy is not available.{% endtrans %}</p> | ||
{% block content_title 'Policy not available'|trans %} | ||
{% block main %} | ||
<p>{% trans %}The selected policy is not available.{% endtrans %}</p> | ||
{% endblock %} |
8 changes: 5 additions & 3 deletions
8
src/system/LegalBundle/Resources/views/User/privacyPolicy.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{{ pageSetVar('title', 'Privacy policy for %s%'|trans({ '%s%': siteName() })) }} | ||
<h2>{{ 'Privacy policy for %s%'|trans({ '%s%': siteName() }) }}</h2> | ||
{% extends '@EasyAdmin/page/content.html.twig' %} | ||
|
||
{{ include('@ZikulaLegal/' ~ app.request.locale ~ '/privacyPolicy.html.twig') }} | ||
{% block content_title 'Privacy policy for %s%'|trans({ '%s%': siteName() }) %} | ||
{% block main %} | ||
{{ include('@ZikulaLegal/' ~ app.request.locale ~ '/privacyPolicy.html.twig') }} | ||
{% endblock %} |
8 changes: 5 additions & 3 deletions
8
src/system/LegalBundle/Resources/views/User/termsOfUse.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{{ pageSetVar('title', 'Terms of use for %s%'|trans({ '%s%': siteName() })) }} | ||
<h2>{{ 'Terms of use for %s%'|trans({ '%s%': siteName() }) }}</h2> | ||
{% extends '@EasyAdmin/page/content.html.twig' %} | ||
|
||
{{ include('@ZikulaLegal/' ~ app.request.locale ~ '/termsOfUse.html.twig') }} | ||
{% block content_title 'Terms of use for %s%'|trans({ '%s%': siteName() }) %} | ||
{% block main %} | ||
{{ include('@ZikulaLegal/' ~ app.request.locale ~ '/termsOfUse.html.twig') }} | ||
{% endblock %} |
8 changes: 5 additions & 3 deletions
8
src/system/LegalBundle/Resources/views/User/tradeConditions.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{{ pageSetVar('title', 'Trade conditions for %s%'|trans({ '%s%': siteName() })) }} | ||
<h2>{{ 'Trade conditions for %s%'|trans({ '%s%': siteName() }) }}</h2> | ||
{% extends '@EasyAdmin/page/content.html.twig' %} | ||
|
||
{{ include('@ZikulaLegal/' ~ app.request.locale ~ '/tradeConditions.html.twig') }} | ||
{% block content_title 'Trade conditions for %s%'|trans({ '%s%': siteName() }) %} | ||
{% block main %} | ||
{{ include('@ZikulaLegal/' ~ app.request.locale ~ '/tradeConditions.html.twig') }} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.