=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties 2012-12-21 04:01:53 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties 2013-01-03 09:04:36 +0000 @@ -36,7 +36,6 @@ village=Village registration_date=Date of registration full_name=Full name -entry=Entry available_data_elements=Available data elements selected_data_elements=Selected data elements nr=Number @@ -487,4 +486,5 @@ percent_overdue = Percent Overdue scheduled = Scheduled start = Start -total_persons_enrolled=Total number of persons enrolled \ No newline at end of file +total_persons_enrolled=Total number of persons enrolled +value = Value \ No newline at end of file === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js 2012-12-21 13:42:06 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js 2013-01-03 09:04:36 +0000 @@ -1774,4 +1774,48 @@ else{ loadPatientList(); } +} + +// ---------------------------------------------- +// Data entry section +// ---------------------------------------------- + +function filterInSection( $this ) +{ + var $tbody = $this.parent().parent().parent().parent().parent().find("tbody"); + var $trTarget = $tbody.find("tr"); + + if ( $this.val() == '' ) + { + $trTarget.show(); + } + else + { + var $trTargetChildren = $trTarget.find( 'td:first-child' ); + + $trTargetChildren.each( function( idx, item ) + { + if( $( item ).find( 'span' ).length != 0 ) + { + var text1 = $this.val().toUpperCase(); + var text2 = $( item ).find( 'span' ).html().toUpperCase(); + + if ( text2.indexOf( text1 ) >= 0 ) + { + $( item ).parent().show(); + } + else + { + $( item ).parent().hide(); + } + } + } ); + } + + refreshZebraStripes( $tbody ); +} + +function refreshZebraStripes( $tbody ) +{ + $tbody.find( 'tr:visible:odd' ).find( 'td:first-child' ).removeClass( 'reg' ).addClass( 'reg' ); } \ No newline at end of file === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/sectionDataEntryForm.vm' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/sectionDataEntryForm.vm 2012-12-10 12:54:54 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/sectionDataEntryForm.vm 2013-01-03 09:04:36 +0000 @@ -16,14 +16,18 @@ #end - + + - $i18n.getString( "data_element" ) - $i18n.getString( "entry" ) + + + + $i18n.getString( "value" ) #if( $programStage.program.displayProvidedOtherFacility=='true') $i18n.getString( "provided_elsewhere" ) #end + #set( $dataElementRowCount = 0 ) #set( $mark = true ) #set( $tabIndex = 1 ) @@ -35,9 +39,8 @@ #set( $patientDataValue = $patientDataValueMap.get( $key ) ) ##data element name - - - $encoder.htmlEncode( $programStageDataElement.dataElement.formNameFallback ) + + ${encoder.htmlEncode( $programStageDataElement.dataElement.getFormNameFallback() )} #if ( $programStageDataElement.compulsory ) * #end === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties 2012-12-26 03:02:05 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties 2013-01-03 09:04:36 +0000 @@ -301,12 +301,6 @@ schedule_automated_aggregation = Automated Aggregation schedule_automated_aggregation_form = Schedule automated aggregation intro_schedule_automated_aggregation = Schedule an automated person aggregation process, e.g. to run all pre-defined aggregation queries every midnight. -aggregation_period_types = Aggregation period types -financial_yearly = Financial Yearly -organisation_unit_group_set_aggregation_level = Organisation unit group set aggregation level -aggregate_task_strategy = Aggregate task strategy -last_12_months_daily = Last 12 months daily -last_6_months_daily_6_to_12_months_weekly = Last 6 months daily + 6 to 12 months weekly execute_tasks_confirmation=Are you sure you want to execute all tasks now? Task processing might fully utilize your system resources and slow down other operations. executing = Executing add_single_rule = Add single rule