← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19620: Program indicator ui, wrong comparison

 

------------------------------------------------------------
revno: 19620
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2015-07-12 16:05:53 +0200
message:
  Program indicator ui, wrong comparison
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/programIndicatorForm.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/programIndicatorForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/programIndicatorForm.vm	2015-07-02 07:05:55 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/programIndicatorForm.vm	2015-07-12 14:05:53 +0000
@@ -13,7 +13,7 @@
 		<div id="expression-tabs" style="width:670px">
 			<ul>
 				<li><a href="#expression-tab1">$i18n.getString("data_elements")</a></li>
-				#if($program.proprgramType=='with_registration')
+				#if($program.programType=='WITH_REGISTRATION')
 					<li><a href="#expression-tab2">$i18n.getString("attributes")</a></li>
 					<li><a href="#expression-tab3">$i18n.getString("variables")</a></li>
 				#end
@@ -43,7 +43,7 @@
 		      </table>
 			</div>
 			
-		#if($program.proprgramType=='with_registration')
+		#if($program.programType=='WITH_REGISTRATION')
 		
 			<div id="expression-tab2">
 				<table style="width:100%">