From a7fb1930ec8664fb14741231f8d9406aa3b68a94 Mon Sep 17 00:00:00 2001 From: Josue Kouka Date: Tue, 14 Nov 2017 11:36:05 +0100 Subject: [PATCH] misc: set links capitalisation without using css (#20072) --- mandayejs/mandaye/static/mandaye.css | 12 ------------ mandayejs/mandaye/templates/mandaye/panel.html | 12 ++++++------ 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/mandayejs/mandaye/static/mandaye.css b/mandayejs/mandaye/static/mandaye.css index 9488777..7145e5c 100644 --- a/mandayejs/mandaye/static/mandaye.css +++ b/mandayejs/mandaye/static/mandaye.css @@ -41,15 +41,3 @@ #mandaye-username{ text-transform:capitalize; } - -#mandaye-association-url:first-letter { - text-transform : uppercase; -} - -#mandaye-logon-url:first-letter { - text-transform: uppercase; -} - -#mandaye-advances:first-letter { - text-transform: uppercase; -} diff --git a/mandayejs/mandaye/templates/mandaye/panel.html b/mandayejs/mandaye/templates/mandaye/panel.html index 53f0e59..6af1be7 100644 --- a/mandayejs/mandaye/templates/mandaye/panel.html +++ b/mandayejs/mandaye/templates/mandaye/panel.html @@ -24,15 +24,15 @@ {% if user.is_authenticated %}
{{ user.get_full_name }}
- {% if portal_user_url %}
{% trans 'advances' %}
{% endif %} + {% if portal_user_url %}
{% trans 'Advances' %}
{% endif %}
{% trans 'logout' %}
{% if is_linked %} -
{% trans 'dissociate' %}
+
{% trans 'Dissociate' %}
{% else %} -
{% trans 'associate' %}
+
{% trans 'Associate' %}
{% endif %} {% else %} - {% if portal_user_url %}
{% trans 'advances' %}
{% endif %} -
{% trans 'login' %}
-
{% trans 'associate' %}
+ {% if portal_user_url %}
{% trans 'Advances' %}
{% endif %} +
{% trans 'Login' %}
+
{% trans 'Associate' %}
{% endif %} -- 2.11.0