From d2c4a18df7181ba9e6628148d02bbee461dd907f Mon Sep 17 00:00:00 2001 From: Vidir Valberg Gudmundsson Date: Sat, 15 Jul 2017 15:35:38 +0200 Subject: [PATCH] Styling, and hoping it looks good on @telling's big screen. --- .../migrations/0006_auto_20170715_1110.py | 25 +++++++++++++++++++ src/sponsors/templates/sponsors.html | 14 ++++------- 2 files changed, 30 insertions(+), 9 deletions(-) create mode 100644 src/sponsors/migrations/0006_auto_20170715_1110.py diff --git a/src/sponsors/migrations/0006_auto_20170715_1110.py b/src/sponsors/migrations/0006_auto_20170715_1110.py new file mode 100644 index 00000000..8cb9df30 --- /dev/null +++ b/src/sponsors/migrations/0006_auto_20170715_1110.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.5 on 2017-07-15 09:10 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('sponsors', '0005_sponsor_url'), + ] + + operations = [ + migrations.AlterField( + model_name='sponsor', + name='logo', + field=models.URLField(help_text='A URL to the logo', max_length=255), + ), + migrations.AlterField( + model_name='sponsor', + name='url', + field=models.URLField(blank=True, help_text='An URL to the sponsor.', null=True), + ), + ] diff --git a/src/sponsors/templates/sponsors.html b/src/sponsors/templates/sponsors.html index ab01395e..b1dfb839 100644 --- a/src/sponsors/templates/sponsors.html +++ b/src/sponsors/templates/sponsors.html @@ -27,24 +27,20 @@ Sponsors | {{ block.super }} -
+
{% endifchanged %} - + {{ sponsor.description }} +

{% if forloop.last == True %}