Author: gabriel.walt
Date: Tue May  5 07:42:01 2009
New Revision: 504

Modified:
    branches/electron/pages/media/pages/css/pages.css
    branches/electron/pages/media/pages/javascript/pages_list.js
    branches/electron/pages/templates/admin/pages/page/includes/fieldset.html

Log:
Tried to make an exception for the languages in the page_form, not finished  
yet & doesn't work yet

Modified: branches/electron/pages/media/pages/css/pages.css
==============================================================================
--- branches/electron/pages/media/pages/css/pages.css   (original)
+++ branches/electron/pages/media/pages/css/pages.css   Tue May  5 07:42:01  
2009
@@ -349,6 +349,11 @@
  .change-form .sidebar div.description {
      margin: 5px;
  }
+.change-form .field-box {
+    position: relative;
+    float: none;
+    margin: 0;
+}

  /* Title */
  .module-general .title label {
@@ -380,7 +385,7 @@
      border-bottom: none;
      border-right: 1px solid #eee;
  }
-.change-form .module-options .form-row div {
+.change-form .module-options .form-row .field-box {
      padding: 8px 12px;
  }
  .change-form .module-options select {
@@ -398,7 +403,6 @@
  .change-form .module-content .field-box {
      position: relative;
      float: none;
-    margin: 0;
      padding: 8px 12px;
  }
  .change-form .module-content .revisions {

Modified: branches/electron/pages/media/pages/javascript/pages_list.js
==============================================================================
--- branches/electron/pages/media/pages/javascript/pages_list.js        
(original)
+++ branches/electron/pages/media/pages/javascript/pages_list.js        Tue May 
 5  
07:42:01 2009
@@ -1,10 +1,5 @@
  /* Initialization of the change_list page - this script is run once  
everything is ready. */
-/*
-TODO:
-- Test & debug for IE
-- Show the whole language list on the pages, even the languages in which  
the page doesn't exist
-- Better collapse / expand system
-*/
+

  $(function () {
      var action = false;

Modified:  
branches/electron/pages/templates/admin/pages/page/includes/fieldset.html
==============================================================================
---  
branches/electron/pages/templates/admin/pages/page/includes/fieldset.html       
 
(original)
+++  
branches/electron/pages/templates/admin/pages/page/includes/fieldset.html       
 
Tue May  5 07:42:01 2009
@@ -14,7 +14,11 @@
                          {% if field.is_checkbox %}
                              {{ field.field }}{{ field.label_tag }}
                          {% else %}
-                            {{ field.label_tag }}{{ field.field }}
+                            {% ifequal field.field.name 'language' %}
+                                <label>{% trans "Language" %}</label>
+                            {% else %}
+                                {{ field.label_tag }}{{ field.field }}
+                            {% endifequal %}
                          {% endif %}
                          {% if field.field.field.help_text %}
                              <p class="help">{{ field.field.field.help_text| 
safe }}</p>

--~--~---------~--~----~------------~-------~--~----~
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