|
1 | 1 | {% extends "base.html" %}
|
2 | 2 |
|
| 3 | +{% load static %} |
| 4 | + |
3 | 5 | {% block main_content %}
|
4 | 6 |
|
5 |
| - {# About #} |
| 7 | + {# About #} |
6 | 8 |
|
7 | 9 | {% if about %}
|
8 | 10 | <h1 class="title title--yellow mb-xs-20">{{ about.title|safe }}</h1>
|
9 |
| - <hr class="line line--blue line--short line--spaced"> |
| 11 | + <hr class="line line--blue line--short line--spaced"> |
| 12 | + <p> |
| 13 | + {{ about.description|safe }} |
| 14 | + </p> |
| 15 | + {% else %} |
| 16 | + <h2 class="title title--white title--medium title--uppercase mt-xs-20 mb-xs-80"> |
| 17 | + <span class="featured-letter featured-letter--blue">C</span>oming <span class="featured-letter featured-letter--yellow">S</span>oon |
| 18 | + </h2> |
| 19 | + {% endif %} |
| 20 | + |
| 21 | + {# Organizers #} |
| 22 | + |
| 23 | + <h1 class="title title--yellow mb-xs-20">Organizers</h1> |
| 24 | + <hr class="line line--blue line--short line--spaced"> |
| 25 | + |
| 26 | + {% if organizers %} |
| 27 | + <div class="card"> |
| 28 | + {% for organizer in organizers %} |
| 29 | + <div class="card__item"> |
| 30 | + <a href="{% url 'organizer_detail' slug=organizer.slug %}"> |
| 31 | + <div class="card__image"> |
| 32 | + <img src="{{ organizer.images.first.profile_picture.url }}"> |
| 33 | + </div> |
| 34 | + <h2 class="card__name title--blue"> |
| 35 | + {{ organizer.name }} |
| 36 | + {% if organizer.country %} |
| 37 | + <i class="flag em em-flag-{{ organizer.country.code|lower }}"></i> |
| 38 | + {% endif %} |
| 39 | + </h2> |
| 40 | + </a> |
| 41 | + {% if organizer.job %} |
| 42 | + <p class="card__job"> |
| 43 | + {{ organizer.job }} |
| 44 | + </p> |
| 45 | + {% endif %} |
| 46 | + </div> |
| 47 | + {% endfor %} |
| 48 | + </div> |
| 49 | + {% else %} |
| 50 | + <h2 class="title title--white title--medium title--uppercase mt-xs-20 mb-xs-80"> |
| 51 | + <span class="featured-letter featured-letter--blue">C</span>oming <span class="featured-letter featured-letter--yellow">S</span>oon |
| 52 | + </h2> |
| 53 | + {% endif %} |
| 54 | + |
| 55 | + <hr class="line long"> |
| 56 | + |
| 57 | + {# Volunteers #} |
| 58 | + |
| 59 | + <h1 class="centered">Volunteers</h1> |
| 60 | + <hr class="line line__centered"> |
| 61 | + |
| 62 | + <div class="card"> |
| 63 | + <a class="button button--yellow mb-xs-40 event-button" href="https://docs.google.com/forms/d/e/1FAIpQLSdJO6rP5jtHvpioYWMoimIRaQx-W7TR3uLmeu-hFg-ad4ZpgA/viewform" target="_blank"> |
| 64 | + Join PyCon Balkan as a Volunteer! |
| 65 | + </a> |
| 66 | + </div> |
| 67 | + |
| 68 | + {% if volunteers %} |
| 69 | + <div class="card"> |
| 70 | + {% for volunteer in volunteers %} |
| 71 | + <div class="card__item"> |
| 72 | + <div class="card__image"> |
| 73 | + <img src="{{ volunteer.images.first.profile_picture.url }}"> |
| 74 | + </div> |
| 75 | + <h2 class="card__name title--blue"> |
| 76 | + {{ volunteer.name }} |
| 77 | + {% if volunteer.country %} |
| 78 | + <i class="flag em em-flag-{{ volunteer.country.code|lower }}"></i> |
| 79 | + {% endif %} |
| 80 | + </h2> |
| 81 | + {% if volunteer.job %} |
| 82 | + <p class="card__job"> |
| 83 | + {{ volunteer.job }} |
| 84 | + </p> |
| 85 | + {% endif %} |
| 86 | + </div> |
| 87 | + {% endfor %} |
| 88 | + </div> |
| 89 | + {% else %} |
| 90 | + <h2 class="title title--white title--medium title--uppercase mt-xs-20"> |
| 91 | + <span class="featured-letter featured-letter--blue">C</span>oming <span class="featured-letter featured-letter--yellow">S</span>oon |
| 92 | + </h2> |
| 93 | + {% endif %} |
| 94 | + |
| 95 | + {# Code of Conduct #} |
| 96 | + |
| 97 | + {% if coc %} |
| 98 | + <h1 class="title title--yellow mb-xs-20">{{ coc.title|safe }}</h1> |
| 99 | + <hr class="line line--blue line--short line--spaced"> |
10 | 100 |
|
11 | 101 | <div class="long-text">
|
12 |
| - {{ about.description|safe }} |
| 102 | + {{ coc.description|safe }} |
13 | 103 | </div>
|
14 | 104 | {% else %}
|
15 | 105 | <h2 class="title title--white title--medium title--uppercase mt-xs-20 mb-xs-80">
|
16 | 106 | <span class="featured-letter featured-letter--blue">C</span>oming <span class="featured-letter featured-letter--yellow">S</span>oon
|
17 | 107 | </h2>
|
18 | 108 | {% endif %}
|
19 | 109 |
|
| 110 | + |
| 111 | + {% if response_guide %} |
| 112 | + <a href="{% url 'response_guide' slug=response_guide.slug %}"> |
| 113 | + <h1>{{ response_guide.title|safe }}</h1> |
| 114 | + </a> |
| 115 | + {% endif %} |
| 116 | + |
20 | 117 | {% endblock %}
|
0 commit comments