diff --git a/conference/forms.py b/conference/forms.py index 12040fc2..897f441b 100644 --- a/conference/forms.py +++ b/conference/forms.py @@ -132,7 +132,8 @@ class ConferenceCreateForm(forms.Form): else: conference = obj conference.theme.clear() - conference.tag.clear() + if data.get('tag'): + conference.tag.clear() #simple fields if not getattr(conference, 'url'): diff --git a/exposition/forms.py b/exposition/forms.py index 7036432a..8b431736 100644 --- a/exposition/forms.py +++ b/exposition/forms.py @@ -161,9 +161,11 @@ class ExpositionCreateForm(forms.Form): else: exposition = obj exposition.theme.clear() - exposition.tag.clear() + + exposition.organiser.clear() - #exposition.company.clear() + if data.get('tag'): + exposition.tag.clear() #simple fields if not getattr(exposition, 'url'): diff --git a/templates/client/includes/article/news_on_main_logo.html b/templates/client/includes/article/news_on_main_logo.html index 51e2920d..9ae0fa5e 100644 --- a/templates/client/includes/article/news_on_main_logo.html +++ b/templates/client/includes/article/news_on_main_logo.html @@ -2,7 +2,7 @@ {% load thumbnail %} {% if obj.logo %} - {% thumbnail obj.logo "80x80" format="PNG" as im %} + {% thumbnail obj.logo "70x70" format="PNG" as im %} {% endthumbnail %} {% else %}