From 274f8ac966cb7dbc3615c7de8686fe1836768c01 Mon Sep 17 00:00:00 2001 From: Jamie Lennox Date: Sun, 2 Jul 2017 16:08:15 +1000 Subject: [PATCH] Add the T&C and COC to the accept box Link to the T&C and Code of conducts so people know what they are accepting. Create this as a static link because i don't know how django would accept this being something dynamic on the model. This annoyingly creates a migration, but it's not a real change and easier to accept it now than fight django forever. --- .../migrations/0003_auto_20170702_1606.py | 35 +++++++++++++++++++ vendor/symposion/speakers/models.py | 10 ++++-- 2 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 vendor/symposion/speakers/migrations/0003_auto_20170702_1606.py diff --git a/vendor/symposion/speakers/migrations/0003_auto_20170702_1606.py b/vendor/symposion/speakers/migrations/0003_auto_20170702_1606.py new file mode 100644 index 00000000..e3f22e64 --- /dev/null +++ b/vendor/symposion/speakers/migrations/0003_auto_20170702_1606.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.3 on 2017-07-02 06:06 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('symposion_speakers', '0002_auto_20161230_1900'), + ] + + operations = [ + migrations.AlterField( + model_name='speaker', + name='accessibility', + field=models.TextField(blank=True, help_text='Please describe any special accessibility requirements that you may have. This field is rendered with the monospace font Hack with whitespace preserved', verbose_name='Accessibility requirements'), + ), + migrations.AlterField( + model_name='speaker', + name='agreement', + field=models.BooleanField(default=False, help_text='I agree to the terms and conditions of attendance, and I have read, understood, and agree to act according to the standards set forth in our Code of Conduct.'), + ), + migrations.AlterField( + model_name='speaker', + name='biography', + field=models.TextField(blank=True, help_text='This will appear on the conference website and in the programme. Please write in the third person, eg \'Alice is a Moblin hacker...\', 150-200 words. This field is rendered with the monospace font Hack with whitespace preserved', verbose_name='Biography'), + ), + migrations.AlterField( + model_name='speaker', + name='experience', + field=models.TextField(blank=True, help_text='Have you had any experience presenting elsewhere? If so, we\'d like to know. Anything you put here will only be seen by the organisers and reviewers; use it to convince them why they should accept your proposal. This field is rendered with the monospace font Hack with whitespace preserved', verbose_name='Speaking experience'), + ), + ] diff --git a/vendor/symposion/speakers/models.py b/vendor/symposion/speakers/models.py index 55397506..94e7d26e 100644 --- a/vendor/symposion/speakers/models.py +++ b/vendor/symposion/speakers/models.py @@ -79,9 +79,13 @@ class Speaker(models.Model): ) agreement = models.BooleanField( default=False, - help_text=_("I agree to the terms and conditions of attendance, and " - "I have read, understood, and agree to act according to " - "the standards set forth in our Code of Conduct ") + help_text=_("I agree to the " + " " + "terms and conditions of attendance, and I have read, " + "understood, and agree to act according to the standards set " + "forth in our " + "" + "Code of Conduct.") ) annotation = models.TextField(verbose_name=_("Annotation")) # staff only