age protection for copy summary
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 12 Jul 2006 19:59:17 +0000 (19:59 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 12 Jul 2006 19:59:17 +0000 (19:59 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@4961 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/copy_summary.xul

index 98a6082..4dd6b7c 100644 (file)
@@ -84,6 +84,7 @@
                                                                                $w('opac_visible',my_bool(copy.opac_visible()) ? 'Yes' : 'No'); 
                                                                                $w('circulate',my_bool(copy.circulate()) ? 'Yes' : 'No');       
                                                                                $w('holdable',my_bool(copy.holdable()) ? 'Yes' : 'No'); 
+                                                                               $w('age_protect',copy.age_protect() == null ? '<Unset>' : ( typeof copy.age_protect() == 'object' ? copy.age_protect().name() : g.data.hash.crahp[ copy.age_protect() ].name() ) );     
                                                                                $w('location',copy.location().name());  
                                                                                $w('create_date',util.date.formatted_date(copy.create_date(),'%F'));
                                                                                $w('edit_date',util.date.formatted_date(copy.edit_date(),'%F'));
                                        <label id="circulate"/>
                                        <label style="font-weight: bold" value="Reference:"/>
                                        <label id="ref"/>
-                                       <label style="font-weight: bold" value="Opac Visible:"/>
-                                       <label id="opac_visible"/>
                                        <label style="font-weight: bold" value="Holdable:"/>
                                        <label id="holdable"/>
+                                       <label style="font-weight: bold" value="Opac Visible:"/>
+                                       <label id="opac_visible"/>
                                </row>
                                <row>
                                        <label style="font-weight: bold" value="Created:"/>
                                        <label id="create_date"/>
                                        <label style="font-weight: bold" value="Edited:"/>
                                        <label id="edit_date"/>
-                                       <spacer/>
-                                       <spacer/>
+                                       <label style="font-weight: bold" value="Age Protect:"/>
+                                       <label id="age_protect"/>
                                        <label style="font-weight: bold" value="Total Circs:"/>
                                        <label id="total_circs"/>
                                </row>