forked from numerique-gouv/sites-faciles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from numerique-gouv/main
Mise en production
- Loading branch information
Showing
7 changed files
with
161 additions
and
103 deletions.
There are no files selected for viewing
Binary file not shown.
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
46 changes: 22 additions & 24 deletions
46
numerique_gouv/templates/numerique_gouv/blocks/offer_card.html
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,30 +1,28 @@ | ||
{% load i18n wagtailimages_tags %} | ||
|
||
<div class="fr-col-md-4 fr-col"> | ||
<div class="fr-card fr-enlarge-link"> | ||
<div class="fr-card__body"> | ||
<div class="fr-card__content"> | ||
<h3 class="fr-card__title"> | ||
{% if page.external_link %} | ||
<a href="{{ page.external_link }}" target="_blank" title="{{ page.title }} - Ouvre une nouvelle fenêtre">{{ page.title }}</a> | ||
{% else %} | ||
<a href="{{ page.get_absolute_url }}">{{ page.title }}</a> | ||
{% endif %} | ||
</h3> | ||
<p class="fr-card__desc">{{ page.card_text }}</p> | ||
</div> | ||
<div class="fr-card fr-enlarge-link"> | ||
<div class="fr-card__body"> | ||
<div class="fr-card__content"> | ||
<h3 class="fr-card__title"> | ||
{% if page.external_link %} | ||
<a href="{{ page.external_link }}" target="_blank" title="{{ page.title }} - Ouvre une nouvelle fenêtre">{{ page.title }}</a> | ||
{% else %} | ||
<a href="{{ page.get_absolute_url }}">{{ page.title }}</a> | ||
{% endif %} | ||
</h3> | ||
<p class="fr-card__desc">{{ page.card_text }}</p> | ||
</div> | ||
<div class="fr-card__header"> | ||
<div class="fr-card__img"> | ||
{% image page.card_image original class="fr-responsive-img" alt=page.card_alt_image %} | ||
</div> | ||
<ul class="fr-badges-group"> | ||
{% for organization in page.organizations.all %} | ||
<li> | ||
<p class="fr-badge fr-badge--{{ organization.color }} fr-my-5v">{{ organization.name }}</p> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
<div class="fr-card__header"> | ||
<div class="fr-card__img"> | ||
{% image page.card_image original class="fr-responsive-img" alt=page.card_alt_image %} | ||
</div> | ||
<ul class="fr-badges-group"> | ||
{% for organization in page.organizations.all %} | ||
<li> | ||
<p class="fr-badge fr-badge--{{ organization.color }} fr-my-5v">{{ organization.name }}</p> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</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
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