add call for sponsors view, add call for sponsors for bornhack 2017, fixes #89

This commit is contained in:
Thomas Steen Rasmussen 2017-01-29 14:51:50 +01:00
parent 3d45c336a5
commit 61519550f8
7 changed files with 193 additions and 61 deletions

View file

@ -129,9 +129,14 @@ urlpatterns = [
]) ])
), ),
url(
r'^sponsors/call/$',
CallForSponsorsView.as_view(),
name='call-for-sponsors'
),
url( url(
r'^sponsors/$', r'^sponsors/$',
SponsorView.as_view(), SponsorsView.as_view(),
name='sponsors' name='sponsors'
), ),

View file

@ -151,3 +151,11 @@ class Camp(CreatedUpdatedModel, UUIDModel):
else: else:
return True return True
@property
def call_for_sponsors_open(self):
""" Keep call for sponsors open 30 days after camp end """
if self.camp.upper + timedelta(days=30) < timezone.now():
return False
else:
return True

View file

@ -0,0 +1,75 @@
{% extends 'base.html' %}
{% load static from staticfiles %}
{% block title %}
Call for Sponsors | {{ block.super }}
{% endblock %}
{% block content %}
{% if not camp.call_for_sponsors_open %}
<div class="alert alert-danger">
<strong>Note!</strong> This Call for Sponsors is no longer relevant. It is kept here for historic purposes.
</div>
{% endif %}
<h2>Becoming a BornHack 2016 Sponsor</h2>
<p>We are looking for sponsors to help us make BornHack an unforgettable
event and allow it to grow. If you would like to sponsor us do not hesitate
to contact us at <a href="mailto:sponsors@bornhack.dk">sponsors@bornhack.dk</a>.
If you work for a company that you believe might be able and willing to
sponsor BornHack please direct the right people to this page.</p>
<p>You can read more about the event and possible areas of your
sponsorship below.</p>
<h3>The Concept</h3>
<p>The idea and basic concept of BornHack comes from participation
in similar camps in Germany and the Netherlands. These events
have a huge traction (several thousand participants) and we therefore
think the time is right for another one.</p>
<h3>The Organisers</h3>
<p>BornHack is a technology festival put together by a group of
people from Denmark and Sweden employed in the local IT industry.
The organiser group have a burning desire to set up a forum where
people with different interests in IT and technology can come together
to share ideas and socialize. Several of the co-organisers have
previously been (or are still) involved in organising conferences such as
<a href="https://opensourcedays.org/">Open Source Days</a>.</p>
<h3>Location and Format</h3>
<p>The first BornHack will be inviting 350 paying guests for a full
week, the ambition is to grow the number of attendees over the coming
years. It will take place at <a href="http://jarlsgaard.dk">Jarlsgaard</a>
on Bornholm, Denmark, where we have a gigabit fiber connection
to the outside world. Hopefully the weather will be with us as well.</p>
<h3>Sponsorship</h3>
<p>A sponsorship can be in the range of 5000 DKK and up. You get
to have a logo of your choice placed on our website in the sponsors
section, as well as mentions in written material such as programs
where sponsors will be disclosed.</p>
<p>Sponsors often prefer to sponsor a certain area or event at the
camp, where we will figure out an appropriate display in cooperation
with you. Suggested sponsorships include:</p>
<ul>
<li>Bar area (decorations, building materials, inventory)</li>
<li>Lounge area (couches, hammocks, decoration)</li>
<li>Food area (renting barbeques and buying charcoal)</li>
<li>Speakers tent(s)</li>
<li>Sound system in speakers tent(s)</li>
<li>Shuttle buses</li>
<li>Insurance</li>
<li>Toilet facilities</li>
<li>Coffee cart</li>
</li>
</ul>
<p>If you have other ideas you would be interested
in sponsoring, reach out to us on
<a href="mailto:sponsors@bornhack.dk">sponsors@bornhack.dk</a>
and we can talk about it.</p>
{% endblock %}

View file

@ -132,65 +132,7 @@ Call for Sponsors | {{ block.super }}
Cash sponsorship Cash sponsorship
</p> </p>
<hr> <hr>
<div class="lead">The Call for Sponsors is kept <a href="{% url 'call-for-sponsors' camp_slug=camp.slug %}">here</a> for historic purposes.</div>
</div> </div>
<h2>Becoming a Sponsor</h2>
<p>We are looking for sponsors to help us make BornHack an unforgettable
event and allow it to grow. If you would like to sponsor us do not hesitate
to contact us at <a href="mailto:sponsors@bornhack.dk">sponsors@bornhack.dk</a>.
If you work for a company that you believe might be able and willing to
sponsor BornHack please direct the right people to this page.</p>
<p>You can read more about the event and possible areas of your
sponsorship below.</p>
<h3>The Concept</h3>
<p>The idea and basic concept of BornHack comes from participation
in similar camps in Germany and the Netherlands. These events
have a huge traction (several thousand participants) and we therefore
think the time is right for another one.</p>
<h3>The Organisers</h3>
<p>BornHack is a technology festival put together by a group of
people from Denmark and Sweden employed in the local IT industry.
The organiser group have a burning desire to set up a forum where
people with different interests in IT and technology can come together
to share ideas and socialize. Several of the co-organisers have
previously been (or are still) involved in organising conferences such as
<a href="https://opensourcedays.org/">Open Source Days</a>.</p>
<h3>Location and Format</h3>
<p>The first BornHack will be inviting 350 paying guests for a full
week, the ambition is to grow the number of attendees over the coming
years. It will take place at <a href="http://jarlsgaard.dk">Jarlsgaard</a>
on Bornholm, Denmark, where we have a gigabit fiber connection
to the outside world. Hopefully the weather will be with us as well.</p>
<h3>Sponsorship</h3>
<p>A sponsorship can be in the range of 5000 DKK and up. You get
to have a logo of your choice placed on our website in the sponsors
section, as well as mentions in written material such as programs
where sponsors will be disclosed.</p>
<p>Sponsors often prefer to sponsor a certain area or event at the
camp, where we will figure out an appropriate display in cooperation
with you. Suggested sponsorships include:</p>
<ul>
<li>Bar area (decorations, building materials, inventory)</li>
<li>Lounge area (couches, hammocks, decoration)</li>
<li>Food area (renting barbeques and buying charcoal)</li>
<li>Speakers tent(s)</li>
<li>Sound system in speakers tent(s)</li>
<li>Shuttle buses</li>
<li>Insurance</li>
<li>Toilet facilities</li>
<li>Coffee cart</li>
</li>
</ul>
<p>If you have other ideas you would be interested
in sponsoring, reach out to us on
<a href="mailto:sponsors@bornhack.dk">sponsors@bornhack.dk</a>
and we can talk about it.</p>
{% endblock %} {% endblock %}

