-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add ability to customize call to action button - document fields in the admin - use CharField instead of textfield where appropriate - removed site description (use welcome_content instead) as it conflicts with search box - mention in the doc
- Loading branch information
1 parent
6b6b10e
commit 1f6b9f6
Showing
4 changed files
with
187 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.15 on 2018-10-15 00:08 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('geonode_themes', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='geonodethemecustomization', | ||
name='jumbotron_site_description', | ||
), | ||
migrations.AddField( | ||
model_name='geonodethemecustomization', | ||
name='jumbotron_cta_hide', | ||
field=models.BooleanField(default=False, verbose_name=b'Hide call to action'), | ||
), | ||
migrations.AddField( | ||
model_name='geonodethemecustomization', | ||
name='jumbotron_cta_link', | ||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name=b'Call to action link'), | ||
), | ||
migrations.AddField( | ||
model_name='geonodethemecustomization', | ||
name='jumbotron_cta_text', | ||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name=b'Call to action text'), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='contact_administrative_area', | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='contact_city', | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='contact_country', | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='contact_delivery_point', | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='contact_email', | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='contact_facsimile', | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='contact_name', | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='contact_position', | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='contact_postal_code', | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='contact_street', | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='contact_voice', | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='contactus', | ||
field=models.BooleanField(default=False, verbose_name=b'Enable contact us box'), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='date', | ||
field=models.DateTimeField(auto_now_add=True, help_text=b'This will not appear anywhere.'), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='description', | ||
field=models.TextField(blank=True, help_text=b'This will not appear anywhere.', null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='is_enabled', | ||
field=models.BooleanField(default=False, help_text=b'Enabling this theme will disable the current enabled theme (if any)'), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='jumbotron_bg', | ||
field=models.ImageField(blank=True, null=True, upload_to=b'img/%Y/%m', verbose_name=b'Jumbotron background'), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='jumbotron_welcome_content', | ||
field=models.TextField(blank=True, null=True, verbose_name=b'Jumbotron content'), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='jumbotron_welcome_hide', | ||
field=models.BooleanField(default=False, help_text=b'Check this if the jumbotron backgroud image already contains text', verbose_name=b'Hide text in the jumbotron'), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='jumbotron_welcome_title', | ||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name=b'Jumbotron title'), | ||
), | ||
migrations.AlterField( | ||
model_name='geonodethemecustomization', | ||
name='name', | ||
field=models.CharField(help_text=b'This will not appear anywhere.', max_length=100), | ||
), | ||
migrations.AlterField( | ||
model_name='partner', | ||
name='href', | ||
field=models.CharField(max_length=255, verbose_name=b'Website'), | ||
), | ||
migrations.AlterField( | ||
model_name='partner', | ||
name='name', | ||
field=models.CharField(help_text=b'This will not appear anywhere.', max_length=100), | ||
), | ||
migrations.AlterField( | ||
model_name='partner', | ||
name='title', | ||
field=models.CharField(max_length=255, verbose_name=b'Display name'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters