← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19242: remove clone button from add data element screen, now located on context menu only

 

------------------------------------------------------------
revno: 19242
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-06-02 15:51:23 +0700
message:
  remove clone button from add data element screen, now located on context menu only
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElementForm.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-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElementForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElementForm.vm	2014-12-23 18:03:44 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElementForm.vm	2015-06-02 08:51:23 +0000
@@ -267,15 +267,12 @@
 #end
 
 <p>
-    #if( $update )
+  #if( $update )
     <input type="submit" value="$i18n.getString( 'save' )" style="width:10em" />
-    #else
+  #else
     <input type="submit" value="$i18n.getString( 'add' )" style="width:10em" />
-    #end
+  #end
 	<input type="button" value="$i18n.getString( 'cancel' )" onclick="dhis2.commons.redirectCurrentPage( 'dataElement.action' )" style="width:10em" />
-	#if( $update )
-	<input type="button" value="$i18n.getString( 'clone' )" onclick="window.location.href='showAddDataElementForm.action?id=$!dataElement.id'" style="width:10em" />
-	#end
 </p>
 
 </form>