67 lines
1.5 KiB
HTML
67 lines
1.5 KiB
HTML
{% extends 'base.html' %}
|
|
{% load static %}
|
|
{% load commonmark %}
|
|
|
|
{% block title %}
|
|
Sponsors | {{ block.super }}
|
|
{% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% if sponsors %}
|
|
|
|
<h2>{{ view.camp.title }} Sponsors</h2>
|
|
|
|
<p class="lead">
|
|
This is a list of the {{ view.camp.title }} sponsors. An event like BornHack
|
|
can not be built on hard work and good intentions alone - it would simply not
|
|
have been possible without the financial help from these organisations. Thank
|
|
you, we are immensely grateful!
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
{% for sponsor in sponsors %}
|
|
|
|
{% ifchanged sponsor.tier %}
|
|
{% if forloop.first != True %}
|
|
</section>
|
|
{% endif %}
|
|
<div class="page-header">
|
|
<h1>{{ sponsor.tier.name}}</h1>
|
|
</div>
|
|
<section class="text-center">
|
|
|
|
{% endifchanged %}
|
|
|
|
<p class="lead">
|
|
{% if sponsor.url %}
|
|
<a href="{{ sponsor.url }}">
|
|
{% endif %}
|
|
<img class="img-responsive center-block" src="{% static 'img/sponsors/' %}{{ sponsor.logo_filename }}" width="300" />
|
|
{% if sponsor.url %}
|
|
</a>
|
|
{% endif %}
|
|
{{ sponsor.description }}
|
|
</p>
|
|
|
|
{% if forloop.last == True %}
|
|
</section>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% if not camp.call_for_sponsors_open %}
|
|
<div class="alert alert-danger">
|
|
<strong>Note!</strong> This Call for Sponsors is not open.
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if not camp.call_for_sponsors %}
|
|
<p class='lead'>This CFS has not been written yet.</p>
|
|
{% else %}
|
|
{{ camp.call_for_sponsors|trustedcommonmark }}
|
|
{% endif %}
|
|
|
|
{% endblock %}
|