diff --git a/src/bornhack/urls.py b/src/bornhack/urls.py index 64d0d351..3bbbe0fe 100644 --- a/src/bornhack/urls.py +++ b/src/bornhack/urls.py @@ -139,11 +139,6 @@ urlpatterns = [ include('program.urls', namespace='program'), ), - path( - 'sponsors/call/', - CallForSponsorsView.as_view(), - name='call-for-sponsors' - ), path( 'sponsors/', SponsorsView.as_view(), diff --git a/src/program/templates/call_for_participation.html b/src/program/templates/call_for_participation.html index ee865f22..d9b7d58e 100644 --- a/src/program/templates/call_for_participation.html +++ b/src/program/templates/call_for_participation.html @@ -12,6 +12,10 @@ Call for Participation | {{ block.super }} {% endif %} -{{ cfp_markdown|safe }} +{% if not camp.call_for_participation %} +
This CFP has not been written yet.
+{% else %} +{{ camp.call_for_participation|safe }} +{% endif %} {% endblock %} diff --git a/src/program/views.py b/src/program/views.py index c47aa7d9..85b00db4 100644 --- a/src/program/views.py +++ b/src/program/views.py @@ -675,14 +675,6 @@ class ScheduleView(CampViewMixin, TemplateView): class CallForParticipationView(CampViewMixin, TemplateView): 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'] = "This CFP has not been written yet.
" - return context - ################################################################################################### # control center csv diff --git a/src/sponsors/templates/bornhack-2016_call_for_sponsors.html b/src/sponsors/templates/bornhack-2016_call_for_sponsors.html deleted file mode 100644 index 61782115..00000000 --- a/src/sponsors/templates/bornhack-2016_call_for_sponsors.html +++ /dev/null @@ -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 %} -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 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.
- -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.
- -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.
- -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/src/sponsors/templates/bornhack-2017_call_for_sponsors.html b/src/sponsors/templates/bornhack-2017_call_for_sponsors.html deleted file mode 100644 index 9b0c194f..00000000 --- a/src/sponsors/templates/bornhack-2017_call_for_sponsors.html +++ /dev/null @@ -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 %} -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.
- -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.
- -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.
- -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.
- -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/src/sponsors/templates/bornhack-2018_call_for_sponsors.html b/src/sponsors/templates/bornhack-2018_call_for_sponsors.html deleted file mode 100644 index f420e9d0..00000000 --- a/src/sponsors/templates/bornhack-2018_call_for_sponsors.html +++ /dev/null @@ -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 %} -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.
- -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.
- -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.
- -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.
- -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/src/sponsors/templates/sponsors.html b/src/sponsors/templates/sponsors.html index c9ae5c77..f897b1e5 100644 --- a/src/sponsors/templates/sponsors.html +++ b/src/sponsors/templates/sponsors.html @@ -52,65 +52,14 @@ Sponsors | {{ block.super }} {% if not camp.call_for_sponsors_open %}We are looking for sponsors to help us make {{ camp.title }} as -unforgettable as the previous ones. 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.
- -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.
- -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 Open Source Days.
- -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.
- -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.
+{% if not camp.call_for_sponsors %} +This CFS has not been written yet.
+{% else %} +{{ camp.call_for_sponsors|safe }} +{% endif %} {% endblock %} diff --git a/src/sponsors/views.py b/src/sponsors/views.py index 3c1a3644..87ecd49e 100644 --- a/src/sponsors/views.py +++ b/src/sponsors/views.py @@ -18,7 +18,3 @@ class SponsorsView(CampViewMixin, ListView): 'name', ) - -class CallForSponsorsView(CampViewMixin, TemplateView): - def get_template_names(self): - return '%s_call_for_sponsors.html' % self.camp.slug