summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2014-07-23 15:32:07 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2014-07-23 15:32:07 (GMT)
commit006cf8e3c058accaff7ae95edfbecc5c0a478f88 (patch)
treed83872e65e529465c2c5fca46facec80eed26db8
parente734149e30bb5ae5c3ec10d8fd16ae7662de1468 (diff)
downloadmandaye-meyzieu-006cf8e3c058accaff7ae95edfbecc5c0a478f88.zip
mandaye-meyzieu-006cf8e3c058accaff7ae95edfbecc5c0a478f88.tar.gz
mandaye-meyzieu-006cf8e3c058accaff7ae95edfbecc5c0a478f88.tar.bz2
portail_famille;: change color of the associate button
-rw-r--r--rp_meyzieu/filters/portail_famille_ecitiz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rp_meyzieu/filters/portail_famille_ecitiz.py b/rp_meyzieu/filters/portail_famille_ecitiz.py
index 0eceba5..a6a1ba8 100644
--- a/rp_meyzieu/filters/portail_famille_ecitiz.py
+++ b/rp_meyzieu/filters/portail_famille_ecitiz.py
@@ -17,7 +17,7 @@ def associate(env, values, request, response):
logger.warning('Filter portail_famille_ecitiz.associate: change form action failed !')
response.msg = response.msg.replace('<a name="egoSubmitMeConnecter_action133_6T9N"></a>', '')
response.msg = response.msg.replace('Connexion', 'Association')
- sub = re.subn(r'<input type="submit" name="egoSubmitMeConnecter_action133_6T9N".*?>', '<input type="submit" title="" class="teamnetButtonValid teamnetButtonValidLeftToRight" value="Associer" />',
+ sub = re.subn(r'<input type="submit" name="egoSubmitMeConnecter_action133_6T9N".*?>', '<input type="submit" title="" class="teamnetButtonValid teamnetButtonValidLeftToRight" style="background: #b53c73;" value="Associer" />',
response.msg)
response.msg = sub[0]
if sub[1] != 1: