LP 1291537: Fix a dangling span in record/summary.tt2. user/dyrcona/lp1921537_rdetail_summary_pubdate
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 12 Mar 2014 18:15:24 +0000 (14:15 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 12 Mar 2014 18:29:09 +0000 (14:29 -0400)
It looks like the datePublished span should have been nested inside
of the rdetail_value span of the rdetail_publisher li, but was not.

This commit moves it to be nesed in that span.  It was hard to see
in the code, but in View Source, it really looked out of place.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/templates/opac/parts/record/summary.tt2

index 4a58bec..b6e462d 100644 (file)
@@ -203,10 +203,10 @@ IF num_uris > 0;
             <span property="location">[% attrs.pubplace | html; %]</span>
         [%- END; %]
             <span property="name">[% attrs.publisher | html; %]</span>
-        </span>
         [%- IF attrs.pubdate; %]
             <span property="datePublished">[% attrs.pubdate | html; %]</span>
         [%- END; %]
+        </span>
         [%-
         IF attrs.graphic_pubinfos.size > 0;
             FOR entry IN attrs.graphic_pubinfos;