dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #31065
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15801: Add/edit program, removed advanced option stuff, did not look so good and was hiding the add/canc...
------------------------------------------------------------
revno: 15801
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2014-06-22 13:01:05 +0200
message:
Add/edit program, removed advanced option stuff, did not look so good and was hiding the add/cancel buttons
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/resources/org/hisp/dhis/dataadmin/i18n_module.properties
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramForm.vm
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramForm.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-dataadmin/src/main/resources/org/hisp/dhis/dataadmin/i18n_module.properties'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/resources/org/hisp/dhis/dataadmin/i18n_module.properties 2014-06-13 09:05:03 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/resources/org/hisp/dhis/dataadmin/i18n_module.properties 2014-06-22 11:01:05 +0000
@@ -303,7 +303,7 @@
add_option_set=Add option set
options=Options
option=Option
-add_option=Add Option
+add_option=Add option
option_name_already_exists=The option name already exists
specify_option_name=Please specify a option name
must_include_option=Please include one or more category options
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramForm.vm 2014-06-22 08:40:36 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramForm.vm 2014-06-22 11:01:05 +0000
@@ -53,7 +53,7 @@
});
checkValueIsExist( "name", "validateProgram.action" );
-});
+ });
</script>
<h3>$i18n.getString( "create_new_program" ) #openHelp( "program_information" )</h3>
@@ -282,9 +282,6 @@
</td>
</tr>
</table>
-
-<p><a href='javascript:showAdvancedOptions()' id='showAdvancedOptionLink'>$i18n.getString('show_advanced_options')</p>
-<p><a href='javascript:hideAdvancedOptions()' id='hideAdvancedOptionLink' style="display:none;">$i18n.getString('hide_advanced_options')</p>
<table>
<tr>
@@ -295,7 +292,3 @@
</tr>
</table>
</form>
-
-<script>
- hideAdvancedOptions();
-</script>
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramForm.vm 2014-06-22 08:40:36 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramForm.vm 2014-06-22 11:01:05 +0000
@@ -47,8 +47,12 @@
}
});
- checkValueIsExist( "name", "validateProgram.action",{id:getFieldValue('id')} );
-});
+ checkValueIsExist( "name", "validateProgram.action",{id:getFieldValue('id')} );
+
+ var i18n_characters_without_params = '$encoder.jsEscape( $i18n.getString( "characters_without_params" ) , "'")';
+
+ programOnChange();
+ });
</script>
@@ -311,9 +315,6 @@
</tbody>
</table>
- <p><a href='javascript:showAdvancedOptions()' id='showAdvancedOptionLink'>$i18n.getString('show_advanced_options')</p>
- <p><a href='javascript:hideAdvancedOptions()' id='hideAdvancedOptionLink' style="display:none;">$i18n.getString('hide_advanced_options')</p>
-
<table>
<tr>
<td colspan='3'>
@@ -324,7 +325,3 @@
</table>
</form>
-<script>
- var i18n_characters_without_params = '$encoder.jsEscape( $i18n.getString( "characters_without_params" ) , "'")';
- programOnChange();
-</script>