From: Dan Scott Date: Wed, 12 Sep 2012 16:59:53 +0000 (-0400) Subject: TPAC: Results - don't show the pubdate if we're showing full pubinfo X-Git-Tag: sprint4-merge-nov22~3776 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c1ec288f4f77414d539554308764a1ad18ab954f;p=working%2FEvergreen.git TPAC: Results - don't show the pubdate if we're showing full pubinfo In the "show few details" mode, we show just the pubdate; in the "show full details" mode, we're showing the full pubinfo and therefore do not need to show the stubby pubdate. Signed-off-by: Dan Scott Signed-off-by: Ben Shum --- diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2 index b7e526fba9..f40cc13f9b 100644 --- a/Open-ILS/src/templates/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/table.tt2 @@ -62,6 +62,11 @@ authorquery = attrs.author | replace('[,\.:;]', ''); mkurl(ctx.opac_root _ '/results', {qtype => 'author', query => authorquery}, ['page']) -%]">[% attrs.author | html %] + [%- UNLESS CGI.param('detail_record_view') + OR (show_more_details.default == 'true' + OR show_more_details.default == 'hide') + %] [% attrs.pubdate | html %] + [%- END -%]