-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds polls and surveys from index pages to home page featured content
- Loading branch information
1 parent
ba74869
commit 03cdc54
Showing
3 changed files
with
66 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% load static wagtailcore_tags wagtailimages_tags questionnaires_tags i18n %} | ||
|
||
|
||
<section class="questionnaire-components"> | ||
<section class="questionnaire-components__component" style="color:#E24256;background-color:#f0f0f0"> | ||
<a href="{% pageurl page %}"> | ||
<span class='quiz__details'> | ||
<p>{% translate page.get_type|upper %}</p> | ||
<p>{{ page.title }}</p> | ||
{% include 'questionnaires/index_page_description_lines.html' with page=page %} | ||
</span> | ||
<div class="quiz__imageholder"> | ||
<svg width="6" height="10" viewBox="0 0 6 10" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M1 9L5 5.00033L1 1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/> | ||
</svg> | ||
</div> | ||
</a> | ||
</section> | ||
</section> | ||
|
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