=== modified file 'dhis-2/dhis-web/dhis-web-sms/src/main/resources/org/hisp/dhis/sms/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-sms/src/main/resources/org/hisp/dhis/sms/i18n_module.properties 2013-03-15 18:55:26 +0000 +++ dhis-2/dhis-web/dhis-web-sms/src/main/resources/org/hisp/dhis/sms/i18n_module.properties 2013-03-19 05:39:35 +0000 @@ -69,8 +69,8 @@ phone_number=Phone number raw_phone_number=Raw phone numbers assigned_user_number=User assigned to organisation unit -stakeholder_number=Stakeholder number (Contact person) -patient_number=Person/Patient number +stakeholder_contact_person=Stakeholder (Contact person) +patients_registered=Persons registered programs=Programs organisation_unit_level=Organisation unit level chidren_only=Children only @@ -103,7 +103,7 @@ search_patients_by_attributes=Search persons by attributes user_group=User Group no_message=Please type your message before sending -do_not_send_patient_confidential_messages_using_sms=Do not send patient confidential messages using sms +do_not_send_patient_confidential_messages_using_sms=Do not send person confidential messages using sms please_select_a_gateway_type_to_send_sms=Please select a default gateway (Maintenance -> ) to send sms there_is_no_user_assigned_to_selected_units=There is no user assigned to selected units selected_units_have_no_phone_number=The selected units have no phone number === modified file 'dhis-2/dhis-web/dhis-web-sms/src/main/resources/struts.xml' --- dhis-2/dhis-web/dhis-web-sms/src/main/resources/struts.xml 2013-03-12 05:40:42 +0000 +++ dhis-2/dhis-web/dhis-web-sms/src/main/resources/struts.xml 2013-03-19 05:39:35 +0000 @@ -82,7 +82,14 @@ plainTextError F_MOBILE_SENDSMS - + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + F_SEARCH_PATIENT_IN_ALL_FACILITIES + === modified file 'dhis-2/dhis-web/dhis-web-sms/src/main/webapp/dhis-web-sms/css/patient.css' --- dhis-2/dhis-web/dhis-web-sms/src/main/webapp/dhis-web-sms/css/patient.css 2013-03-15 18:55:26 +0000 +++ dhis-2/dhis-web/dhis-web-sms/src/main/webapp/dhis-web-sms/css/patient.css 2013-03-19 05:39:35 +0000 @@ -1,22 +1,17 @@ -table -{ - margin-bottom:10px; - font-size: 13px; - line-height:18px; -} - -input.button -{ - width: 150px; - padding-left:5px; - padding-right:5px; -} - -input.imgButton -{ - width:20px; - height:20px; - cursor: pointer; + +input[type="text"] +{ + width: 260px; +} + +select +{ + width: 265px; +} + +select.search-field +{ + width: 180px; } .hidden @@ -24,61 +19,6 @@ display:none; } -.text-column -{ - text-align:left; - padding-right:20px; - padding-left:5px; -} - -.infor -{ - border:1px solid #808080; - vertical-align:top; - padding:10px; -} - -.buttons -{ - text-align:right; - padding-bottom:10px; - width:100%; -} - -.list-table -{ - width:100%; -} - -.heading-column { width : 450px;} -td.input-column { width : 390px;} -td.input-column input[type="text"]{ width: 360px;} -td.input-column select { width: 367px;} -td.error {padding-left:1em} - -.infor td{vertical-align: top;} - -.focusCell{background-color: #AFCCFF} -.errorCell{background-color: #FFCFCF} -.sectionOpen {display: true} -.sectionClose{ display: none} -.togglePanel.open {height:25px;padding-left:25px; background-image: url(../images/open.gif) ; background-repeat: no-repeat; background-position: top left} -.togglePanel.close {height:25px;padding-left:25px; background-image: url(../images/close.gif) ; background-repeat: no-repeat; background-position: top left} - -.warnmessage { - color: red; -} - -#facilityCol -{ - width: 130px; -} - -fieldset -{ - border: 1px solid #3f5d8e; -} - .overlaps { background-color: #BAFFBC; === modified file 'dhis-2/dhis-web/dhis-web-sms/src/main/webapp/dhis-web-sms/javascript/patient.js' --- dhis-2/dhis-web/dhis-web-sms/src/main/webapp/dhis-web-sms/javascript/patient.js 2013-03-15 19:24:30 +0000 +++ dhis-2/dhis-web/dhis-web-sms/src/main/webapp/dhis-web-sms/javascript/patient.js 2013-03-19 05:39:35 +0000 @@ -8,6 +8,7 @@ enable('advancedSearchBtn'); setFieldValue( "orgunitName", orgUnitNames[0] ); + setFieldValue( "orgunitId", orgUnits[0] ); } selection.setListenerFunction( organisationUnitSelected ); @@ -74,18 +75,22 @@ var rowId = 'advSearchBox' + jQuery('#advancedSearchTB select[name=searchObjectId]').length + 1; var contend = '