]> git.parisson.com Git - teleforma.git/commitdiff
fix some colors and buttons
authoryomguy <yomguy@parisson.com>
Thu, 19 Apr 2012 09:35:23 +0000 (11:35 +0200)
committeryomguy <yomguy@parisson.com>
Thu, 19 Apr 2012 09:35:23 +0000 (11:35 +0200)
teleforma/htdocs/css/teleforma.css
teleforma/templates/teleforma/course_conference.html
teleforma/templates/telemeta/inc/user_list.html
teleforma/templates/telemeta/profile_detail.html

index 6bfab12218e9346a05dfba366d8de9f3e19ffbfd..57c3c43a07fd78fe031821960a53373bbe653f18 100644 (file)
@@ -1147,7 +1147,8 @@ a.image-link {
     }
 
 #action_red {
-    background-color:  #bb1020;
+/*     background-color:  #bb1020; */
+    background-color: #d34836;
     color: #FFF;
     padding:0.8em 0.8em 0.8em 0.8em;
     }
index e77cf6bb613cd2a55cdb8c7b199acaae2b310b27..b6a20bd454d242f6c26b6c908090fcf24195392c 100644 (file)
@@ -32,7 +32,7 @@
 <dl class="listing">
 <dt>{% trans "Title" %}</dt><dd>{{ conference.course.title }}</dd>
 <dt>{% trans "Session" %}</dt><dd>{{ conference.session }}</dd>
-<dt>{% trans "Professor" %}</dt><dd><a href="{% url telemeta-profile-detail conference.professor.user.username %}">{{ conference.professor }}</a></dd>
+<dt>{% trans "Professor" %}</dt><dd><a href="{% url telemeta-profile-detail conference.professor.user.username %}" target="_blank">{{ conference.professor }}</a></dd>
 <dt>{% trans "Begin" %}</dt><dd>{{ conference.date_begin }}</dd>
 <dt>{% trans "End" %}</dt><dd>{{ conference.date_end }}</dd>
 <dt>{% trans "Live" %}</dt><dd>{{ conference.streaming }}</dd>
index 58a882de438306964122dd8d0527e8b4a1d71b35..11c4902c8a15b82aba678b1650a8eea6ff7c8f1e 100644 (file)
@@ -69,7 +69,7 @@
         <td></td>
         <td></td>
     {%  endif %}
-    <td><a href="{% url postman_write user.username %}" class="component_icon button" id="action_orange">{% trans "Message" %}</a></td>
+    <td><a href="{% url postman_write user.username %}" class="component_icon button" id="action_red">{% trans "Message" %}</a></td>
     </tr>
     {% endfor %}
     </tbody>
index 15188644c8fd5ee3ec7441c0915933925dfba703..0d497a7c7fe342f35499bd9876a1b4b35c0f1b7e 100644 (file)
   {% block modules %}
 
     {% block module_searches %}
-    {% with searches as searches and "My searches" as title %}
+    {% with searches as searches and "Searches" as title %}
     {% include "telemeta/inc/module_searches.html" %}
     {% endwith %}
     {% endblock %}
 
-    {% block module_all_revisions %}
-    {% with revisions as revisions and "All last changes" as title %}
-    {% include "telemeta/inc/module_revisions.html" %}
-    {% endwith %}
-    {% endblock %}
-
   {% endblock %}
 
-  {% if user.is_authenticated and user.username == usr.username or user.is_staff %}
+  {% if user.is_authenticated %}
    <div class="module_action">
-    <a href="{% url telemeta-profile-edit usr.username %}" class="component_icon button" id="action_blue">{% trans "Modify profile" %}</a>
+    <a href="{% url postman_write user.username %}" class="component_icon button" id="action_red">{% trans "Send a message" %}</a>
    </div>
   {%  endif %}
 
@@ -39,8 +33,9 @@
     <h1>{% trans "User profile" %} : {{ usr.username }}
     </h1>
 
-    {% if user.is_authenticated and user.username == usr.username %}
+    {% if user.is_authenticated and user.username == usr.username or user.is_staff %}
     <div id="password" style="float: right;">
+    <a href="{% url telemeta-profile-edit usr.username %}" class="component_icon button icon_edit">{% trans "Edit" %}</a>
     <a href="{% url telemeta-password-change %}" class="component_icon button icon_login">{% trans "Change password" %}</a>
     </div>
     {%  endif %}