From: Guillaume Pellerin Date: Tue, 29 Sep 2015 19:45:03 +0000 (+0200) Subject: add blank target of external links X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=489f87223ab4b9e65c9704a6acc19726de842bb3;p=diggersdigest.git add blank target of external links --- diff --git a/app/diggersdigest/settings.py b/app/diggersdigest/settings.py index 2223274..9930de6 100644 --- a/app/diggersdigest/settings.py +++ b/app/diggersdigest/settings.py @@ -271,7 +271,7 @@ AUTHENTICATION_BACKENDS = ("mezzanine.core.auth_backends.MezzanineBackend",) # a mode you'd pass directly to os.chmod. FILE_UPLOAD_PERMISSIONS = 0o644 - +# MAX_UPLOAD_SIZE = 429916160 ############# # DATABASES # diff --git a/app/records/static/css/dig2.css b/app/records/static/css/dig2.css index 0373b84..d38538d 100644 --- a/app/records/static/css/dig2.css +++ b/app/records/static/css/dig2.css @@ -19,7 +19,7 @@ hr { height: 2px; border: 0; border-top: 2px solid #000; - margin: 1em 0; + margin: 0em 0em 1em 0em; padding: 0; } diff --git a/app/templates/base.html b/app/templates/base.html index 0a0b5e2..b6b589d 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -45,15 +45,6 @@ - - {% block extra_head %}{% endblock %} diff --git a/app/templates/pages/menus/dropdown.html b/app/templates/pages/menus/dropdown.html index 1d4594a..b715b6c 100644 --- a/app/templates/pages/menus/dropdown.html +++ b/app/templates/pages/menus/dropdown.html @@ -17,7 +17,8 @@ + {% endif %} + {% if page.content_model == 'link'%} target="_blank"{% endif %}> {{ page.title }} {% if page.has_children_in_menu %}{% endif %} @@ -34,7 +35,7 @@
  • - {{ page.title }} + {{ page.title }} {% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
  • {% endif %}