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

index 1e4fc4e056d5d48c1ee0536ac6f8cdf1501e3661..86044944399160198b46077bf37adadedfe4401d 100644 (file)
@@ -67,6 +67,16 @@ a:hover {
     text-decoration: underline;
 }
 
+.link_green a {
+    color: #92b220;  /* #BB0000  #030250 */
+    text-decoration:none;
+}
+.link_green a:hover {
+    background-color: transparent;
+    color: #92b220 ; /* #BB0000 #4888f0 */
+    text-decoration: underline;
+}
+
 a img { border: none; }
 
 textarea {
index 6ac2a055f83b50b2788ae7ddb65a5b9b2cead4a9..b1e204c0e886547e5bdbc89599c2524f50ae3ecf 100644 (file)
@@ -46,7 +46,7 @@ $(function() {
 <ul id="seminars">
 {% block courses %}
 {% for seminar in all_seminars %}
-   <li {% if user.is_staff and seminar.status != 2 %}class="link_red"{% endif %}><a href="{% url teleforma-seminar-detail seminar.id %}">{{ seminar.title }}</a></li>
+   <li {% if user.is_staff and seminar.status == 2 %}class="link_green"{% endif %}><a href="{% url teleforma-seminar-detail seminar.id %}">{{ seminar.title }}</a></li>
  {% endfor %}
 {% endblock courses %}
 </ul>