View file

@ -0,0 +1,72 @@
{% extends 'base.html' %}
{% load static from staticfiles %}
{% block title %}
Call for Sponsors | {{ block.super }}
{% endblock %}
{% block content %}
{% if not camp.call_for_sponsors_open %}
<div class="alert alert-danger">
<strong>Note!</strong> This Call for Sponsors is no longer relevant. It is kept here for historic purposes.
</div>
{% endif %}
<h2>Becoming a {{ camp.title }} Sponsor</h2>
<p>We are looking for sponsors to help us make the second BornHack as unforgettable
as the first one. If you would like to sponsor us do not hesitate to contact us at
<a href="mailto:sponsors@bornhack.dk">sponsors@bornhack.dk</a>. If you work for an
organisation or company that you believe might be able and willing to
sponsor {{ camp.title }} please direct the right people to this page.</p>
<h3>The Concept</h3>
<p>BornHack is an outdoor tent camping festival with a focus on technology
and society, and how the two interact. The idea and basic concept of BornHack
comes from participation in similar camps in Germany and the Netherlands. These
events have huge traction (thousands of participants, sells out fast) and has
inspired us to make BornHack.</p>
<h3>The Organisers</h3>
<p>BornHack is put together by a group of people from Denmark and Sweden employed
primarily in the IT industry. The organiser group share a desire to set up a forum
where people with different interests in IT and technology can come together to
share ideas and socialise. Several of the organisers have previously been (or are
still) involved in organising conferences such as
<a href="https://opensourcedays.org/">Open Source Days</a>.</p>
<h3>Location and Format</h3>
<p>For {{ camp.title }} we will be inviting up to 500 paying guests for a full
week, the ambition is to grow the number of attendees over the coming
years. It will take place at <a href="http://jarlsgaard.dk">Jarlsgaard</a>
on Bornholm, Denmark, where we have a great venue with a fiber connection to the
outside world.</p>
<h3>Sponsorship</h3>
<p>A sponsorship can be in the range of 5000 DKK and up. You get
to have a logo of your choice placed on our website in the sponsors
section, and we can also display tasteful signs or banners in or
around our speakers tent.</p>
<p>Sponsors often prefer to sponsor a certain area or event at the
camp, where we will figure out an appropriate display in cooperation
with you. Suggested sponsorships include:</p>
<ul>
<li>Bar area (sound system, lighting, decorations, building materials, inventory)</li>
<li>Lounge area (couches, hammocks, decoration)</li>
<li>Food area (renting barbeques and buying charcoal)</li>
<li>Speakers tent(s)</li>
<li>Sound system in speakers tent(s)</li>
<li>Shuttle buses</li>
<li>Insurance</li>
<li>Toilet facilities</li>
<li>Coffee cart</li>
</li>
</ul>
<p>If you have other ideas you would be interested in sponsoring, reach out to us on
<a href="mailto:sponsors@bornhack.dk">sponsors@bornhack.dk</a>
and we can talk about it. Cash sponsorships are also very welcome.</p>
{% endblock %}

View file

@ -0,0 +1,25 @@
{% extends 'base.html' %}
{% load static from staticfiles %}
{% block title %}
Call for Sponsors | {{ block.super }}
{% endblock %}
{% block content %}
<h2>{{ camp.title }} Sponsors</h2>
<p class="lead">
We are preparing {{ camp.title }} and we need sponsors. Please read our <a href="{% url 'call-for-sponsors' camp_slug=camp.slug %}">Call for Sponsors</a> if you want to become a sponsor or if you work for an organisation which might be able to help.
</p>
<p class="lead">This is an alphabetical list of the sponsors for {{ camp.title }}. We are very grateful for the help we are getting and we look forward to adding more names to this list!</p>
<div class="text-center">
<hr>
<p class="lead">
<a href="https://www.bornfiber.dk">
<img src="{% static 'img/sponsors/bornfiber-logoweb.png' %}" class="img-responsive center-block" alt="BornFiber Logo">
</a>
Internet uplink and bandwidth
</p>
<hr>
</div>
{% endblock %}

View file

@ -2,8 +2,13 @@ from django.views.generic import TemplateView
from camps.mixins import CampViewMixin from camps.mixins import CampViewMixin
class SponsorView(CampViewMixin, TemplateView): class SponsorsView(CampViewMixin, TemplateView):
def get_template_names(self): def get_template_names(self):
return '%s-sponsors.html' % self.camp.slug return '%s-sponsors.html' % self.camp.slug
class CallForSponsorsView(CampViewMixin, TemplateView):
def get_template_names(self):
return '%s-call-for-sponsors.html' % self.camp.slug