From 5f9ebbc510194a9416833c90966ce773e1ef2e85 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 10 Jan 2017 00:20:50 +0100 Subject: [PATCH] Fix module header --- teleforma/models/core.py | 2 +- teleforma/models/crfpa.py | 2 +- teleforma/static/teleforma/css/teleforma.css | 2 +- teleforma/views/core.py | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) 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: -- 2.39.5