TPAC: Hide inline call number in detailed results user/dbs/rel_2_3_issn
authorDan Scott <dscott@laurentian.ca>
Tue, 14 Aug 2012 21:18:22 +0000 (17:18 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 14 Aug 2012 21:18:22 +0000 (17:18 -0400)
There's no need to show the inline call number in the detailed results
view; it's redundant.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates_conifer/opac/parts/result/table.tt2

index d5e7cf2..b45fd9c 100644 (file)
@@ -67,7 +67,7 @@
                                                     </div>
                                                     <table cellpadding="0" cellspacing="0" border="0"
                                                         class="results_info_table">
-                                                        [% IF args.holdings.size > 0 %]
+                                                        [% IF args.holdings.size > 0 && CGI.param('detail_record_view') != 1 %]
                                                         <tr name='bib_cn_list' class='result_table_title_cell'>
                                                             <td valign='top'>
                                                                 <strong>[% l('Call number:') %]</strong>