fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [7846] property: formatting


From: Sigurd Nes
Subject: [Fmsystem-commits] [7846] property: formatting
Date: Sat, 08 Oct 2011 09:20:40 +0000

Revision: 7846
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7846
Author:   sigurdne
Date:     2011-10-08 09:20:39 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
property: formatting

Modified Paths:
--------------
    trunk/property/inc/class.sorequest.inc.php
    trunk/property/inc/class.uirequest.inc.php
    trunk/property/js/yahoo/property.js
    trunk/property/templates/base/css/property.css
    trunk/property/templates/portico/css/base.css

Modified: trunk/property/inc/class.sorequest.inc.php
===================================================================
--- trunk/property/inc/class.sorequest.inc.php  2011-10-07 06:41:23 UTC (rev 
7845)
+++ trunk/property/inc/class.sorequest.inc.php  2011-10-08 09:20:39 UTC (rev 
7846)
@@ -324,7 +324,7 @@
                        $uicols['align'][]                      = '';
                        $uicols['datatype'][]           = '';
                        $uicols['formatter'][]          = 'FormatterRight';
-                       $uicols['classname'][]          = '';
+                       $uicols['classname'][]          = 'rightClasss';
                        $uicols['sortable'][]           = true;
 
                        

Modified: trunk/property/inc/class.uirequest.inc.php
===================================================================
--- trunk/property/inc/class.uirequest.inc.php  2011-10-07 06:41:23 UTC (rev 
7845)
+++ trunk/property/inc/class.uirequest.inc.php  2011-10-08 09:20:39 UTC (rev 
7846)
@@ -682,7 +682,7 @@
 
                                //all colums should be have formatter
                                
$datatable['headers']['header'][$i]['formatter'] = 
($uicols['formatter'][$i]==''?  '""' : $uicols['formatter'][$i]);
-                               
+                               
$datatable['headers']['header'][$i]['className'] = $uicols['classname'][$i] ? 
$uicols['classname'][$i] : '';                            
                                if($uicols['input_type'][$i]!='hidden')
                                {
                                        
$datatable['headers']['header'][$i]['name']                     = 
$uicols['name'][$i];
@@ -963,6 +963,7 @@
                                }
 
                                $origin         = phpgw::get_var('origin');
+
                                $origin_id      = phpgw::get_var('origin_id', 
'int');
 
                                //23.jun 08: This will be handled by the 
interlink code - just doing a quick hack for now...

Modified: trunk/property/js/yahoo/property.js
===================================================================
--- trunk/property/js/yahoo/property.js 2011-10-07 06:41:23 UTC (rev 7845)
+++ trunk/property/js/yahoo/property.js 2011-10-08 09:20:39 UTC (rev 7846)
@@ -60,6 +60,7 @@
                newTD.style.fontWeight = 'bolder';
                newTD.style.textAlign = 'right';
                newTD.style.paddingRight = '0.8em';
+               newTD.style.whiteSpace = 'nowrap';
                newTD.appendChild(document.createTextNode(sum));
                newTR.appendChild(newTD);
        }

Modified: trunk/property/templates/base/css/property.css
===================================================================
--- trunk/property/templates/base/css/property.css      2011-10-07 06:41:23 UTC 
(rev 7845)
+++ trunk/property/templates/base/css/property.css      2011-10-08 09:20:39 UTC 
(rev 7846)
@@ -43,5 +43,5 @@
        text-overflow: ellipsis; /* IE and Safari support the ability to add 
ellipsis when the text label exceeds 10em in width.*/
 }
 
-.rightClasss {text-align: right!important;}
+.rightClasss {white-space:nowrap; text-align: right!important;}
 .centerClasss {text-align: center!important;}

Modified: trunk/property/templates/portico/css/base.css
===================================================================
--- trunk/property/templates/portico/css/base.css       2011-10-07 06:41:23 UTC 
(rev 7845)
+++ trunk/property/templates/portico/css/base.css       2011-10-08 09:20:39 UTC 
(rev 7846)
@@ -1,3 +1,5 @@
+/*.yui-skin-sam .yui-dt-liner {white-space:nowrap;}*/
+
 div.layout-center div.panel div.body
 {
        padding: 1em;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]