← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7632: [mobile] Remove "available for mobile" checkbox

 

------------------------------------------------------------
revno: 7632
committer: Long <thanhlongngo1988@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-07-18 14:37:01 +0700
message:
  [mobile] Remove "available for mobile" checkbox
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/AddDataSetAction.java
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/addDataSet.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-dataset/src/main/java/org/hisp/dhis/dataset/action/AddDataSetAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/AddDataSetAction.java	2012-07-12 09:32:15 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/AddDataSetAction.java	2012-07-18 07:37:01 +0000
@@ -156,13 +156,6 @@
         this.indicatorsSelectedList = indicatorsSelectedList;
     }
 
-    private boolean mobile;
-
-    public void setMobile( boolean mobile )
-    {
-        this.mobile = mobile;
-    }
-
     // -------------------------------------------------------------------------
     // Action
     // -------------------------------------------------------------------------
@@ -200,7 +193,7 @@
         dataSet.setDescription( description );
         dataSet.setAllowFuturePeriods( allowFuturePeriods );
         dataSet.setVersion( 1 );
-        dataSet.setMobile( mobile );
+        dataSet.setMobile( false );
         dataSet.setIndicators( indicators );
 
         dataSetService.addDataSet( dataSet );

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/addDataSet.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/addDataSet.vm	2012-07-12 09:32:15 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/addDataSet.vm	2012-07-18 07:37:01 +0000
@@ -107,15 +107,7 @@
   	      </select>
 	    </td>
       </tr>
-      
-      <tr>
-		<td>$i18n.getString("available_for_mobile_reporting")</td>
-		<td>
-			<input type="checkbox" name="mobile" id="mobile" value="true"/>
-		</td>
-	  </tr>
-	    
-      <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
+	   
     </tbody>
   </table>
 	<br/>&nbsp;