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

SF.net SVN: ledger-smb:[3289] trunk/UI/Contact



Revision: 3289
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3289&view=rev
Author:   einhverfr
Date:     2011-06-19 13:35:14 +0000 (Sun, 19 Jun 2011)

Log Message:
-----------
Employee entry divs now display or not properly

Modified Paths:
--------------
    trunk/UI/Contact/contact.css
    trunk/UI/Contact/contact.html

Modified: trunk/UI/Contact/contact.css
===================================================================
--- trunk/UI/Contact/contact.css	2011-06-19 10:46:25 UTC (rev 3288)
+++ trunk/UI/Contact/contact.css	2011-06-19 13:35:14 UTC (rev 3289)
@@ -46,7 +46,7 @@
 #hr_div div.input_group {
         display: block;
         float: left;
-        width: 23em;
+        width: 25em;
 }
 
 #hr_div label {

Modified: trunk/UI/Contact/contact.html
===================================================================
--- trunk/UI/Contact/contact.html	2011-06-19 10:46:25 UTC (rev 3288)
+++ trunk/UI/Contact/contact.html	2011-06-19 13:35:14 UTC (rev 3289)
@@ -10,7 +10,7 @@
 <?lsmb PROCESS 'elements.html' ?>
 <?lsmb IF (!entity_id and account_class != 3); 
 	target_div = 'company_div';
-ELSIF (!entity_id and account_class == 3) or action == 'save_employee';
+ELSIF ((!entity_id or action == 'save') and entity_class == 3);
 		target_div = 'hr_div';
 ELSIF action == 'save_credit' or action == 'get' or action == 'save_credit_new'
 			or action=='save'; 
@@ -209,6 +209,7 @@
 } ?>
 </div>
 </form>
+</div>
 <?lsmb ELSE ?>
 <div class="container" id="company_div">
 <?lsmb SWITCH entity_class
@@ -626,7 +627,7 @@
 </div>
 <?lsmb END ?>
 <?lsmb END ?>
-<?lsmb IF entity_id && (credit_id || account_class == 3) ?>
+<?lsmb IF entity_id and ((entity_class == 3) or (credit_id)) ?>
 <div id="location_div" class="container">
     <div class="listtop"><?lsmb text('Locations') ?></div>
 	<!-- This entire form should probably be optionaly automated with AJAX


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.