-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New filters added for rendering email addresses, postal addresses, open hours, commitments, URLs and websites _______________________________________________________________________________________ Nouveaux filtres ajoutés pour créer l'affichage des adresses mail, postales, heures d'ouverture, engagements, URLs et sites web
- Loading branch information
Showing
9 changed files
with
43 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
</div><h3>Engagement Citoyen</h3><div class="section row"><span class="col s12 description">{{ gogocommitment|safe }}</span></div> |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<span class="col s12 tel">{% if hideMail and not (isPending and featurePendingAvailable) %}<button class="btn send-mail-btn">Envoyer un Mail</button>{% else %}{{gogoemail|safe}} {% endif %}</span> |
23 changes: 23 additions & 0 deletions
23
src/views/templates/element-filters/gogoopenhours.html.njk
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<h3>Horaires d'ouverture</h3> | ||
<div class="section row sectionOpenHours"> | ||
{% set count = 0 %} | ||
|
||
{% for key, horaire in formatedOpenHours %} | ||
{% if horaire != null %} | ||
|
||
<div class='row'> | ||
<span class="col s3 day">{{ key|capitalize }}</span> | ||
<span class="col s9 openHours">{{ horaire }} </span> | ||
</div> | ||
{% set count = count + 1 %} | ||
|
||
{% endif %} | ||
{% endfor %} | ||
|
||
{% if gogoopenhours %} | ||
<div class='col' {% if count != 0 %}style="margin-top:1rem;"{% endif %}>{{ gogoopenhours|safe }}</div> | ||
{% set count = count + 1 %} | ||
{% endif %} | ||
|
||
{% if count == 0 %}<div class='col'> Non renseignées </div>{% endif %} | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<span class="col s12 tel">{{ gogotelephone|safe }}</span> |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{% for currentUrl in gogourls %}<div class="col s12"><a href="{{ currentUrl.value }}" target="_blank">{{ currentUrl.value|safe }}</a></div>{% endfor %} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<span class="col s12 tel"><a href="{{ gogowebsite }}" target="_blank">{{ gogowebsite|safe }}</a></span> |