]> git.parisson.com Git - teleforma.git/commitdiff
fix seminar button
authoryomguy <yomguy@parisson.com>
Wed, 2 Jan 2013 20:27:20 +0000 (21:27 +0100)
committeryomguy <yomguy@parisson.com>
Wed, 2 Jan 2013 20:27:20 +0000 (21:27 +0100)
teleforma/static/teleforma/css/teleforma.css
teleforma/templates/teleforma/inc/seminar_description.html
teleforma/templates/teleforma/seminars.html

index d0e320b6443bbf6c3dfa161e7e88d034318bbfde..f13566427930be568b3705e7c2bd318f969232df 100644 (file)
@@ -1512,6 +1512,7 @@ input,textarea{
 .course_content p {
     padding: 0.5em 0.8em 0.8em 0.8em;
     margin-top: 0.8em;
+    overflow: auto;
     }
 
 .course_media {
index 8c47cfae53bd622abb466cf4f8cef91052edd332..bf4182e0df84e442862f06a71dbe5db7098eee71 100644 (file)
@@ -1,7 +1,7 @@
 {% load teleforma_tags %}
 {% load i18n %}
 
-<dl class="listing" style="font-size: 1.1em;">
+<dl class="listing" style="font-size: 1.1em; color: black;">
 <dt>{% trans "course" %}</dt><dd>{{ seminar.course }}</dd>
 <dt>{% trans "level" %}</dt><dd>{{ seminar.level }}</dd>
 <dt>{% trans "public concerned" %}</dt><dd>{{ seminar.concerned }}</dd>
index aaf9f70790aba07366ef53ccc0b7d463b6580c46..f53bd5d00e7e38554bda5c678a3cea2547f98fa8 100644 (file)
@@ -15,7 +15,7 @@ $(function () {
 
 $(function () {
     $('div.keywords').expander({
-        slicePoint: 45,
+        slicePoint: 40,
         expandText: 'Lire plus',
         userCollapseText: 'Cacher le texte',
     });
@@ -88,7 +88,6 @@ $(function() {
     {% for seminar in object_list %}
       
       <div class="course">
-
         <div class="course_title">
          <a href="{% url teleforma-seminar-detail seminar.id %}">{{ seminar.title }}</a>
          <div style="float: right; font-size: 0.9em;">
@@ -100,21 +99,26 @@ $(function() {
           </div>
         </div>
 
+        
+            
         <div class="course_content">
             <div class="course_subtitle">
             </div>
             <div class="course_description">
-              {% include "teleforma/inc/seminar_description.html" %}
-              <table><tr><td width="80%"></td>
-              <td width="20%">
-              <div style="margin-bottom: 0.5em;">
-              <a href="{% url teleforma-seminar-detail seminar.id %}" class="component_icon button icon_next">{% trans "Access to the seminar" %}</a>
-              </div>
+              <a href="{% url teleforma-seminar-detail seminar.id %}">
+             <table>
+              <tr><td width="97%">   
+               {% include "teleforma/inc/seminar_description.html" %} 
+              </td>
+              <td>
+               <a href="{% url teleforma-seminar-detail seminar.id %}" class="component_icon button icon_next"></a>
               </td>
               </tr>
-            </table>
+             </table>
             </div>
+          </a>
         </div>
+
       </div>
    {% endfor %}
 </div>