removed ident2 info and tightened up display some
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 31 Aug 2006 00:02:19 +0000 (00:02 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 31 Aug 2006 00:02:19 +0000 (00:02 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5792 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/css/layout.css
Open-ILS/web/opac/skin/default/js/myopac.js
Open-ILS/web/opac/skin/default/xml/myopac/myopac_summary.xml

index 901efca..f6a1476 100644 (file)
@@ -231,3 +231,4 @@ table { border-collapse: collapse; }
 
 
 .invalid_hold { background: #F0F0D0; }
+.myopac_summary_table td { padding : 3px; }
index 5097a5c..d92151a 100644 (file)
@@ -699,12 +699,8 @@ function _myOPACSummaryShowUer(r) {
        fleshedUser = user;
        if(!user) return;
 
-
        var iv1 = user.ident_value();
-       var iv2 = user.ident_value();
-
        if (iv1.length > 4) iv1 = iv1.replace(new RegExp(iv1.substring(0,iv1.length - 4)), '***********');
-       if (iv2.length > 4) iv2 = iv2.replace(new RegExp(iv2.substring(0,iv2.length - 4)), '***********');
 
        appendClear($('myopac_summary_first'),text(user.first_given_name()));
        appendClear($('myopac_summary_middle'),text(user.second_given_name()));
@@ -716,7 +712,6 @@ function _myOPACSummaryShowUer(r) {
        appendClear($('myopac_summary_email'),text(user.email()));
        appendClear($('myopac_summary_barcode'),text(user.card().barcode()));
        appendClear($('myopac_summary_ident1'),text(iv1));
-       appendClear($('myopac_summary_ident2'),text(iv2));
        appendClear($('myopac_summary_homelib'),text(findOrgUnit(user.home_ou()).name()));
        appendClear($('myopac_summary_create_date'),text(_trimTime(user.create_date())));
 
index 9357154..fd58a39 100644 (file)
                <br/>
        </div>
 
-       <table width='100%' class='light_border data_grid'>
-
+       <!--
+       <table class='light_border data_grid'>
+       -->
+       <table width='70%' class='light_border myopac_summary_table'>
                <tbody id='myopac_summary_tbody'>
+                       <!--
                        <tr>
                                <td class='color_4 light_border' width='20%'>First Name</td>
                                <td class='light_border' id='myopac_summary_first'> </td>
                                <td class='color_4 light_border'>Last Name</td>
                                <td class='light_border' id='myopac_summary_last'> </td>
                        </tr>
+                       -->
+
+                       <tr>
+                               <td width='30%' class='color_4 light_border'>Name</td>
+                               <td class='light_border'>
+                                       <span id='myopac_summary_first'> </span> 
+                                       <span id='myopac_summary_middle'> </span> 
+                                       <span id='myopac_summary_last'> </span> 
+                               </td>
+                       </tr>
+
                        <tr>
                                <td class='color_4 light_border'>Day Phone</td>
                                <td class='light_border' id='myopac_summary_dayphone'> </td>
                                <td class='color_4 light_border'>Primary Identification</td>
                                <td class='light_border' id='myopac_summary_ident1'> </td>
                        </tr>
+                       <!--
                        <tr>
                                <td class='color_4 light_border'>Secondary Identification</td>
                                <td class='light_border' id='myopac_summary_ident2'> </td>
                        </tr>
+                       -->
                        <tr>
                                <td class='color_4 light_border'>Active Barcode</td>
                                <td class='light_border' id='myopac_summary_barcode'> </td>