[Movecommons-commits] r634 - trunk/src

Mario Gallegos mgallegos at ourproject.org
Wed Jul 10 07:40:30 CEST 2013


Author: mgallegos
Date: 2013-07-10 07:40:30 +0200 (Wed, 10 Jul 2013)
New Revision: 634

Modified:
   trunk/src/mc-dia-form2.js
Log:
FEEDBACK - Enhancement #460: Generate icons and semantic code

Modified: trunk/src/mc-dia-form2.js
===================================================================
--- trunk/src/mc-dia-form2.js	2013-07-08 15:03:23 UTC (rev 633)
+++ trunk/src/mc-dia-form2.js	2013-07-10 05:40:30 UTC (rev 634)
@@ -630,23 +630,25 @@
 			if($j("#representatives-democratically").attr("checked"))
 				grassrootsCode+='<div rel="mc:hasFormOrg" resource="[mc:Assembly]"></div>';			
 			if($j("#decisions-voting").attr("checked"))
-				grassrootsCode+='<div rel="mc:focusesIn" resource="[mc:Digital]"></div>';	
+				grassrootsCode+='<div rel="mc:hasFormOrg" resource="[mc:MajorityVoting]"></div>';
+			if($j("#decisions-consensus").attr("checked"))
+				grassrootsCode+='<div rel="mc:hasFormOrg" resource="[mc:Consensus]"></div>';
 		}
 		
 		if($j('#rc-checkbox').val()=='S'){	
 			code+='<div rel="mc:moveCommonsType" resource="[mc:ReinforcesCommons]"></div>';
 			if($j('#mc-form-icon-rc').attr('src')=='/mc/0.1/images/rcec60.png'){
 				reinforcingCode+='<div rel="mc:focusesIn" resource="[mc:Ecology]"></div>';//nature commons
-				pText+=comma+' Reinforcing the Ecology Commons';
+				pText+=comma+' Reinforcing the Nature Commons';
 			}else if($j('#mc-form-icon-rc').attr('src')=='/mc/0.1/images/rcbo60.png'){
 				reinforcingCode+='<div rel="mc:focusesIn" resource="[mc:Body]"></div>';//BODY/HEALTH COMMONS
-				pText+=comma+' Reinforcing the Ecology Commons';
+				pText+=comma+' Reinforcing the Body/Health Commons';
 			}else if($j('#mc-form-icon-rc').attr('src')=='/mc/0.1/images/rcto60.png'){
 				reinforcingCode+='<div rel="mc:focusesIn" resource="[mc:Town]"></div>';//TOWN/COMMUNITY/SOCIETY COMMONS
-				pText+=comma+' Reinforcing the Ecology Commons';
+				pText+=comma+' Reinforcing the Town/Community/Society Commons';
 			}else{
 				reinforcingCode+='<div rel="mc:focusesIn" resource="[mc:Digital]"></div>';//DIGITAL COMMONS
-				pText+=comma+' Reinforcing the Ecology Commons';
+				pText+=comma+' Reinforcing the Digital Commons';
 			}
 		}
 		




More information about the Movecommons-commits mailing list