This adds a SAN box to the org unit editor's address editor pane.
authorJames Fournie <jfournie@sitka.bclibraries.ca>
Thu, 28 Jul 2011 19:08:18 +0000 (12:08 -0700)
committerMike Rylander <mrylander@gmail.com>
Wed, 3 Aug 2011 17:16:37 +0000 (13:16 -0400)
Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/conify/global/actor/org_unit.html
Open-ILS/web/conify/global/actor/org_unit.js
Open-ILS/web/opac/locale/en-US/conify.dtd

index 726898b..1c71ea4 100644 (file)
                                                                                <th>&conify.org_unit.addresses_pane.country;</th><td colspan="2"><span jsId="billing_addr_country" style="width:100%;" dojoType="dijit.form.ValidationTextBox" onChange="current_billing_address.country( this.getValue() )" required="true"/></td>
                                                                                <th>&conify.org_unit.addresses_pane.county;</th><td colspan="2"><span jsId="billing_addr_county" style="width:100%;" dojoType="dijit.form.ValidationTextBox" onChange="current_billing_address.county( this.getValue() )" required="true"/></td>
                                                                        </tr>
+                                                                       <tr>
+                                                                               <th>&conify.org_unit.addresses_pane.san;</th><td colspan="2"><span jsId="billing_addr_san" style="width:100%;" dojoType="dijit.form.ValidationTextBox" onChange="current_billing_address.san( this.getValue() )" required="true"/></td>
+                                                                       </tr>
                                                                </table>
        
                                                                <button jsId="save_billing_address" dojoType="dijit.form.Button" label="&conify.save_button.label;">
                                                                                <th>&conify.org_unit.addresses_pane.country;</th><td colspan="2"><span jsId="holds_addr_country" style="width:100%;" dojoType="dijit.form.ValidationTextBox" onChange="current_holds_address.country( this.getValue() )" required="true"/></td>
                                                                                <th>&conify.org_unit.addresses_pane.county;</th><td colspan="2"><span jsId="holds_addr_county" style="width:100%;" dojoType="dijit.form.ValidationTextBox" onChange="current_holds_address.county( this.getValue() )" required="true"/></td>
                                                                        </tr>
+                                                                       <tr>
+                                                                               <th>&conify.org_unit.addresses_pane.san;</th><td colspan="2"><span jsId="holds_addr_san" style="width:100%;" dojoType="dijit.form.ValidationTextBox" onChange="current_holds_address.san( this.getValue() )" required="true"/></td>
+                                                                       </tr>
                                                                </table>
        
                                                                <button jsId="save_holds_address" dojoType="dijit.form.Button" label="&conify.save_button.label;">
                                                                                <th>&conify.org_unit.addresses_pane.country;</th><td colspan="2"><span jsId="mailing_addr_country" style="width:100%;" dojoType="dijit.form.ValidationTextBox" onChange="current_mailing_address.country( this.getValue() )" required="true"/></td>
                                                                                <th>&conify.org_unit.addresses_pane.county;</th><td colspan="2"><span jsId="mailing_addr_county" style="width:100%;" dojoType="dijit.form.ValidationTextBox" onChange="current_mailing_address.county( this.getValue() )" required="true"/></td>
                                                                        </tr>
+                                                                       <tr>
+                                                                               <th>&conify.org_unit.addresses_pane.san;</th><td colspan="2"><span jsId="mailing_addr_san" style="width:100%;" dojoType="dijit.form.ValidationTextBox" onChange="current_mailing_address.san( this.getValue() )" required="true"/></td>
+                                                                       </tr>
                                                                </table>
        
                                                                <button jsId="save_mailing_address" dojoType="dijit.form.Button" label="&conify.save_button.label;">
                                                                                <th>&conify.org_unit.addresses_pane.country;</th><td colspan="2"><span jsId="ill_addr_country" style="width:100%;" dojoType="dijit.form.ValidationTextBox" onChange="current_ill_address.country( this.getValue() )" required="true"/></td>
                                                                                <th>&conify.org_unit.addresses_pane.county;</th><td colspan="2"><span jsId="ill_addr_county" style="width:100%;" dojoType="dijit.form.ValidationTextBox" onChange="current_ill_address.county( this.getValue() )" required="true"/></td>
                                                                        </tr>
+                                                                       <tr>
+                                                                               <th>&conify.org_unit.addresses_pane.san;</th><td colspan="2"><span jsId="ill_addr_san" style="width:100%;" dojoType="dijit.form.ValidationTextBox" onChange="current_ill_address.san( this.getValue() )" required="true"/></td>
+                                                                       </tr>
                                                                </table>
        
                                                                <button jsId="save_ill_address" dojoType="dijit.form.Button" label="&conify.save_button.label;">
index 12f9139..066dedd 100644 (file)
@@ -159,5 +159,6 @@ function set_addr_inputs (type) {
     window[type + '_addr_country'].setValue( window['current_' + type + '_address'].country() || '' );
     window[type + '_addr_state'].setValue( window['current_' + type + '_address'].state() || '' );
     window[type + '_addr_post_code'].setValue( window['current_' + type + '_address'].post_code() || '' );
+    window[type + '_addr_san'].setValue( window['current_' + type + '_address'].san() || '' );
 }
 
index 3e6a9db..c0cf5a7 100644 (file)
@@ -60,6 +60,7 @@
 <!ENTITY conify.org_unit.addresses_pane.zip "Zip">
 <!ENTITY conify.org_unit.addresses_pane.country "Country">
 <!ENTITY conify.org_unit.addresses_pane.county "County">
+<!ENTITY conify.org_unit.addresses_pane.san "SAN">
 <!-- This is a highlighted label that is followed by the name of the organizational unit -->
 <!ENTITY conify.org_unit.status_bar "Now editing:">