From: Guillaume Pellerin Date: Mon, 9 Jan 2017 23:20:50 +0000 (+0100) Subject: Fix module header X-Git-Tag: 1.1~42 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5f9ebbc510194a9416833c90966ce773e1ef2e85;p=teleforma.git Fix module header --- diff --git a/teleforma/models/core.py b/teleforma/models/core.py index c9d3f249..a6a92d60 100644 --- a/teleforma/models/core.py +++ b/teleforma/models/core.py @@ -3,7 +3,7 @@ """ teleforma - Copyright (c) 2006-2012 Guillaume Pellerin + Copyright (c) 2012-2017 Guillaume Pellerin # This software is governed by the CeCILL license under French law and # abiding by the rules of distribution of free software. You can use, diff --git a/teleforma/models/crfpa.py b/teleforma/models/crfpa.py index 640e0dad..cb30c5af 100644 --- a/teleforma/models/crfpa.py +++ b/teleforma/models/crfpa.py @@ -3,7 +3,7 @@ """ teleforma - Copyright (c) 2006-2012 Guillaume Pellerin + Copyright (c) 2012-2017 Guillaume Pellerin # This software is governed by the CeCILL license under French law and # abiding by the rules of distribution of free software. You can use, diff --git a/teleforma/static/teleforma/css/teleforma.css b/teleforma/static/teleforma/css/teleforma.css index 46c7741b..cdceea7e 100644 --- a/teleforma/static/teleforma/css/teleforma.css +++ b/teleforma/static/teleforma/css/teleforma.css @@ -1380,7 +1380,7 @@ input,textarea{ #module-set-left .module { border: 1px solid #000; - background: repeat-x repeat-y url(/static/telemeta/images/tw_hd.png) 0 0; + background: repeat url(/static/telemeta/images/tw_hd.png) 0 0; padding: 0.2em; margin: 0em 0em 1.5em 0em; -moz-border-radius: 8px 0px 11px 11px; diff --git a/teleforma/views/core.py b/teleforma/views/core.py index a4f6ca2d..380e5d4f 100644 --- a/teleforma/views/core.py +++ b/teleforma/views/core.py @@ -730,7 +730,6 @@ class ProfessorListView(View): return [p.to_json_dict() for p in professors] def pull(request, host=None): - if host: url = 'http://' + host + '/json/' else: