Author: batiste.bieler
Date: Thu May  7 00:55:43 2009
New Revision: 515

Modified:
    trunk/AUTHORS
    trunk/pages/templates/admin/pages/page/change_form.html
    trunk/pages/templates/admin/pages/page/includes/fieldset.html

Log:
Fix the frontend bug with the add function

Modified: trunk/AUTHORS
==============================================================================
--- trunk/AUTHORS       (original)
+++ trunk/AUTHORS       Thu May  7 00:55:43 2009
@@ -2,5 +2,7 @@
  Jannis Leidel
  Antoni Aloy López
  Benjamin Wohlwend
-poweredbypenguins
-homebrew79
+poweredbypenguins <-- who is this guy?
+homebrew79 <-- and this one?
+Marco Bonetti
+Gabriel Walt
\ No newline at end of file

Modified: trunk/pages/templates/admin/pages/page/change_form.html
==============================================================================
--- trunk/pages/templates/admin/pages/page/change_form.html     (original)
+++ trunk/pages/templates/admin/pages/page/change_form.html     Thu May  7  
00:55:43 2009
@@ -24,7 +24,7 @@
          {% for fieldset in adminform %}
              {% include "admin/pages/page/includes/fieldset.html" %}

-            {% if forloop.first and not add %}
+            {% if forloop.first %}
                  <fieldset class="module module-translation-helper aligned">
                      <h2>{% trans "Translation helper" %}</h2>
                      <div class="form-row">
@@ -35,6 +35,7 @@
                                  <option value="{{ lang.0 }}">{{ lang.1  
}}</option>
                              {% endfor %}
                          </select>
+                        {% comment %}A little "smart" trick here to have  
this right column{% endcomment %}
                          <div id="translation-helper-content"></div>
                      </div>
                  </fieldset>

Modified: trunk/pages/templates/admin/pages/page/includes/fieldset.html
==============================================================================
--- trunk/pages/templates/admin/pages/page/includes/fieldset.html       
(original)
+++ trunk/pages/templates/admin/pages/page/includes/fieldset.html       Thu May 
  
7 00:55:43 2009
@@ -22,7 +22,7 @@
                                  <ul class="clearfix">
                                  {% for lang in page_languages %}
                                      {% ifequal language lang.0 %}
-                                        <li><span class="current">{{  
lang.0 }}</li>
+                                        <li><span class="current">{{  
lang.0 }}</span></li>
                                      {% else %}
                                          {% if page|has_content_in:lang.0 %}
                                              <li><a class="editlink"  
href="?language={{ lang.0 }}">{{ lang.0 }}</a></li>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to