portail_famille: change the color of the connection button
Closes #4965
This commit is contained in:
parent
d22d3fe258
commit
e734149e30
|
@ -47,7 +47,7 @@ def clean_js(env, values, request, response):
|
|||
def add_sso_login_box(env, values, request, response):
|
||||
if response.msg and "egoSubmitMeConnecter_action133_6T9N" in response.msg:
|
||||
sub = re.subn(r' value="Me connecter"/>',
|
||||
' value="Me connecter"/><a href="/mandaye/sso" class="teamnetButtonValid teamnetButtonValidLeftToRight">Me connecter avec mon.meyzieu.fr</a>',
|
||||
' value="Me connecter"/><a href="/mandaye/sso" class="teamnetButtonValid teamnetButtonValidLeftToRight" style="background: #b53c73;">Me connecter avec mon.meyzieu.fr</a>',
|
||||
response.msg)
|
||||
response.msg = sub[0]
|
||||
if sub[1] != 1:
|
||||
|
|
Reference in New Issue