← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1069: Added a back button in the program stage gui

 

------------------------------------------------------------
revno: 1069
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Fri 2009-11-20 12:34:25 +0100
message:
  Added a back button in the program stage gui
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/programStageList.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-patient/src/main/webapp/dhis-web-maintenance-patient/programStageList.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/programStageList.vm	2009-11-20 11:15:42 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/programStageList.vm	2009-11-20 11:34:25 +0000
@@ -2,7 +2,7 @@
 
 <table>
     <tr>
-        <td colspan="2"><label>$i18n.getString( "select_program" )</label><br>
+        <td><label>$i18n.getString( "select_program" )</label><br>
             <select id="id" name="id" style="min-width:20em" onchange="javascript:getStageByProgram(this.options[this.selectedIndex].value)">
                 <option value="" selected="selected" >[ $i18n.getString( "all" ) ]</option>
                 #foreach ( $program in $programs )
@@ -28,6 +28,7 @@
 		    <td></td>
 		    <td></td> 
 		  	<td colspan="3" style="text-align:right">
+               <input type="button" value="$i18n.getString( "back" )" onclick="window.location.href='program.action'" style="width:75px">
 		  	   <input type="button" value="$i18n.getString( "sort" )" onclick="javascript:showSortProgramStage()" style="width:75px">
 		  	   <input type="button" value="$i18n.getString( "add_new" )" onclick="javascript:addProgramStage()" style="width:75px">		  	   
 			</td>