Remove lingering use of 'page-header'

BS removed that style
This commit is contained in:
2020-10-17 17:59:23 +01:00
parent 0fee753284
commit 848e8c8ccd
6 changed files with 19 additions and 27 deletions

View File

@@ -310,8 +310,10 @@ class EventAuthorise(generic.UpdateView):
def get_context_data(self, **kwargs):
context = super(EventAuthorise, self).get_context_data(**kwargs)
context['event'] = self.event
context['tos_url'] = settings.TERMS_OF_HIRE_URL
context['page_title'] = "{}: {}".format(self.event.display_id, self.event.name)
if self.event.dry_hire:
context['page_title'] += ' <span class="badge badge-secondary align-top">Dry Hire</span>'
return context
def get(self, request, *args, **kwargs):