{% trans "Enter your username or email address and you'll receive an email with a link you need to click, in order to log in and change your password." %}
+
+{% if settings.USE_L10N and LANGUAGES|length > 1 %}
+{% get_language_info_list for LANGUAGES as languages %}
+
+{% endif %}
+
+{% if dropdown_menu_sites and dropdown_menu_sites|length > 1 %}
+
+{% endif %}
+
+ {% include 'agenda/includes/event_date_line.html' with object=event %}
+ {% if event.prices.all.0|floatformat != '0' and event.prices.all|length > 0 and not is_archive %}
+
+ {% trans "Reserve" %}
+
+ {% endif %}
+
+{% endblock %}
+
+{% block image %}
+ {% with event.images.all|get_type:'card' as images %}
+ {% if images %}
+
+
+
+
+
+ {% else %}
+ {% with event.parent.images.all|get_type:'card' as images %}
+ {% if images %}
+
+
+
+
+
+ {% endif %}
+ {% endwith %}
+ {% endif %}
+ {% endwith %}
+{% endblock %}
+
+{% block tags %}
+ {% keywords_for event as tags %}
+ {% if event.departments.all.0 or tags %}
+ {% if event.departments.all.0 %}
+
{% trans "If you didn't request for your password to be reset, please ignore this email." %}
+{% endblock %}
+
diff --git a/app/themes/vertigo_starts_eu/templates/email/password_reset_verify.txt b/app/themes/vertigo_starts_eu/templates/email/password_reset_verify.txt
new file mode 100644
index 00000000..48b52500
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/email/password_reset_verify.txt
@@ -0,0 +1,7 @@
+{% load i18n %}
+{% block main %}
+{% trans "Hey there, the password reset form was used for your account." %}
+{% trans "Please use the link below to log in and update your password." %}
+http://{{ request.get_host }}{{ verify_url }}
+{% trans "If you didn't request for your password to be reset, please ignore this email." %}
+{% endblock %}
diff --git a/app/themes/vertigo_starts_eu/templates/email/password_reset_verify_subject.txt b/app/themes/vertigo_starts_eu/templates/email/password_reset_verify_subject.txt
new file mode 100644
index 00000000..72060ab7
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/email/password_reset_verify_subject.txt
@@ -0,0 +1,2 @@
+{% load i18n %}
+{% trans "Reset your password" %}
diff --git a/app/themes/vertigo_starts_eu/templates/email/signup_verify.html b/app/themes/vertigo_starts_eu/templates/email/signup_verify.html
new file mode 100644
index 00000000..93ff38ff
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/email/signup_verify.html
@@ -0,0 +1,6 @@
+{% load i18n %}
+{% block main %}
+
{% trans "Hey there, thanks for creating your account." %}
+
{% trans "Please use the link below to activate it." %}
+ {% for slider in home.dynamiccontenthomeslider_set.all %}
+ {% with slider.content_object.images.all|get_type:'slider' as images %}
+ {% if images %}
+
+ {% for slider in home.dynamiccontenthomeslider_set.all %}
+ {% with slider.content_object.images.all|get_type:'slider' as images %}
+ {% if images %}
+
+ {% if slider.content_type.model == "brief" %}
+ {% include "magazine/brief/inc/brief_card.html" %}
+ {% elif slider.content_type.model == "article" %}
+ {% include "magazine/article/includes/article_card.html" with object=slider.content_object %}
+ {% elif slider.content_type.model == "event" %}
+ {% include "agenda/event/includes/event_card.html" with object=slider.content_object %}
+ {% elif slider.content_type.model == "custompage" %}
+ {% include "pages/page/includes/page_card.html" with object=slider.content_object %}
+ {% elif slider.content_type.model == "media" %}
+ {% include "media/media/includes/media_card.html" with object=slider.content_object %}
+ {% elif slider.content_type.model == "person" %}
+ {% include "network/person/includes/person_card.html" with object=slider.content_object %}
+ {% endif %}
+
+ {% endif %}
+ {% endwith %}
+ {% endfor %}
+
+
+
+
diff --git a/app/themes/vertigo_starts_eu/templates/includes/editable_form.html b/app/themes/vertigo_starts_eu/templates/includes/editable_form.html
new file mode 100644
index 00000000..d4ac0396
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/includes/editable_form.html
@@ -0,0 +1,28 @@
+{% load i18n %}
+
+{# Edit form #}
+
+
+{# Original content wrapped in span #}
+
Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.
+
Heading 2
+
Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.
+
Heading 3
+
Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.
+
Heading 4
+
Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.
+
Heading 5
+
Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.
+
Heading 6
+
Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.
+
+
+
+
Block Elements
+
+
Paragraphs and Images
+
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor.
+
+
+
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem.
+
+
Blockquote
+
+
This is a standard paragraph. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
+
+ "This is a blockquote. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl."
+
+
This is a standard paragraph. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
+
+
Figure-Caption
+
+
+
+ The figcaption element example
+
+
+
Details-Summary
+
+
+ The summary element example
+
The details example text. It may be styled differently based on what browser or operating system you are using.
diff --git a/app/themes/vertigo_starts_eu/templates/includes/language_selector.html b/app/themes/vertigo_starts_eu/templates/includes/language_selector.html
new file mode 100644
index 00000000..fffd3a39
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/includes/language_selector.html
@@ -0,0 +1,20 @@
+{% load i18n %}
+{% get_language_info_list for LANGUAGES as languages %}
+{% if settings.USE_MODELTRANSLATION and languages|length > 1 %}
+
+
+
+{% endif %}
diff --git a/app/themes/vertigo_starts_eu/templates/includes/languages.html b/app/themes/vertigo_starts_eu/templates/includes/languages.html
new file mode 100644
index 00000000..a4232f53
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/includes/languages.html
@@ -0,0 +1,9 @@
+{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %}
+{% if settings.USE_MODELTRANSLATION and languages|length > 1 %}
+ {% nevercache %}
+ {% include "includes/language_selector.html" %}
+ {% endnevercache %}
+ {% for language in languages %}
+ {{ language.code|title }}
+ {% endfor %}
+{% endif %}
diff --git a/app/themes/vertigo_starts_eu/templates/includes/pagination.html b/app/themes/vertigo_starts_eu/templates/includes/pagination.html
new file mode 100644
index 00000000..2c5bfaf5
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/includes/pagination.html
@@ -0,0 +1,35 @@
+{% load i18n %}
+
+{% if current_page.has_previous or current_page.has_next %}
+
\ No newline at end of file
diff --git a/app/themes/vertigo_starts_eu/templates/includes/user_panel.html b/app/themes/vertigo_starts_eu/templates/includes/user_panel.html
new file mode 100644
index 00000000..cfbab248
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/includes/user_panel.html
@@ -0,0 +1,12 @@
+{% load mezzanine_tags %}
+
+ {% for playlist in playlists %}
+ {% with playlist.type as type %}
+ {% with "media/inc/playlist_"|add:type|add:"_card.html" as template %}
+ {% include template %}
+ {% endwith %}
+ {% endwith %}
+ {% endfor %}
+
+{% endblock %}
+
+{% block main %}
+ {{ block.super }}
+
+ {% pagination_for playlists %}
+{% endblock %}
diff --git a/app/themes/vertigo_starts_eu/templates/media/playlist_overlay.html b/app/themes/vertigo_starts_eu/templates/media/playlist_overlay.html
new file mode 100644
index 00000000..b769b185
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/media/playlist_overlay.html
@@ -0,0 +1,9 @@
+{% with playlist.type as type %}
+ {% with "media/inc/playlist_"|add:type|add:"_detail.html" as template %}
+ {% include template %}
+ {% endwith %}
+{% endwith %}
+
+
+ {{ playlist.content|safe }}
+
diff --git a/app/themes/vertigo_starts_eu/templates/media/video/inc/video_search.html b/app/themes/vertigo_starts_eu/templates/media/video/inc/video_search.html
new file mode 100644
index 00000000..5c81dfcf
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/media/video/inc/video_search.html
@@ -0,0 +1,23 @@
+{% load i18n mezzanine_tags organization_tags %}
+{% with video.get_absolute_url as video_url %}
+ {% if video.poster_url %}
+
+
+ {% else %}
+
+ {% endif %}
+
+ {% if video_url %}
+ {{ video }}
+ {% else %}
+ {{ video }}
+ {% endif %}
+
+ {% if video.description != video|stringformat:"s" %}
+
+ {% endeditable %}
+
+ {% with media as object %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {% endwith %}
+
+
+
+
+
+
+
{{ media.title }}
+ {% if media.description %}
+
+ {{ media.description }}
+
+ {% endif %}
+
+
+
+
+
+
diff --git a/app/themes/vertigo_starts_eu/templates/network/inc/person/list_circle_style.html b/app/themes/vertigo_starts_eu/templates/network/inc/person/list_circle_style.html
new file mode 100644
index 00000000..e9730e2d
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/network/inc/person/list_circle_style.html
@@ -0,0 +1,52 @@
+{% load organization_tags mezzanine_tags i18n %}
+{% if person_list_block.title %}
+
+
+
+
+
+
+
+
+
+
+
{{ person_list_block.title }}
+
+
+ {% if person_list_block.description %}
+
{{ person_list_block.description }}
+ {% endif %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {% for person_list_block_inline in person_list_block.person_list_block_inlines.all %}
+ {% with person_list_block_inline.person as person %}
+
+ {% with person_list_block_inline.person as person %}
+
+ {% include "network/inc/person/person_card_circle.html" %}
+
+ {% endwith %}
+
+ {% endwith %}
+ {% endfor %}
+
+
+ {% endeditable %}
+
+ {% with person.images.all|get_type:'page_featured' as card_images %}
+ {% if card_images %}
+
+
+
+ {% endif %}
+ {% endwith %}
+{% endblock %}
+
+{% block page_content %}
+ {% editable person.bio %}
+ {{ person.bio|richtext_filters|safe }}
+ {% endeditable %}
+
+ {% if not person.email and person.activities.all and person.activities.all.0.teams.all %}
{% trans 'Email' %} : {{ person_email }}
{% elif person.email %}
{% trans 'Email' %} : {{ person.email|unspam }}
{% endif %}
+
+ {% with person.activities.all as activities %}
+ {% if activities %}
+ {#
{% trans 'Activities' %}
#}
+
+ {% with activities.0 as activity %}
+
+ {% with activity.teams.all as teams %}
+ {% with activity.organizations.all|is_not_host as organizations %}
+ {% with activity.employers.all|is_not_host as employers %}
+ {% if teams %}
+ {% trans 'Team' %} :
+ {% for team in teams %}
+ {{ team.name }}
+ {% if organizations %}({% for organization in organizations %}{{ organization.name }}{% if not forloop.last %}, {% endif %}{% endfor %})
+ {% elif employers %}({% for employer in employers %}{{ employer.name }}{% if not forloop.last %}, {% endif %}{% endfor %}){% endif %}
+
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
+ {% endwith %}
+ {% endwith %}
+
+ {{ page.title }}
+ {# remove this if tag to always show all nav items #}
+ {% if page.is_current_or_ascendant and page.has_children_in_menu %}
+ {% page_menu page %}
+ {% endif %}
+
+ {% endif %}
+
+ {% endfor %}
+
+{% endif %}
+{% endspaceless %}
diff --git a/app/themes/vertigo_starts_eu/templates/pages/menus/footer_vertical.html b/app/themes/vertigo_starts_eu/templates/pages/menus/footer_vertical.html
new file mode 100644
index 00000000..2f58e8ff
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/pages/menus/footer_vertical.html
@@ -0,0 +1,25 @@
+{% load i18n pages_tags staticfiles %}
+{% get_language_info_list for LANGUAGES as languages %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% for page in page_branch %}
+ {% if page.is_primary %}
+ {% if forloop.first %}
+
+ {{ page.title }}
+ {# wrap the next line with 'if page.is_current_or_ascendant' #}
+ {# to only show child pages in the menu for the current page #}
+ {% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
+
{% trans "Sign up for our monthly newsletter to keep up to date with the institute's activities every month and be eligible to take advantage of special offers from our partners." %}
+ {% with page.teampage.team.partner_projects.published|get_type:"internal" as projects %}
+ {% if projects %}
+
+
+
{% trans "Research topics and related projects" %}
+ {% include 'projects/inc/project_list.html' %}
+
+
+ {% endif %}
+ {% endwith %}
+ {% with page.teampage.team.leader_projects.published|get_type:"external" as leader_projects %}
+ {% with page.teampage.team.partner_projects.published|get_type:"external" as partner_projects %}
+ {% if leader_projects or partner_projects %}
+
+
+
{% trans "European and national projects" %}
+ {% with leader_projects as projects %}
+ {% include 'projects/inc/project_list.html' %}
+ {% endwith %}
+ {% with partner_projects as projects %}
+ {% include 'projects/inc/project_list.html' %}
+ {% endwith %}
+
+{% url "login" as login_url %}
+{% url "signup" as signup_url %}
+{% with request.path as next %}
+{% blocktrans %}
+If you have an existing account or would like to create one, please
+log in or
+sign up.
+{% endblocktrans %}
+{% endwith %}
+
+ {% endif %}
+ {% if shipping_type or shipping_total %}
+
+ {{ shipping_total|currency }}
+
+ {% endif %}
+ {% if tax_total %}
+
+ {{ tax_total|currency }}
+
+ {% endif %}
+
{{ order_total|currency }}
+
diff --git a/app/themes/vertigo_starts_eu/templates/shop/includes/order_totals.txt b/app/themes/vertigo_starts_eu/templates/shop/includes/order_totals.txt
new file mode 100644
index 00000000..fdbb3a89
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/shop/includes/order_totals.txt
@@ -0,0 +1,11 @@
+{% load shop_tags i18n %}{% if discount_total or shipping_total %}
+{% trans "Sub total" %}: {{ item_total|currency }}
+{% endif %}{% if discount_total %}
+{% if discount_type %}{{ discount_type }}{% else %}{% trans "Discount" %}{% endif %}: {{ discount_total|currency }}
+{% endif %}{% if shipping_type or shipping_total %}
+{% if shipping_type %}{{ shipping_type }}{% else %}{% trans "Shipping" %}{% endif %}: {{ shipping_total|currency }}
+{% endif %} {% if tax_total %}
+{% if tax_type %}{{ tax_type }}{% else %}{% trans "Tax" %}{% endif %}: {{ tax_total|currency }}
+{% endif %}{% trans "Total" %}: {{ order_total|currency }}
+
+
diff --git a/app/themes/vertigo_starts_eu/templates/shop/includes/payment_fields.html b/app/themes/vertigo_starts_eu/templates/shop/includes/payment_fields.html
new file mode 100644
index 00000000..235519a2
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/shop/includes/payment_fields.html
@@ -0,0 +1,14 @@
+{% load i18n mezzanine_tags %}
+
diff --git a/app/themes/vertigo_starts_eu/templates/shop/includes/product_list_circle_style.html b/app/themes/vertigo_starts_eu/templates/shop/includes/product_list_circle_style.html
new file mode 100644
index 00000000..06e46523
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/shop/includes/product_list_circle_style.html
@@ -0,0 +1,49 @@
+{% load organization_tags mezzanine_tags %}
+{% if list %}
+
+
+
+
+
+
{{ list.title }}
+ {% if list.description %}
+
{{ list.description }}
+ {% endif %}
+
+
+
+
+
+
+ {% for product_inline in list.products.all %}
+ {% with product_inline.product as product %}
+ {% with product.links.all|get_type_link:"link" as links %}
+
+{% endif %}
diff --git a/app/themes/vertigo_starts_eu/templates/shop/includes/product_list_square_style.html b/app/themes/vertigo_starts_eu/templates/shop/includes/product_list_square_style.html
new file mode 100644
index 00000000..4f15b98a
--- /dev/null
+++ b/app/themes/vertigo_starts_eu/templates/shop/includes/product_list_square_style.html
@@ -0,0 +1,51 @@
+{% load organization_tags mezzanine_tags %}
+{% if list %}
+
+
+
+
+
{{ list.title }}
+ {% if list.description %}
+
{{ list.description }}
+ {% endif %}
+
+
+
+
+
+
+
+ {% for product_inline in list.products.all %}
+ {% with product_inline.product as product %}
+ {% with product.links.all|get_type_link:"link" as links %}
+ {% with product.prestashop_products.all as prestashop_products %}
+
{{ comment.user_name }} + {% else %} +
+
+
+ {% rating_for comment %}
+
+ {% endif %}
+
+
+ {% else %}
+ {% endif %}
+ {% endeditable %}
+
{{ comment.user_name }} + {% endif %} + + {% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %} + +
+{{ comment.comment|comment_filter }}
+ {% endif %} + + {% if not comment.is_removed and comment.is_public %} + + {% trans "Link" %} + | + + {% trans "Reply" %} + + {% if settings.COMMENTS_USE_RATINGS %} ++ {% if comment.is_removed %} + {% trans "Comment deleted" %} + {% else %} + {% trans "Comment awaiting approval" %} + {% endif %} + {% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %} +
+ {% endif %} + + {% comment_thread comment %} + + {% if not comment.is_removed and comment.is_public or request.user.is_staff %}{% trans "There are currently no comments" %}
+{% endif %} + diff --git a/app/themes/vertigo_starts_eu/templates/generic/includes/comments.html b/app/themes/vertigo_starts_eu/templates/generic/includes/comments.html new file mode 100644 index 00000000..56932e3f --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/generic/includes/comments.html @@ -0,0 +1,29 @@ +{% load i18n mezzanine_tags comment_tags %} +{% trans "Comments" %}
+{% if settings.COMMENTS_DISQUS_SHORTNAME %} +{% include "generic/includes/disqus_comments.html" %} +{% else %} + + +{% comment_thread object_for_comments %} +{% trans "New Comment" %}
+ +{% endif %} ++ +
+{{ title }}
+{{ description|truncatechars:100 }}
+ ++ {% for slider in home.dynamiccontenthomeslider_set.all %} + {% with slider.content_object.images.all|get_type:'slider' as images %} + {% if images %} +-
+
+
+
+
+
+
+
+
+
+
+
+
+ {% if slider.content_object.prices.all.0|floatformat != '0' and slider.content_object.prices.all|length > 0 %}
+ {% for price in slider.content_object.prices.all %}
+ {% if forloop.first %}
+
+
+
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+
+
+
+
+
+ {% trans 'News' %}
+
+ {% elif slider.content_type.model == 'event' %}
+ {% if slider.content_object.category %}
+
+ {{ slider.content_object.category }}
+
+ {% endif %}
+ {% elif slider.content_type.model == 'media' %}
+
+ {{ slider.content_object|get_media_type }}
+
+ {% endif %}
+
+
+ {% if slider.content_type.model != 'event' %}
+ {{ slider.content_object.sub_title }}
+ {% endif %}
+ {% if slider.content_object.start %}
+ {% with slider.content_object as event %}
+ {% if slider.content_object.sub_title %}
+
+
+ {{ slider.content_object.description|richtext_filters|safe|truncatechars_html:200 }}
+
+
+
+
+
+
+
+
+
+
+ {% endif %}
+ {% endwith %}
+
+ {% endfor %}
+
+{{ slider.content_object.title }}
+ + {% if slider.content_type.model == 'article' %} ++ {% endif %} + {% include 'agenda/includes/event_date_slider.html' %} + {% endwith %} + {% endif %} + {% if slider.content_object.location %} +
{{ slider.content_object.location }} + {% endif %} +
+ {% for link in host_organization.links.all %} +-
+ {{ link.title }}
+
+ {% endfor %}
+
+ ++ {% if field.label %}{% endif %} + {% if field.help_text %} + {{ field.help_text }} + {% endif %} + {{ field }} +
+ {% if field.errors %} ++ {% for e in field.errors %} + {% if not forloop.first %} / {% endif %}{{ e }} + {% endfor %} +
+ {% endif %} +Headings
+ +Heading 1
+Heading 2
+Heading 3
+Heading 4
+Heading 5
+Heading 6
+ ++ +
Headings with Text
+ +Heading 1
+Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.
+Heading 2
+Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.
+Heading 3
+Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.
+Heading 4
+Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.
+Heading 5
+Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.
+Heading 6
+Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.
+ ++ +
Block Elements
+ +Paragraphs and Images
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor.
+ +
+ +Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem.
+ +Blockquote
+ +This is a standard paragraph. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
+ +This is a standard paragraph. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
+ +Figure-Caption
+ +Details-Summary
+ +The summary element example
+The details example text. It may be styled differently based on what browser or operating system you are using.
++ +
Text Elements
+ +The a element and external a element examples
+The abbr element and an abbr element with title examples
+The ACRONYM element example
+The b element example
+The cite element example
+The
+code element
exampleThe data element example
+The
+del elementexampleThe dfn element and dfn element with title examples
+The em element example
+The i element example
+The ins element example
+The kbd element example
+The mark element example
+The
+ exampleThe
+ exampleThe
+s elementexampleThe samp element example
+The small element example
+The span element example
+The strong element example
+The sub element example
+The sup element example
+The example
+The u element example
+The var element example
+ ++ +
Monospace / Preformatted
+Code block wrapped in "pre" and "code" tags
+ +Monospace Text wrapped in "pre" tags
+ ++ +
List Types
+ +Ordered List
++- List Item 1
+ - List Item 2
+ - List Item 3
+
+ - List Item 4
+
+ ++- List Item 3.1
+ - List Item 3.2
+
+ - List Item 3.3
+
++- List Item 3.2.1
+ - List Item 3.2.2
+
+Unordered List
++- List Item 1
+ - List Item 2
+ - List Item 3
+
+ - List Item 4
+
+ ++- List Item 3.1
+ - List Item 3.2
+
+ - List Item 3.3
+
++- List Item 3.2.1
+ - List Item 3.2.2
+
+Definition List
++- Definition Term 1
+ - Definition Description 1
+ - Definition Term 2
+ - Definition Description 2
+
+ ++ +
Tables
+ ++ +
Media
+ +The Audio Element:
+ + +The Video Element:
+ + +Embedded content:
+YouTube video (iframe):
+ + ++ +
Form Elements
+ +The Fieldset:
+ diff --git a/app/themes/vertigo_starts_eu/templates/includes/instagram.html b/app/themes/vertigo_starts_eu/templates/includes/instagram.html new file mode 100644 index 00000000..859eb96c --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/includes/instagram.html @@ -0,0 +1,12 @@ +{% load instagram_client %} + +{% instagram_user_recent_media ircam_paris %} + ++ + {% if current_page.has_previous %} +-
+
+ {% trans 'Previous page' %}
+
+
+ {% endif %}
+
+ {% for page in current_page.visible_page_range %}
+ -
+ {{ page }}
+
+ {% endfor %}
+
+ {% if current_page.has_next %}
+ -
+
+ {% trans 'Next page' %}
+
+
+ {% endif %}
+
+
++-
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ {% if is_event %}
+ -
+
+
+
+
+ -
+
+
+
+
+ {% endif %}
+
diff --git a/app/themes/vertigo_starts_eu/templates/includes/sidebar.html b/app/themes/vertigo_starts_eu/templates/includes/sidebar.html new file mode 100644 index 00000000..d3fbd0e1 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/includes/sidebar.html @@ -0,0 +1,7 @@ +{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags %} + ++ {% featured_events as events %} + {% for event in events %} +-
+
+
+
+
+
+ {% endfor %}
+
++ {{ event.title }} +
+ {% include "agenda/includes/event_metainfo_slider.html" %} +Twitter
+ Â + +{% endifinstalled %} + {% include "accounts/includes/user_panel.html" %} + {% endifinstalled %} +
{% trans "Candidacies" %}
+{% endblock %} + +{% block page_content %} + + {% if candidacy %} + + {% for content in candidacy %} + {% include "job/inc/candidacy_card.html" %} + {% endfor %} + + {% else %} + +{% trans "Please come back later. There is no candidacy at the moment." %}
+ + {% endif %} + +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/job/inc/candidacy_card.html b/app/themes/vertigo_starts_eu/templates/job/inc/candidacy_card.html new file mode 100644 index 00000000..889269fc --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/job/inc/candidacy_card.html @@ -0,0 +1,44 @@ +{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %} +{{ content.title }}
+ {% endeditable %} + ++ {% elif content.date_from %} + {% trans "From" %} {{ content.date_from|date:"DATE_FORMAT" }}
+ {% elif content.date_to %} + {% trans "until" %}{{ content.date_to|date:"DATE_FORMAT" }}
+ {% endif %} + {% endeditable %} +
+ {% editable content.description %} + {{ content.description|safe }} + {% endeditable %} +
+ {{ jo.title }} +
+ ++ {% endif %} + {% editable jo.description %} + {{ jo.description|slice:":255" }} + {% endeditable %} +
{{ job_offer.title }}
+ {% endeditable %} + +{% endblock %} + +{% block page_content %} + + {% include "core/inc/messages.html" %} + + {% comment %} +{% trans "Category" %} : {{ job_offer.type }}
+ {% endcomment %} + {% editable job_offer.content %} + {{ job_offer.content|richtext_filters|safe }} + {% endeditable %} + + + {% with form as job_offer.job_response %} + {% include "job/inc/job_response_form.html" %} + {% endwith %} +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/job/job_offer_list.html b/app/themes/vertigo_starts_eu/templates/job/job_offer_list.html new file mode 100644 index 00000000..6e2a5887 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/job/job_offer_list.html @@ -0,0 +1,32 @@ +{% extends "vertigo_starts_eu/pages/page.html" %} +{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %} + +{% block meta_title %}{% trans "Jobs" %}{% endblock %} + +{% block meta_description %}{% metablock %} +{{ job_offer.description }} +{% endmetablock %}{% endblock %} + +{% block page_class %} + job_offer +{% endblock %} + +{% block page_title %} +{% trans "Jobs" %}
+{% endblock %} + +{% block page_content %} + + {% if job_offer %} + + {% for jo in job_offer %} + {% include "job/inc/job_offer_card.html" %} + {% endfor %} + + {% else %} + +{% trans "Please come back later. There is no job offer at the moment." %}
+ + {% endif %} + +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/magazine/article/article_detail.html b/app/themes/vertigo_starts_eu/templates/magazine/article/article_detail.html new file mode 100644 index 00000000..e5f65349 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/magazine/article/article_detail.html @@ -0,0 +1,113 @@ +{% extends "vertigo_starts_eu/pages/page.html" %} +{% load mezzanine_tags keyword_tags i18n organization_tags %} + +{% block meta_title %}{{ article.meta_title }}{% endblock %} + +{% block meta_keywords %}{% metablock %} +{% keywords_for article as tags %} +{% for tag in tags %}{% if not forloop.first %}, {% endif %}{{ tag }}{% endfor %} +{% endmetablock %}{% endblock %} + +{% block meta_description %}{% metablock %} + {{ article.description }} +{% endmetablock %}{% endblock %} + +{% block page_class %} + article +{% endblock %} + +{% block body_class %} + {% if department_weaving_css_class %} + pattern pattern-bg {{ department_weaving_css_class }} + {% endif %} +{% endblock %} + +{% block page_title %} + + {% editable article.title %} +{{ article.title }}
+ {% endeditable %} + + {% if article.sub_title %} + {% editable article.sub_title %} +{% trans "News" %}
++ + {{ brief.title }} + +
++ {{ brief.description }} +
+ + + {{ brief.text_button }} +{{ brief.title }}
+{{ brief.description|truncatechars:100 }}
+ {{ brief.text_button }} +{{content.content_object.title }}
+{{ topic.title }}
+{{ topic.description|slice:":255" }}
+ +{{ topic.title }}
+ {% endeditable %} +{{ media.title }}
+ {% endeditable %} +{% endblock %} + + +{% block page_sidebar %} + ++-
+ {% for transcoded in media.transcoded.all %}
+ {% if transcoded.mime_type == "audio/mp4" or transcoded.mime_type == "audio/mp3" %}
+ {{ media.title }}{% if media.description %} {{ media.description }}{% endif %}
+ {% endif %}
+ {% endfor %}
+
+
+ ++-
+
+
+ -
+
+
+ -
+
+
+
+{{ media.title }}
+ {% if media.description %} ++ {{ media.description }} +
+ {% endif %} + ++ {% if audio_url %} + {{ audio }} + {% else %} + {{ audio }} + {% endif %} +
+ {% if audio.description != audio|stringformat:"s" %} +{{ audio.description|truncatewords_html:200|safe }}
+ {% endif %} + {% if audio_url %} + {% trans "read more" %} + {% endif %} ++{% endwith %} diff --git a/app/themes/vertigo_starts_eu/templates/media/inc/playlist_audio_card.html b/app/themes/vertigo_starts_eu/templates/media/inc/playlist_audio_card.html new file mode 100644 index 00000000..4accaa95 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/media/inc/playlist_audio_card.html @@ -0,0 +1,20 @@ +{% load mezzanine_tags keyword_tags i18n organization_tags staticfiles %} + +
{{ playlist.title }}
+{{playlist.title}}
+{% endif %} +{% if playlist.description %} ++ {{playlist.description}} +
+{% endif %} + + + ++ {% for media in playlist.medias.all %} +-
+ {% with media.media as media %}
+ {% for transcoded in media.transcoded.all %}
+ {% if transcoded.mime_type == "audio/mp4" or transcoded.mime_type == "audio/mp3" %}
+ {{ media.title }}{% if media.description %} {{ media.description }}{% endif %}
+ {% endif %}
+ {% endfor %}
+ {% endwith %}
+
+ {% endfor %}
+
diff --git a/app/themes/vertigo_starts_eu/templates/media/inc/playlist_search.html b/app/themes/vertigo_starts_eu/templates/media/inc/playlist_search.html new file mode 100644 index 00000000..898892bf --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/media/inc/playlist_search.html @@ -0,0 +1,60 @@ +{% extends "core/inc/search_card.html" %} +{% load i18n mezzanine_tags organization_tags %} + +{% block title %} + {{ result }} +{% endblock %} + +{% block icon %}file-{{playlist.type}}-o{% endblock %} + +{% block tags %} ++ {% if playlist_url %} + {{ playlist.title }} + {% else %} + {{ playlist }} + {% endif %} +
+ {% if playlist.description != playlist|stringformat:"s" %} +{{ playlist.description|truncatewords_html:200|safe }}
+ {% endif %} + {% if playlist_url %} + {% trans "read more" %} + {% endif %} ++{% endwith %} + +{% block image %} + {% if playlist.medias.all.0.media.poster_url %} + +
{{ media.content_object.title }}
+ + {% if media.content_object.description %} +{{ media.content_object.description|truncatechars:100 }}
+ {% endif %} + + {% comment %} + {% if media.content_object.poster_url %} +{% trans 'View all medias' %}
+ +{{ playlist.title }}
+{{playlist.title}}
+{% endif %} +{% if playlist.description %} ++ {{playlist.description}} +
+{% endif %} + ++ {% endif %} + {% spaceless %} +- {{ media.title }}{% if media.description %} {{ media.description }}{% endif %}
+ {% endspaceless %}
+ {% if forloop.last %}
+
+ {% endif %} + {% endwith %} +{% endfor %} diff --git a/app/themes/vertigo_starts_eu/templates/media/inc/playlist_video_slider.html b/app/themes/vertigo_starts_eu/templates/media/inc/playlist_video_slider.html new file mode 100644 index 00000000..a9672773 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/media/inc/playlist_video_slider.html @@ -0,0 +1,45 @@ +{% load mezzanine_tags %} + +{{playlist.title}}
++ {{playlist.description}} +
+ {% endif %} ++ {% for media in playlist.medias.all %} + {% with media.media as media %} +-
+
+
+
+
+
+ {{ media.title }}
+
+
+
+ {% endwith %}
+ {% endfor %}
+
+{{ object.title }}
+{{ playlist.title }}
+ {% endeditable %} +{% endblock %} + +{% block page_sidebar %} + +{% trans "Media" %}
+ {% endeditable %} +{% endblock %} + +{% block meta_title %}{% trans "Media" %}{% endblock %} + +{% block page_sidebar %} ++-
+
+ {% trans 'audio' %}{% if current_type == 'audio' %} {% endif %}
+
+
+ -
+
+ {% trans 'video' %}{% if current_type == 'video' %} {% endif %}
+
+
+
+ + +{% endblock %} + +{% block page_content %} ++ {% if video_url %} + {{ video }} + {% else %} + {{ video }} + {% endif %} +
+ {% if video.description != video|stringformat:"s" %} +{{ video.description|truncatewords_html:200|safe }}
+ {% endif %} + {% if video_url %} + {% trans "read more" %} + {% endif %} ++{% endwith %} diff --git a/app/themes/vertigo_starts_eu/templates/media/video/video_detail.html b/app/themes/vertigo_starts_eu/templates/media/video/video_detail.html new file mode 100644 index 00000000..39537c31 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/media/video/video_detail.html @@ -0,0 +1,69 @@ +{% extends "vertigo_starts_eu/pages/page.html" %} +{% load mezzanine_tags keyword_tags i18n organization_tags %} + +{% block meta_title %}{% trans "Media" %}{% endblock %} + +{% block meta_keywords %}{% metablock %} +{% keywords_for person as keywords %} +{% for keyword in keywords %} + {% if not forloop.first %}, {% endif %} + {{ keyword }} +{% endfor %} +{% endmetablock %}{% endblock %} + +{% block page_class %} + media +{% endblock %} + +{% block page_title %} + {% editable media.title %} +
{{ media.title }}
+ {% endeditable %} +{% endblock %} + +{% block page_sidebar %} + ++ {{ media.description }} +
+ {% endif %} + ++ {% spaceless %} +- {{ media.title }}
+ {% endspaceless %}
+
+ +{% endblock %} + +{% block page_video %} + +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/media/video/video_overlay.html b/app/themes/vertigo_starts_eu/templates/media/video/video_overlay.html new file mode 100644 index 00000000..e3390dd3 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/media/video/video_overlay.html @@ -0,0 +1,69 @@ +{% load mezzanine_tags keyword_tags i18n organization_tags %} + ++ {% spaceless %} +- {{ media.title }}
+ {% endspaceless %}
+
+ ++-
+
+
+ -
+
+
+ -
+
+
+
+{{ media.title }}
+ {% if media.description %} ++ {{ media.description }} +
+ {% endif %} + +{{ person_list_block.title }}
+{{ person_list_block.description }}
+ {% endif %} + +{{ person_list_block.title }}
+{{ person_list_block.description }}
+ {% endif %} + +{{ person.first_name }} {{ person.last_name }}
+ + {% if person.description %} +{{ person.first_name }} {{ person.last_name }}
+ + {% if person.description %} ++ {% for organization in organizations %} +-
+
+
+
+ {{ organization.name }}
+
+
+ {{ organization.city }}, {{ organization.country.name }}
+
+
+ {{ organization.type }}, {{ organization.type.css_class }}
+
+
+ {{ organization.description }}
+
+
+
+ {% comment %}
+ {{ organization.name }}
+ {% endif %}
+ {% endwith %}
+
++ {{ organization.lat }}
+ {{ organization.lon }}
+ {{ organization.city }}
+ {{ organization.country.name }}
+ + + {% with organization.links|get_type_link:'link' as links %} + {% if links %} + {{ links.first }} + {% endif %} + {% endwith %} +
+ + {% with organization.images.all|get_type:'logo' as images %} + {% if images %} +
+ {% endcomment %} + + {% endfor %} +
{% trans "Timesheet" %}
+{% endblock %} + +{% block page_content %} + + Back to dashboard + + + + +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/network/person_activity_timesheet/person_activity_timesheet_list.html b/app/themes/vertigo_starts_eu/templates/network/person_activity_timesheet/person_activity_timesheet_list.html new file mode 100644 index 00000000..78aba877 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/network/person_activity_timesheet/person_activity_timesheet_list.html @@ -0,0 +1,41 @@ +{% extends "vertigo_starts_eu/pages/page.html" %} +{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %} + +{% block meta_title %}{% trans "Timesheet" %}{% endblock %} + +{% block page_class %} + time_sheet +{% endblock %} + +{% block page_title %} +{% trans "Timesheet" %}
+{% endblock %} + +{% block page_content %} + + Declare this month + {{ timesheets_by_project }} + {% if timesheets_by_year %} + {% for year_k, year_v in timesheets_by_year.items %} +{{ year_k }}
+ {% for project_k, project_v in year_v.items %} +{{ project_k }}
+{% trans "No timesheet." %}
+ + {% endif %} + +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/network/person_detail.html b/app/themes/vertigo_starts_eu/templates/network/person_detail.html new file mode 100644 index 00000000..2c34d1a2 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/network/person_detail.html @@ -0,0 +1,162 @@ +{% extends "vertigo_starts_eu/pages/page.html" %} +{% load mezzanine_tags keyword_tags i18n organization_tags pages_tags %} + +{% block meta_title %}{{ person.meta_title }}{% endblock %} + +{% block meta_keywords %}{% metablock %} +{% keywords_for person as keywords %} +{% for keyword in keywords %} + {% if not forloop.first %}, {% endif %} + {{ keyword }} +{% endfor %} +{% endmetablock %}{% endblock %} + +{% block page_class %} + person +{% endblock %} + +{% block breadcrumb_menu %} + {{ block.super }} +{{ person.title }}
+ {% endeditable %} + + {% with person.images.all|get_type:'page_featured' as card_images %} + {% if card_images %} +{% trans 'Email' %} : {{ person_email }}
{% elif person.email %}{% trans 'Email' %} : {{ person.email|unspam }}
{% endif %} + + {% with person.activities.all as activities %} + {% if activities %} + {#{% trans 'Activities' %}
#} ++ {% with activities.0 as activity %} +-
+ {% with activity.teams.all as teams %}
+ {% with activity.organizations.all|is_not_host as organizations %}
+ {% with activity.employers.all|is_not_host as employers %}
+ {% if teams %}
+ {% trans 'Team' %} :
+ {% for team in teams %}
+ {{ team.name }}
+ {% if organizations %}({% for organization in organizations %}{{ organization.name }}{% if not forloop.last %}, {% endif %}{% endfor %})
+ {% elif employers %}({% for employer in employers %}{{ employer.name }}{% if not forloop.last %}, {% endif %}{% endfor %}){% endif %}
+
+ {% endwith %}
+
+ {% endif %} + {% endwith %} + +{% endblock %} + +{% block page_related_content %} + +{% if related.event %} ++ {% endfor %} + {% endif %} + {% endwith %} + {% endwith %} + {% endwith %} +
{% trans "Linked events" %}
+{% trans "Linked contents" %}
+{% trans 'Links' %}
+ {% include 'core/inc/link.html' %} + {% endif %} + {% endwith %} +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/network/person_detail_multiple_activities.html b/app/themes/vertigo_starts_eu/templates/network/person_detail_multiple_activities.html new file mode 100644 index 00000000..6f31591e --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/network/person_detail_multiple_activities.html @@ -0,0 +1,109 @@ +{% extends "vertigo_starts_eu/pages/page.html" %} +{% load mezzanine_tags keyword_tags i18n organization_tags pages_tags %} + +{% block meta_title %}{{ person.meta_title }}{% endblock %} + +{% block meta_keywords %}{% metablock %} +{% keywords_for person as keywords %} +{% for keyword in keywords %} + {% if not forloop.first %}, {% endif %} + {{ keyword }} +{% endfor %} +{% endmetablock %}{% endblock %} + +{% block page_class %} + person +{% endblock %} + +{% block breadcrumb_menu %} + {{ block.super }} +{{ person.title }}
+ {% endeditable %} +{% endblock %} + +{% block page_content %} + {% editable person.bio %} + {{ person.bio|richtext_filters|safe }} + {% endeditable %} + +{% trans 'Email' %} : {{ person_email }}
+ + {% if person.activities.all|length > 0 %} +{% trans 'Activities' %}
++ {% for activity in person.activities.all %} +-
+ {% comment %}
+ {% if activity.function %}
+ {% trans 'Function'%} : {{ activity.function }}
+ {% endfor %}
+
+ {% endif %} +{% endblock %} + +{% block page_sidebar %} + {% if person.images.all %} + {% with person.images.all|get_type:'page_featured' as images %} + {% if images.first %} ++ {% endif %} + {% if activity.status %} + {% trans 'Status'%} : {{ activity.status }}
+ {% endif %} + {% endcomment %} + {% with activity.teams.all as teams %} + {% if teams %} + {% trans 'Team' %} : + {% for team in teams %} + {{ team.name }}{% if not forloop.last %}, {% endif %} + {% endfor %} +
+ {% endif %} + {% endwith %} + {% with activity.organizations.all as organizations %} + {% with activity.employers.all as employers %} + {% if organizations %} + {% trans 'Organization' %} : + {% for organization in organizations %} + {{ organization.name }}{% if not forloop.last %}, {% endif %} + {% endfor %} +
+ {% elif employers %} + {% trans 'Organization' %} : + {% for employer in employers %} + {{ employer.name }}{% if not forloop.last %}, {% endif %} + {% endfor %} +
+ {% endif %} + {% endwith %} + {% endwith %} + {% if activity.date_from or activity.date_to %} + {% if not activity.date_from and not activity.date_to|date_year_higher_than:10 %} + {% trans 'Period' %} : {% trans 'to' %} {{ activity.date_to }}
+ {% elif not activity.date_to %} + {% trans 'Period'%} : {% trans 'from' %} {{ activity.date_from }}
+ {% else %} + {% trans 'Period'%} : {% trans 'from' %} {{ activity.date_from }} {% if not activity.date_to|date_year_higher_than:10 %}{% trans 'to' %} {{ activity.date_to }}{% endif %}
+ {% endif %} + {% endif %} +
{% trans 'Links' %}
+ {% include 'core/inc/link.html' %} + {% endif %} + {% endwith %} +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/network/person_list.html b/app/themes/vertigo_starts_eu/templates/network/person_list.html new file mode 100644 index 00000000..e69de29b diff --git a/app/themes/vertigo_starts_eu/templates/pages/custompage.html b/app/themes/vertigo_starts_eu/templates/pages/custompage.html new file mode 100644 index 00000000..bb3a6b94 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/custompage.html @@ -0,0 +1,102 @@ +{% extends "vertigo_starts_eu/pages/page.html" %} +{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %} + + {% with page.custompage as object %} + {% block page_class %} + custompage + {% endblock %} + + {% block body_class %} + {% with page.get_ascendants|last as top_level_parent %} + {% if top_level_parent.get_content_model.weaving_css_class %} + pattern pattern-bg {{ top_level_parent.get_content_model.weaving_css_class }} + {% endif %} + {% endwith %} + {% endblock %} + + {% block page_title %} + {% editable page.custompage.title %} +{{ page.custompage.title }}
+ {% endeditable %} + {% endblock %} + + {% block page_content %} + + {% with page.get_ascendants|last as top_level_parent %} + {% if linked_organization_content and research_slug == top_level_parent.slug %} + {% include 'pages/page/includes/linked_organization_content.html' %} + {% endif %} + {% endwith %} + + {% if page.custompage.sub_title %} + {% editable page.custompage.sub_title %} +{{ page.departmentpage.sub_title }}
+ {% endeditable %} + +{% endblock %} + +{% block page_content %} + + {{ linked_organization_content.all }} + {% if linked_organization_content and research_slug == page.departmentpage.slug %} + {% include 'pages/page/includes/linked_organization_content.html' %} + {% endif %} + + {% if page.departmentpage.content %} + {% editable page.departmentpage.content %} + {{ page.departmentpage.content|richtext_filters|safe }} + {% endeditable %} + {% endif %} + +{% endblock %} + +{% block page_audio %} + {% with page as object %} + {{ block.super }} + {% endwith %} +{% endblock %} + +{% block page_slider %} + {% with page as object %} + {{ block.super }} + {% endwith %} +{% endblock %} + +{% block page_video %} + {% with page as object %} + {{ block.super }} + {% endwith %} +{% endblock %} + +{% block page_sub_content %} + {% with page.blocks.all as blocks %} + {% include "core/inc/block.html" %} + {% endwith %} +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/pages/form.html b/app/themes/vertigo_starts_eu/templates/pages/form.html new file mode 100644 index 00000000..13a81908 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/form.html @@ -0,0 +1,73 @@ +{% extends "vertigo_starts_eu/pages/page.html" %} +{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %} + +{% with page as object %} + + {% block page_class %} + custompage + {% endblock %} + + {% block body_class %} + {% with page.get_ascendants|last as top_level_parent %} + {% if top_level_parent.get_content_model.weaving_css_class %} + pattern pattern-bg {{ top_level_parent.get_content_model.weaving_css_class }} + {% endif %} + {% endwith %} + {% endblock %} + + {% block page_title %} + {% editable page.title %} +{{ page.title }}
+ {% endeditable %} + {% endblock %} + + {% block page_content %} + ++ {% endif %} + {% endif %} + {% if page.in_menu %} + {% if forloop.first and not page.parent.in_menu and not page.is_primary %} + {% endif %} +-
+ {{ page.title }}
+
+ {% endif %}
+ {% if page.is_primary %}
+ {% if forloop.last %}
+
+
+ {% endif %} + {% endif %} + {% endfor %} +{% endif %} +{% endspaceless %} diff --git a/app/themes/vertigo_starts_eu/templates/pages/menus/admin.html b/app/themes/vertigo_starts_eu/templates/pages/menus/admin.html new file mode 100644 index 00000000..13d48544 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/menus/admin.html @@ -0,0 +1,57 @@ +{% load pages_tags i18n staticfiles mezzanine_tags organization_tags %} + ++ {% for page in page_branch %} + {% ifchanged page.in_menus %} + {% for menu in page.in_menus %} + {% if page.branch_level == 0 %} +-
+
+
+ +
+ -
+
+ {% set_page_permissions page %}
+ {% if page.perms.delete %}
+
+ {% else %}
+
+ {% endif %}
+ {% if page.perms.change %}
+ {{ page.title.strip|default:" " }}
+ | {{ page.content_model }}
+ {% else %}
+ {{ page.title }}
+ - {{ page.content_model }}
+ {% endif %}
+
+
+
+
+ {% if page.perms.add %}
+
+ {% endif %}
+
+
+
+ {% endfor %}
+
diff --git a/app/themes/vertigo_starts_eu/templates/pages/menus/breadcrumb.html b/app/themes/vertigo_starts_eu/templates/pages/menus/breadcrumb.html new file mode 100644 index 00000000..bf40eaf8 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/menus/breadcrumb.html @@ -0,0 +1,31 @@ +{% load i18n pages_tags %} + +{% if on_home %} ++
{{ menu|get_mezzanine_menu_name }}
++ {% endif %} + {% endfor %} + {% endifchanged %} +
+ {% if page.has_children %}{% page_menu page %}{% endif %} +
+-
+ {{ page.title }}
+ {% if page.is_current %}
+
+ {% endif %}
+ {% if page.is_current_or_ascendant %}
+ {% if page.has_children_in_menu %}
+ {% page_menu page %}
+ {% endif %}
+ {% endif %}
+ {% if page.is_primary and page.is_current_or_ascendant %}
+
+ {% endif %} + {% endif %} + {% endfor %} + {% endif %} + {% if branch_level == 1 %} + {% for page in page_branch %} + {% if page.in_menu and page.in_menus|first %} ++ {% include "pages/menus/current_tree_summary.html" %} +
+ {% endif %} ++ {% page_menu page %} +
++ {% include "pages/menus/current_tree_summary.html" %} +
+ {% endif %} + {% if page.is_current_or_ascendant and not page.has_children_in_menu %} ++ {% include "pages/menus/current_tree_summary.html" %} +
+ {% endif %} ++ {% endif %} + {% if page.in_menu and page.has_children_in_menu %} + {% if page.is_primary and page.is_current_or_ascendant %} +-
+ {% trans 'Home' %}
+
+ {% endif %}
+ {% if page.is_current_or_ascendant %}
+ {% if page.has_children_in_menu %}
+ {% page_menu page %}
+ {% endif %}
+ {% endif %}
+ {% if page.is_primary and page.is_current_or_ascendant %}
+ {% endif %}
+ {% elif page.in_menu and current_page.in_menus == page.in_menus %}
+ -
+ {{page.title}}
+
+ {% endif %}
+ {% if forloop.last %}
+
+ {% endif %} + {% endfor %} + {% endif %} + {% if branch_level == 1 %} + {% for page in page_branch %} ++ {% page_menu page %} +
++ {% include "pages/menus/current_tree_summary.html" %} +
+ {% endif %} + {% if page.is_current_or_ascendant and not page.has_children_in_menu %} ++ {% include "pages/menus/current_tree_summary.html" %} +
+ {% endif %} ++ {% endif %} + {% if page.is_current_or_ascendant %} + {% if page.has_children_in_menu %} + {% page_menu page %} + {% endif %} + {% endif %} + {% if page.is_primary and page.is_current_or_ascendant %} +
+ {% else %} ++ {% include "pages/menus/current_tree_summary.html" %} +
+ {% endif %} + {% endif %} + {% endif %} + {% endfor %} + {% elif branch_level == 1 %} + {% for page in page_branch %} + {% if page.is_current_or_ascendant and page.has_children_in_menu %} ++ {% include "pages/menus/current_tree_summary.html" %} +
+ {% endif %} + {% endfor %} + {% elif branch_level == 2 %} + {% for page in page_branch %} ++ {% include "pages/menus/current_tree_summary.html" %} +
+ {% endif %} ++ {% for page in page_branch %} + {% if not has_home and page.is_primary and forloop.first %} +-
+ {% trans "Home" %}
+
+ {% endif %}
+ {% if page.in_menu %}
+ -
+ {{ page.title }}{% if page.has_children_in_menu %}{% endif %}
+ {% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
+
+ {% endif %}
+ {% endfor %}
+
+ {% else %} ++ {% for page in page_branch %} + {% if page.in_menu %} +-
+ {{ page.title }}
+ {% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
+
+ {% endif %}
+ {% endfor %}
+
+ {% endif %} +{% endif %} +{% endspaceless %} diff --git a/app/themes/vertigo_starts_eu/templates/pages/menus/footer_horizontal.html b/app/themes/vertigo_starts_eu/templates/pages/menus/footer_horizontal.html new file mode 100644 index 00000000..8b849302 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/menus/footer_horizontal.html @@ -0,0 +1,25 @@ +{% load i18n pages_tags staticfiles organization_tags %} +{% get_language_info_list for LANGUAGES as languages %} + +{% spaceless %} +{% if page_branch_in_menu %} + {% for page in page_branch %} + {% if page.is_primary %} + {% if forloop.first %} ++ {% endif %} + {% endif %} + {% if page.in_menu %} +-
+ {{ page.title }}
+
+ {% endif %}
+
+ {% if page.is_primary %}
+ {% if forloop.last %}
+
+ {% endif %} + {% endif %} + {% endfor %} +{% endif %} +{% endspaceless %} diff --git a/app/themes/vertigo_starts_eu/templates/pages/menus/footer_tree.html b/app/themes/vertigo_starts_eu/templates/pages/menus/footer_tree.html new file mode 100644 index 00000000..a1c8c99a --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/menus/footer_tree.html @@ -0,0 +1,31 @@ +{% load i18n pages_tags %} + +{% spaceless %} +{% if page_branch_in_menu %} ++ {% for page in page_branch %} + + {% if not has_home and page.is_primary and forloop.first %} +-
+ {% trans "Home" %}
+
+ {% endif %}
+
+ {% if page.in_menu %}
+ -
+ {{ page.title }}
+ {# remove this if tag to always show all nav items #}
+ {% if page.is_current_or_ascendant and page.has_children_in_menu %}
+ {% page_menu page %}
+ {% endif %}
+
+ {% endif %}
+
+ {% endfor %}
+
+{% endif %} +{% endspaceless %} diff --git a/app/themes/vertigo_starts_eu/templates/pages/menus/footer_vertical.html b/app/themes/vertigo_starts_eu/templates/pages/menus/footer_vertical.html new file mode 100644 index 00000000..2f58e8ff --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/menus/footer_vertical.html @@ -0,0 +1,25 @@ +{% load i18n pages_tags staticfiles %} +{% get_language_info_list for LANGUAGES as languages %} + +{% spaceless %} +{% if page_branch_in_menu %} + {% for page in page_branch %} + {% if page.is_primary %} + {% if forloop.first %} ++ {% endif %} + {% endif %} + {% if page.in_menu %} +-
+ {{ page.title }}
+
+ {% endif %}
+
+ {% if page.is_primary %}
+ {% if forloop.last %}
+
+ {% endif %} + {% endif %} + {% endfor %} +{% endif %} +{% endspaceless %} diff --git a/app/themes/vertigo_starts_eu/templates/pages/menus/header.html b/app/themes/vertigo_starts_eu/templates/pages/menus/header.html new file mode 100644 index 00000000..d82a800b --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/menus/header.html @@ -0,0 +1,64 @@ +{% load i18n pages_tags staticfiles mezzanine_tags organization_tags %} +{% get_language_info_list for LANGUAGES as languages %} + +{% spaceless %} +{% if page_branch_in_menu %} + {% for page in page_branch %} + {% if page.is_primary %} + {% if forloop.first %} ++-
+
+
+
+ -
+
+ {% with host_organization.images|get_type:"logo_header" as images %}
+ {% if images %}
+ {% with images|first as img %}
+
+ {% endwith %}
+ {% endif %}
+ {% endwith %}
+
+
+ {% endif %}
+ {% endif %}
+ {% if page.in_menu %}
+ {% if page.content_model == "link" %}
+ {% with page.link.link_images.all|first as link_image %}
+ {% if link_image %}
+ -
+
+
+ {% else %}
+ -
+ {{ page.title }}
+
+ {% endif %}
+ {% endwith %}
+ {% else %}
+ -
+ {{ page.title }}
+ {% if page.has_children_in_menu %}
+ {% page_menu page "pages/menus/header_tree_primary.html" %}
+ {% endif %}
+
+ {% endif %}
+ {% endif %}
+ {% if page.is_primary %}
+ {% if forloop.last %}
+
+ -
+ {% include "includes/languages.html" %}
+
+ -
+
+
+
+
+ {% endif %} + {% endif %} + {% endfor %} +{% endif %} +{% endspaceless %} diff --git a/app/themes/vertigo_starts_eu/templates/pages/menus/header_tree_primary.html b/app/themes/vertigo_starts_eu/templates/pages/menus/header_tree_primary.html new file mode 100644 index 00000000..a0eb55e5 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/menus/header_tree_primary.html @@ -0,0 +1,31 @@ +{% load i18n pages_tags mezzanine_tags media_tags organization_tags staticfiles %} +{% get_language_info_list for LANGUAGES as languages %} + +{% spaceless %} +{% if page_branch_in_menu %} ++ {{ page.departmentpage.description|richtext_filters|safe|truncatechars:415 }} +
++-
+ {{ page.title }}
+
+ {% endif %}
+ {% if page.has_children_in_menu %}
+ {% page_menu page "pages/menus/header_tree_secondary.html" %}
+ {% endif %}
+
+
+ {% endfor %} ++- {% trans "Home" %}
+ {% endif %}
+
+ {% if page.is_current_or_ascendant and not page.is_current_child %}
+ {% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
+ {% endif %}
+
+ {% if page.is_current_child %}
+ -
+ {{ page.title }}
+
+ {% endif %}
+
+ {% if page.is_primary and forloop.last %}
+
+ {% endif %} + +{% endfor %} +{% endif %} +{% endspaceless %} diff --git a/app/themes/vertigo_starts_eu/templates/pages/menus/primary.html b/app/themes/vertigo_starts_eu/templates/pages/menus/primary.html new file mode 100644 index 00000000..e0be3193 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/menus/primary.html @@ -0,0 +1,20 @@ +{% load pages_tags i18n %} + +{% spaceless %} ++ {% for page in page_branch %} + {% if not has_home and page.is_primary and forloop.first %} +-
+ {% trans "Home" %}
+
+ {% endif %}
+ {% if page.in_menu %}
+ -
+ {{ page.title }}
+
+ {% endif %}
+ {% endfor %}
+
+
+{% endspaceless %} diff --git a/app/themes/vertigo_starts_eu/templates/pages/menus/tree.html b/app/themes/vertigo_starts_eu/templates/pages/menus/tree.html new file mode 100644 index 00000000..36108084 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/menus/tree.html @@ -0,0 +1,26 @@ +{% load i18n pages_tags %} + +{% spaceless %} +{% if page_branch_in_menu %} ++ {% for page in page_branch %} + {% if not has_home and page.is_primary and forloop.first %} +-
+ {% trans "Home" %}
+
+ {% endif %}
+ {% if page.in_menu %}
+ -
+ {{ page.title }}
+ {# wrap the next line with 'if page.is_current_or_ascendant' #}
+ {# to only show child pages in the menu for the current page #}
+ {% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
+
+ {% endif %}
+ {% endfor %}
+
+{% endif %} +{% endspaceless %} diff --git a/app/themes/vertigo_starts_eu/templates/pages/menus/vous_etes.html b/app/themes/vertigo_starts_eu/templates/pages/menus/vous_etes.html new file mode 100644 index 00000000..b9f5a902 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/menus/vous_etes.html @@ -0,0 +1,26 @@ +{% load pages_tags mezzanine_tags i18n %} + +{% if page_branch_in_menu %} + {% nevercache %} + ++-
+ {% trans "You are" %}
+
+ {% for page in page_branch %}
+ {% if page.in_menu %}
+ -
+ {{ page.title }}
+
+ {% endif %}
+ {% endfor %}
+
+ {% endnevercache %} +{% endif %} diff --git a/app/themes/vertigo_starts_eu/templates/pages/mutations-creations.html b/app/themes/vertigo_starts_eu/templates/pages/mutations-creations.html new file mode 100644 index 00000000..f64461f2 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/mutations-creations.html @@ -0,0 +1,106 @@ +{% extends "vertigo_starts_eu/pages/page.html" %} +{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %} + + {% with page.custompage as object %} + {% block page_class %} + custompage + {% endblock %} + + {% block body_class %} + {% with page.get_ascendants|last as top_level_parent %} + {% if top_level_parent.get_content_model.weaving_css_class %} + pattern pattern-bg {{ top_level_parent.get_content_model.weaving_css_class }} + {% endif %} + {% endwith %} + {% endblock %} + + {% block hero %} + {% include "home/inc/hero-small.html" %} + {% endblock %} + + {% block page_title %} + {% editable page.custompage.title %} +{{ page.custompage.title }}
+ {% endeditable %} + {% endblock %} + + {% block page_content %} + + {% with page.get_ascendants|last as top_level_parent %} + {% if linked_organization_content and research_slug == top_level_parent.slug %} + {% include 'pages/page/includes/linked_organization_content.html' %} + {% endif %} + {% endwith %} + + {% if page.custompage.sub_title %} + {% editable page.custompage.sub_title %} +{% trans "Newsletter" %}
+{% endblock %} + +{% block page_content %} + +{% trans "Sign up for our monthly newsletter to keep up to date with the institute's activities every month and be eligible to take advantage of special offers from our partners." %}
+ + +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/pages/page.html b/app/themes/vertigo_starts_eu/templates/pages/page.html new file mode 100644 index 00000000..ab00704b --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/page.html @@ -0,0 +1,174 @@ +{% extends "vertigo_starts_eu/base.html" %} +{% load i18n mezzanine_tags keyword_tags organization_tags pages_tags %} + +{% block meta_title %}{{ page.meta_title }}{% endblock %} + +{% block meta_keywords %}{% metablock %} +{% keywords_for page as keywords %} +{% for keyword in keywords %} + {% if not forloop.first %}, {% endif %} + {{ keyword }} +{% endfor %} +{% endmetablock %}{% endblock %} + +{% block meta_description %}{% metablock %} +{{ page.description }} +{% endmetablock %}{% endblock %} + +{% block main %} + + {% block hero %} + {% endblock %} + ++ {% include 'core/inc/logo.html' %} +
++ {% for loc in linked_organization_content %} + {% if loc.images.all %} + {% with loc.images|get_type:"logo_black"|first as img %} +-
+
+
+
+
+ {% endwith %}
+ {% endif %}
+ {% endfor %}
+
++ {% for lof in linked_organization_footer_2 %} +-
+ {{ lof.name}}
+
+ {% endfor %}
+
diff --git a/app/themes/vertigo_starts_eu/templates/pages/page/includes/page_box.html b/app/themes/vertigo_starts_eu/templates/pages/page/includes/page_box.html new file mode 100644 index 00000000..e02485bb --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/pages/page/includes/page_box.html @@ -0,0 +1,24 @@ +{% load mezzanine_tags organization_tags %} + +{{ object.title }}
+{{ page.projecttopicpage.title }}
+ {% endeditable %} +{% endblock %} + +{% block page_content %} + {% with page.get_ascendants|last as top_level_parent %} + {% if linked_organization_content and research_slug == top_level_parent.slug %} + {% include 'pages/page/includes/linked_organization_content.html' %} + {% endif %} + {% endwith %} + + {% if page.projecttopicpage.sub_title %} + {% editable page.projecttopicpage.sub_title %} +{{ sub_topic.name }}
+ {% if sub_topic.description %} ++ {{ sub_topic.description }} +
+ {% endif %} + {% if sub_topic.projects.all %} ++ + {{ project }} + +
++ {{ project.description }} +
+ +{{ page.title }}
+ {% endeditable %} +{% endblock %} + +{% block page_content %} + {% with page.get_ascendants|last as top_level_parent %} + {% if linked_organization_content and research_slug == top_level_parent.slug %} + {% include 'pages/page/includes/linked_organization_content.html' %} + {% endif %} + {% endwith %} + {% if page.teampage.sub_title %} + {% editable page.teampage.sub_title %} ++
{% trans "Research topics and related projects" %}
+ {% include 'projects/inc/project_list.html' %} +{% trans "European and national projects" %}
+ {% with leader_projects as projects %} + {% include 'projects/inc/project_list.html' %} + {% endwith %} + {% with partner_projects as projects %} + {% include 'projects/inc/project_list.html' %} + {% endwith %} ++
{% trans 'Team' %}
+ {% for status in statuses %} + {% with page.teampage.team|get_team_persons:status as persons %} + {% if persons %} + {% if persons|length == 1 %}{{ status.name }}{% else %}{{ status.description }}{% endif %} : + {% for person in persons %} + {{ person.title }}{% if not forloop.last %}, {% endif %} + {% endfor %} +
+ {% endif %} + {% endwith %} + {% endfor %} +
+ {% endif %} +
{{ block.title }}
+ {% endeditable %} + {% if block.description %} ++ {% trans "Login" %} +
+ {% endif %} +
+ + {{ project }} + +
++ {{ project.description }} +
+{{ object.title }}
+ {% endeditable %} + + {% if object.description %} + {% editable object.description %} ++ {% trans "Login" %} +
{{ demo.title }}
+ {% endeditable %} + + {% if demo.description %} + {% editable demo.description %} ++ {% trans "Project" %} : {{ demo.project.title }}
+ {% trans "Authors" %} : {% for author in demo.authors.all %}{{ author }}{% endfor %} + +{% endblock %} + +{% block page_sidebar %} +{% endblock %} + +{% block page_slider %} +
{{ object.title }}
+ {% endeditable %} + + {% with page.get_ascendants|last as top_level_parent %} + {% if linked_organization_content and research_slug == top_level_parent.slug %} + {% include 'pages/page/includes/linked_organization_content.html' %} + {% endif %} + {% endwith %} + + {% if object.description %} + {% editable object.description %} ++-
+ {% trans "Home" %}
+
+ -
+ {{ page.title }}
+
+ -
+ {{ object.title }}
+
+
+{% endblock %} + +{% block page_link %} + {% with object.links.all as links %} + {% if links %} + {% include 'core/inc/link.html' %} + {% endif %} + {% endwith %} +{% endblock %} + +{% block page_audio %} + {% with object as object %} + {{ block.super }} + {% endwith %} +{% endblock %} + +{% block page_slider %} + {% with object as object %} + {{ block.super }} + {% endwith %} +{% endblock %} + +{% block page_video %} + {% with object as object %} + {{ block.super }} + {% endwith %} +{% endblock %} + +{% block page_sub_content %} + + {% if object.type == 'external' %} ++-
+
+
+
++
{% trans "Project details" %}
+ +{% trans "Participants" %}
+ ++ {% if organization.url %} + + {% endif %} + {% endfor %} +
+ {% endif %} + {% endfor %} +
+
+- {{ demo.title }}
+ {% endfor %}
+
+{% trans "Demos" %}
+ {% for demo in object.demos.all %} ++
+- {{ blog_page.title }}
+ {% endfor %}
+
+{% trans "Blog Pages" %}
+ {% for blog_page in object.blog_pages.all %} ++ {% if object.lead_organization %} + {% with object.lead_organization.images.all|get_type:'logo' as images %} + {% include 'core/inc/logo.html' %} + {% endwith %} + {% endif %} + {% for organization in object.organizations.all %} + {% with organization.images.all|get_type:'logo' as images %} + {% include 'core/inc/logo.html' %} + {% endwith %} + {% endfor %} +
++ {% for key,value in filter_dict.items %} +-
+
+ {{ value.verbose_name }} ({{ value.count }}){% if search_model == key %}{% endif %}
+
+
+ {% endfor %}
+
++ {% if results.paginator.count == 0 %} + {% blocktrans %}No results were found matching your query: {{ query }}{% endblocktrans %} + {% endif %} +
+ ++{% url "login" as login_url %} +{% url "signup" as signup_url %} +{% with request.path as next %} +{% blocktrans %} +If you have an existing account or would like to create one, please +log in or +sign up. +{% endblocktrans %} +{% endwith %} +
+{% endifinstalled %} +{% endif %} + +{% errors_for form %} + + + + + +{% if not settings.SHOP_CHECKOUT_STEPS_SPLIT and settings.SHOP_PAYMENT_STEP_ENABLED %} +{% include "shop/includes/payment_fields.html" %} +{% endif %} + +{% fields_for form.other_fields %} + +{% endif %} +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/shop/cart.html b/app/themes/vertigo_starts_eu/templates/shop/cart.html new file mode 100644 index 00000000..344e44f8 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/shop/cart.html @@ -0,0 +1,113 @@ +{% extends "shop/vertigo_starts_eu/base.html" %} +{% load mezzanine_tags shop_tags i18n %} + +{% block meta_title %}{% trans "Your Cart" %}{% endblock %} +{% block title %}{% trans "Your Cart" %}{% endblock %} +{% block body_id %}cart{% endblock %} + +{% block breadcrumb_menu %} +{{ block.super }} +{% trans "You may also like:" %}
+{{ product }}
+{% trans "Your Cart is empty." %}
+{% endif %} +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/shop/checkout.html b/app/themes/vertigo_starts_eu/templates/shop/checkout.html new file mode 100644 index 00000000..663a3638 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/shop/checkout.html @@ -0,0 +1,83 @@ +{% extends "shop/vertigo_starts_eu/base.html" %} +{% load shop_tags mezzanine_tags i18n %} + +{% block meta_title %}{% trans "Checkout" %} - {{ step_title }}{% endblock %} +{% block title %}{% trans "Checkout" %} - {% trans "Step" %} {{ step }} {% trans "of" %} {{ steps|length }}{% endblock %} +{% block body_id %}checkout{% endblock %} + +{% block extra_head %} + +{% endblock %} + +{% block breadcrumb_menu %} +{% for step in steps %} ++ {% for item in request.cart %} +-
+ {% if item.image %}
+
+ {% endif %}
+
+ {{ item.quantity }} x {{ item.description }}
+ {{ item.total_price|currency }}
+
+
+ {% endfor %}
+
+ {% order_totals %} ++ {% trans "Edit Cart" %} +
{% trans "Thank you for shopping with us, your order is complete." %}
+{% trans "We've sent you a receipt via email." %}
+{% trans "You can also view your invoice using one of the links below." %}
++ +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/shop/confirmation.html b/app/themes/vertigo_starts_eu/templates/shop/confirmation.html new file mode 100644 index 00000000..b87ee607 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/shop/confirmation.html @@ -0,0 +1,80 @@ +{% extends "shop/checkout.html" %} +{% load i18n shop_tags %} + +{% block fields %} +{% if request.cart.has_items %} + +
{% trans "Billing Details" %}
++ + {% for field, value in form.billing_detail_fields.values %} +- {{ value }}
+ {% endfor %}
+
+
+{% trans "Shipping Details" %}
++ + {% for field, value in form.shipping_detail_fields.values %} +- {{ value }}
+ {% endfor %}
+
+ {% for field, value in form.additional_instructions_field.values %}
+ - {{ value }}
+ {% endfor %}
+
+
++
{% trans "Payment Details" %}
++ + {% for field, value in form.card_name_field.values %} +- {{ value }}
+ {% endfor %}
+
+ {% for field, value in form.card_type_field.values %}
+ - {{ value }}
+ {% endfor %}
+
+ -
+ {% with form.card_expiry_fields.values as expiry_fields %}
+ {% with expiry_fields.next as month_field %}
+ {{ month_field.1 }}/{{ expiry_fields.next.1 }}
+ {% endwith %}
+ {% endwith %}
+
+
+ {% for field, value in form.card_fields.values %}
+ - {{ value }}
+ {% endfor %}
+
+
++ +{% for field in form %}{{ field }}{% endfor %} + +{% endif %} +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/shop/includes/order_details.html b/app/themes/vertigo_starts_eu/templates/shop/includes/order_details.html new file mode 100644 index 00000000..b6aa60a3 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/shop/includes/order_details.html @@ -0,0 +1,55 @@ +{% load shop_tags i18n %} + +
{{ settings.SITE_TITLE }}
+ +{% trans "Your Details" %}
+{% trans "Items Ordered" %}
+{{ settings.SITE_TITLE }}
+ +{% trans "Your Details" %}
+{% trans "Items Ordered" %}
++
{{ list.title }}
+ {% if list.description %} +{{ list.description }}
+ {% endif %} +{{ product.title }}
+ {% if product.description %} ++
{{ list.title }}
+ {% if list.description %} +{{ list.description }}
+ {% endif %} +{{ product.title }}
+ {% if product.description %} ++
+{% if request.cart.total_quantity != 0 %} + + {% if request.session.order.step %}{% trans "Return to Checkout" %}{% else %}{% trans "Go to Checkout" %}{% endif %} +
+{% endif %} +{% if settings.SHOP_USE_WISHLIST %} + + +{% blocktrans count request.wishlist|length as wishlist_count %}Wishlist contains 1 item{% plural %} Wishlist contains {{ wishlist_count }} items{% endblocktrans %} +{% endif %} +{% endspaceless %} diff --git a/app/themes/vertigo_starts_eu/templates/shop/order_history.html b/app/themes/vertigo_starts_eu/templates/shop/order_history.html new file mode 100644 index 00000000..983ba232 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/shop/order_history.html @@ -0,0 +1,51 @@ +{% extends "shop/vertigo_starts_eu/base.html" %} +{% load mezzanine_tags shop_tags i18n %} + +{% block meta_title %}{% trans "Order History" %}{% endblock %} +{% block title %}{% trans "Order History" %}{% endblock %} + +{% block breadcrumb_menu %} +{{ block.super }} +
{% trans "You have not ordered anything from us yet." %}
+{% endif %} + +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/shop/order_invoice.html b/app/themes/vertigo_starts_eu/templates/shop/order_invoice.html new file mode 100644 index 00000000..5dcda6c9 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/shop/order_invoice.html @@ -0,0 +1,5 @@ +{% if not LANGUAGE_BIDI %} + {% include "shop/includes/order_details.html" %} +{% else %} + {% include "shop/includes/order_details_rtl.html" %} +{% endif %} diff --git a/app/themes/vertigo_starts_eu/templates/shop/order_invoice_pdf.html b/app/themes/vertigo_starts_eu/templates/shop/order_invoice_pdf.html new file mode 100644 index 00000000..da6b04fc --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/shop/order_invoice_pdf.html @@ -0,0 +1 @@ +{% extends "shop/order_invoice.html" %} diff --git a/app/themes/vertigo_starts_eu/templates/shop/payment.html b/app/themes/vertigo_starts_eu/templates/shop/payment.html new file mode 100644 index 00000000..6be458e6 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/shop/payment.html @@ -0,0 +1,10 @@ +{% extends "shop/checkout.html" %} +{% load i18n mezzanine_tags %} + +{% block fields %} +{% if request.cart.has_items %} +{% errors_for form %} +{% include "shop/includes/payment_fields.html" %} +{% fields_for form.other_fields %} +{% endif %} +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/shop/product.html b/app/themes/vertigo_starts_eu/templates/shop/product.html new file mode 100644 index 00000000..bfd406c5 --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/shop/product.html @@ -0,0 +1,159 @@ +{% extends "shop/vertigo_starts_eu/base.html" %} +{% load staticfiles mezzanine_tags shop_tags rating_tags i18n %} + +{% block meta_title %}{{ product.meta_title }}{% endblock %} +{% block body_id %}category{% endblock %} + +{% block meta_keywords %}{% metablock %} +{% for keyword in product.keywords.all %} + {% if not forloop.first %}, {% endif %} + {{ keyword }} +{% endfor %} +{% endmetablock %}{% endblock %} + +{% block meta_description %}{% metablock %} +{{ product.description }} +{% endmetablock %}{% endblock %} + +{% block extra_css %} +{{ block.super }} + +{% endblock %} + +{% block extra_js %} +{{ block.super }} + + +{% endblock %} + +{% block extra_head %} +{{ block.super }} + + +{% endblock %} + +{% block breadcrumb_menu %} +{{ block.super }} ++ {% for image in images %} +-
+
+
+
+
+ {% endfor %}
+
+ +{% if images|length != 1 %} ++ {% for image in images %} +-
+
+
+
+
+ {% endfor %}
+
+{% endif %} + +{% endspaceless %} +{% endif %} + +{% editable product.content %} +{{ product.content|richtext_filters|safe }} +{% endeditable %} + +{% if product.available and has_available_variations %} ++ {% for variation in variations %} +-
+ {% if variation.has_price %}
+ {% if variation.on_sale %}
+ {{ variation.unit_price|currency }}
+ {% trans "On sale:" %}
+ {% endif %}
+ {{ variation.price|currency }}
+ {% else %}
+ {% if has_available_variations %}
+
+ {% trans "The selected options are currently unavailable." %}
+
+ {% endif %}
+ {% endif %}
+
+ {% endfor %}
+
+ +{% errors_for add_product_form %} + + +{% else %} +{% trans "This product is currently unavailable." %}
+{% endif %} + +{% if settings.SHOP_USE_RATINGS %} +{% trans "Related Products" %}
+{{ product }}
+{% trans "Your wishlist is empty." %}
++
{% trans "Continue Shopping" %}
+{% endif %} +{% endblock %} diff --git a/app/themes/vertigo_starts_eu/templates/styles.html b/app/themes/vertigo_starts_eu/templates/styles.html new file mode 100644 index 00000000..2ea8d00a --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/styles.html @@ -0,0 +1,21 @@ +{% extends "vertigo_starts_eu/base.html" %} +{% load i18n %} + +{% block meta_title %}{% trans "Styles" %}{% endblock %} + +{% block title %}{% trans "Styles" %}{% endblock %} + +{% block main %} + +{% trans "Styles" %}
++ {% for tweet in tweets %} +-
+
+ {% if tweet.retweeter_full_name %}
+
+ {% else %}
+
+ {% endif %}
+
+
+
+
+ {% endfor %}
+
+{% endif %} diff --git a/app/themes/vertigo_starts_eu/templates/vertigo_starts_eu/base.html b/app/themes/vertigo_starts_eu/templates/vertigo_starts_eu/base.html new file mode 100644 index 00000000..c932c3ce --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/vertigo_starts_eu/base.html @@ -0,0 +1,112 @@ + + +{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %} +{% get_language_info_list for LANGUAGES as languages %} + + + + + + ++ {% if tweet.retweeter_full_name %} + {{ tweet.retweeter_full_name }} @{{ tweet.retweeter_user_name }} + {% else %} + {{ tweet.full_name }} @{{ tweet.user_name }} + {% endif %} + {% blocktrans with sometime=tweet.created_at|timesince %}{{ sometime }} ago{% endblocktrans %} +
++ {{ tweet.text|safe }}
++ {% comment %} + + {% endcomment %} +
+ {% for link in host_organization.links.all %} +-
+ {{ link.title }}
+
+ {% endfor %}
+
+ ++-
+
+
+
+ -
+
+ {% with host_organization.images|get_type:"logo_header" as images %}
+ {% if images %}
+ {% with images|first as img %}
+
+ {% endwith %}
+ {% endif %}
+ {% endwith %}
+
+
+ {% endif %}
+ {% endif %}
+ {% if page.in_menu %}
+ {% if page.content_model == "link" %}
+ {% with page.link.link_images.all|first as link_image %}
+ {% if link_image %}
+ -
+
+
+ {% else %}
+ -
+ {{ page.title }}
+
+ {% endif %}
+ {% endwith %}
+ {% else %}
+ -
+ {{ page.title }}
+ {% if page.has_children_in_menu %}
+ {% page_menu page "pages/menus/header_tree_primary.html" %}
+ {% endif %}
+
+ {% endif %}
+ {% endif %}
+ {% if page.is_primary %}
+ {% if forloop.last %}
+
+ {# - #}
+ {# {% include "includes/languages.html" %}#}
+ {#
#}
+ -
+
+
+
+
+ {% endif %} + {% endif %} + {% endfor %} +{% endif %} +{% endspaceless %} diff --git a/app/themes/vertigo_starts_eu/templates/vertigo_starts_eu/pages/page.html b/app/themes/vertigo_starts_eu/templates/vertigo_starts_eu/pages/page.html new file mode 100644 index 00000000..d236815a --- /dev/null +++ b/app/themes/vertigo_starts_eu/templates/vertigo_starts_eu/pages/page.html @@ -0,0 +1,174 @@ +{% extends "vertigo_starts_eu/base.html" %} +{% load i18n mezzanine_tags keyword_tags organization_tags pages_tags %} + +{% block meta_title %}{{ page.meta_title }}{% endblock %} + +{% block meta_keywords %}{% metablock %} +{% keywords_for page as keywords %} +{% for keyword in keywords %} + {% if not forloop.first %}, {% endif %} + {{ keyword }} +{% endfor %} +{% endmetablock %}{% endblock %} + +{% block meta_description %}{% metablock %} +{{ page.description }} +{% endmetablock %}{% endblock %} + +{% block main %} + + {% block hero %} + {% endblock %} + ++ {% include 'core/inc/logo.html' %} +
+