diff --git a/bornhack/urls.py b/bornhack/urls.py index 8e027abe..0978199e 100644 --- a/bornhack/urls.py +++ b/bornhack/urls.py @@ -129,9 +129,14 @@ urlpatterns = [ ]) ), + url( + r'^sponsors/call/$', + CallForSponsorsView.as_view(), + name='call-for-sponsors' + ), url( r'^sponsors/$', - SponsorView.as_view(), + SponsorsView.as_view(), name='sponsors' ), diff --git a/camps/models.py b/camps/models.py index adda23fc..56e8269c 100644 --- a/camps/models.py +++ b/camps/models.py @@ -151,3 +151,11 @@ class Camp(CreatedUpdatedModel, UUIDModel): else: 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 + diff --git a/sponsors/templates/bornhack-2016-call-for-sponsors.html b/sponsors/templates/bornhack-2016-call-for-sponsors.html new file mode 100644 index 00000000..61782115 --- /dev/null +++ b/sponsors/templates/bornhack-2016-call-for-sponsors.html @@ -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 %} +
+ Note! This Call for Sponsors is no longer relevant. It is kept here for historic purposes. +
+{% endif %} + +

Becoming a BornHack 2016 Sponsor

+

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 sponsors@bornhack.dk. +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.

+ +

You can read more about the event and possible areas of your +sponsorship below.

+ +

The Concept

+

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.

+ +

The Organisers

+

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 +Open Source Days.

+ +

Location and Format

+

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 Jarlsgaard +on Bornholm, Denmark, where we have a gigabit fiber connection +to the outside world. Hopefully the weather will be with us as well.

+ +

Sponsorship

+

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.

+ +

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:

+ + + +

If you have other ideas you would be interested +in sponsoring, reach out to us on +sponsors@bornhack.dk +and we can talk about it.

+{% endblock %} diff --git a/sponsors/templates/bornhack-2016-sponsors.html b/sponsors/templates/bornhack-2016-sponsors.html index a0175b1e..4281a139 100644 --- a/sponsors/templates/bornhack-2016-sponsors.html +++ b/sponsors/templates/bornhack-2016-sponsors.html @@ -132,65 +132,7 @@ Call for Sponsors | {{ block.super }} Cash sponsorship


+
The Call for Sponsors is kept here for historic purposes.
-

Becoming a Sponsor

-

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 sponsors@bornhack.dk. -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.

- -

You can read more about the event and possible areas of your -sponsorship below.

- -

The Concept

-

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.

- -

The Organisers

-

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 -Open Source Days.

- -

Location and Format

-

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 Jarlsgaard -on Bornholm, Denmark, where we have a gigabit fiber connection -to the outside world. Hopefully the weather will be with us as well.

- -

Sponsorship

-

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.

- -

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:

- - - -

If you have other ideas you would be interested -in sponsoring, reach out to us on -sponsors@bornhack.dk -and we can talk about it.

{% endblock %} diff --git a/sponsors/templates/bornhack-2017-call-for-sponsors.html b/sponsors/templates/bornhack-2017-call-for-sponsors.html new file mode 100644 index 00000000..9b0c194f --- /dev/null +++ b/sponsors/templates/bornhack-2017-call-for-sponsors.html @@ -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 %} +
+ Note! This Call for Sponsors is no longer relevant. It is kept here for historic purposes. +
+{% endif %} + +

Becoming a {{ camp.title }} Sponsor

+

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 +sponsors@bornhack.dk. 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.

+ +

The Concept

+

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.

+ +

The Organisers

+

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 +Open Source Days.

+ +

Location and Format

+

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 Jarlsgaard +on Bornholm, Denmark, where we have a great venue with a fiber connection to the +outside world.

+ +

Sponsorship

+

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.

+ +

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:

+ + + +

If you have other ideas you would be interested in sponsoring, reach out to us on +sponsors@bornhack.dk +and we can talk about it. Cash sponsorships are also very welcome.

+{% endblock %} + diff --git a/sponsors/templates/bornhack-2017-sponsors.html b/sponsors/templates/bornhack-2017-sponsors.html new file mode 100644 index 00000000..10995b5a --- /dev/null +++ b/sponsors/templates/bornhack-2017-sponsors.html @@ -0,0 +1,25 @@ +{% extends 'base.html' %} +{% load static from staticfiles %} + +{% block title %} +Call for Sponsors | {{ block.super }} +{% endblock %} + +{% block content %} +

{{ camp.title }} Sponsors

+

+We are preparing {{ camp.title }} and we need sponsors. Please read our Call for Sponsors if you want to become a sponsor or if you work for an organisation which might be able to help. +

+ +

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!

+
+
+

+ + BornFiber Logo + + Internet uplink and bandwidth +

+
+
+{% endblock %} diff --git a/sponsors/views.py b/sponsors/views.py index d8565fe0..fa9253e8 100644 --- a/sponsors/views.py +++ b/sponsors/views.py @@ -2,8 +2,13 @@ from django.views.generic import TemplateView from camps.mixins import CampViewMixin -class SponsorView(CampViewMixin, TemplateView): +class SponsorsView(CampViewMixin, TemplateView): def get_template_names(self): 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 + +