move call for sponsors view to the database

This commit is contained in:
Thomas Steen Rasmussen 2018-05-26 15:22:45 +02:00
parent 7d9c730752
commit 8e7dc4f80a
8 changed files with 11 additions and 293 deletions

View file

@ -139,11 +139,6 @@ urlpatterns = [
include('program.urls', namespace='program'), include('program.urls', namespace='program'),
), ),
path(
'sponsors/call/',
CallForSponsorsView.as_view(),
name='call-for-sponsors'
),
path( path(
'sponsors/', 'sponsors/',
SponsorsView.as_view(), SponsorsView.as_view(),

View file

@ -12,6 +12,10 @@ Call for Participation | {{ block.super }}
</div> </div>
{% endif %} {% endif %}
{{ cfp_markdown|safe }} {% if not camp.call_for_participation %}
<p class='lead'>This CFP has not been written yet.</p>
{% else %}
{{ camp.call_for_participation|safe }}
{% endif %}
{% endblock %} {% endblock %}

View file

@ -675,14 +675,6 @@ class ScheduleView(CampViewMixin, TemplateView):
class CallForParticipationView(CampViewMixin, TemplateView): class CallForParticipationView(CampViewMixin, TemplateView):
template_name = 'call_for_participation.html' template_name = 'call_for_participation.html'
def get_context_data(self, *args, **kwargs):
context = super().get_context_data(**kwargs)
if self.camp.call_for_participation:
context['cfp_markdown'] = self.camp.call_for_participation
else:
context['cfp_markdown'] = "<p class='lead'>This CFP has not been written yet.</p>"
return context
################################################################################################### ###################################################################################################
# control center csv # control center csv

View file

@ -1,75 +0,0 @@
{% 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

@ -1,72 +0,0 @@
{% 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

@ -1,71 +0,0 @@
{% 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

@ -52,65 +52,14 @@ Sponsors | {{ block.super }}
{% if not camp.call_for_sponsors_open %} {% if not camp.call_for_sponsors_open %}
<div class="alert alert-danger"> <div class="alert alert-danger">
<strong>Note!</strong> This Call for Sponsors is no longer relevant. It is kept here for historic purposes. <strong>Note!</strong> This Call for Sponsors is not open.
</div> </div>
{% endif %} {% endif %}
<h2>Becoming a {{ camp.title }} Sponsor</h2> {% if not camp.call_for_sponsors %}
<p>We are looking for sponsors to help us make {{ camp.title }} as <p class='lead'>This CFS has not been written yet.</p>
unforgettable as the previous ones. If you would like to sponsor us do not hesitate {% else %}
to contact us at <a {{ camp.call_for_sponsors|safe }}
href="mailto:sponsors@bornhack.dk">sponsors@bornhack.dk</a>. If you work for an {% endif %}
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 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 %} {% endblock %}

View file

@ -18,7 +18,3 @@ class SponsorsView(CampViewMixin, ListView):
'name', 'name',
) )
class CallForSponsorsView(CampViewMixin, TemplateView):
def get_template_names(self):
return '%s_call_for_sponsors.html' % self.camp.slug