]> git.parisson.com Git - teleforma.git/commitdiff
test color for seminar status view for staff
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 7 Jan 2014 23:43:26 +0000 (00:43 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 7 Jan 2014 23:43:26 +0000 (00:43 +0100)
teleforma/static/teleforma/css/teleforma.css
teleforma/templates/teleforma/seminars.html

index fb76e8130e30fd654769e4923714dc970fb83908..242d2d34aceb772d83fc6b01f31b89ad7f672120 100644 (file)
@@ -57,6 +57,16 @@ a:hover {
     text-decoration: underline;
 }
 
+.link_red a, a:visited {
+    color: #BB0000;  /* #BB0000  #030250 */
+    text-decoration:none;
+}
+.link_red a:hover {
+    background-color: transparent;
+    color: #BB0000 ; /* #BB0000 #4888f0 */
+    text-decoration: underline;
+}
+
 a img { border: none; }
 
 textarea {
index f3ff0069bac0e2934d52708226c07f89047ba733..4910c0660e4e4056173e6305a6464300a444a468 100644 (file)
@@ -46,7 +46,7 @@ $(function() {
 <ul id="seminars">
 {% block courses %}
 {% for seminar in all_seminars %}
-   <li><a href="{% url teleforma-seminar-detail seminar.id %}">{{ seminar.title }}{% if user.is_staff and seminar.status == 2 %}<img src="{{ STATIC_URL }}telemeta/images/ok.png" title="{% trans "published" %}" alt=""/>{% endif %}</a></li>
+   <li><a href="{% url teleforma-seminar-detail seminar.id %}" {% if user.is_staff and seminar.status != 2 %}class="link_red"{% endif %}>{{ seminar.title }}</a></li>
  {% endfor %}
 {% endblock courses %}
 </ul>