From 2f5ddb2e6a90b627551a80209d2123f47e70f75b Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Tue, 28 Jun 2011 14:09:26 -0400 Subject: [PATCH] Display located URIs in record details page We can reuse the work put into misc_util.tt2 to generate args.uris in the display within the record details page. In the absence of good design, we add a basic class and matching CSS to style.css in the hopes that a design-oriented person can come along behind us and make the URIs stand out appropriately. Signed-off-by: Dan Scott Signed-off-by: Dan Scott --- Open-ILS/web/css/skin/default/opac/style.css | 5 +++++ Open-ILS/web/templates/default/opac/parts/record/summary.tt2 | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/css/skin/default/opac/style.css b/Open-ILS/web/css/skin/default/opac/style.css index caba3e06a4..7833530186 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -389,6 +389,11 @@ div.select-wrapper:hover { padding-right: 10px; } +.rdetail_uri { + border: thin black solid; + padding: 3px; +} + .rdetail_aux_utils { border-left:1px dotted #ccc; padding-left: 17px; diff --git a/Open-ILS/web/templates/default/opac/parts/record/summary.tt2 b/Open-ILS/web/templates/default/opac/parts/record/summary.tt2 index 4dbfadca79..ff1a757078 100644 --- a/Open-ILS/web/templates/default/opac/parts/record/summary.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/record/summary.tt2 @@ -107,7 +107,15 @@ -

+
+ +[% FOR uri IN args.uris %] +
+ [% uri.link %][% ' - ' _ uri.note IF uri.note %] +
+[% END %] + +
-- 2.11.0