From 514d6e5878d46971b012a08b4582c1880d98daca Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 31 Aug 2011 17:13:23 -0400 Subject: [PATCH] TPac: more cleanup of unused IDs and files Signed-off-by: Bill Erickson --- .../default/opac/parts/record/cn_details.tt2 | 91 ------------------- .../default/opac/parts/record/cnbrowse.tt2 | 6 +- .../default/opac/parts/record/copyinfo.tt2 | 68 -------------- .../default/opac/parts/record/extras.tt2 | 8 +- .../default/opac/parts/record/issues.tt2 | 2 +- .../default/opac/parts/record/series.tt2 | 2 +- .../default/opac/parts/record/subjects.tt2 | 2 +- .../default/opac/parts/record/summary.tt2 | 25 +++-- .../web/css/skin/default/opac/semiauto.css | 1 - Open-ILS/web/css/skin/default/opac/style.css | 2 - 10 files changed, 19 insertions(+), 188 deletions(-) delete mode 100644 Open-ILS/src/templates/default/opac/parts/record/cn_details.tt2 delete mode 100644 Open-ILS/src/templates/default/opac/parts/record/copyinfo.tt2 diff --git a/Open-ILS/src/templates/default/opac/parts/record/cn_details.tt2 b/Open-ILS/src/templates/default/opac/parts/record/cn_details.tt2 deleted file mode 100644 index ea48f3e565..0000000000 --- a/Open-ILS/src/templates/default/opac/parts/record/cn_details.tt2 +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - -
-
- [% l("print these details") %] - - - - - - - - - -
- - - - - - - -
- - [% l("Copy Note") %] - - - [% l("Copy Category") %] - - - : -
-
-
-
- -[% l("Yes") %] -[% l("No") %] - -
-
-
- -
-
- - - - - - - - - - - - - - - - - -
[% l("Library") %]
[% l("Title") %]
[% l("Author") %]
[% l("Edition") %]
[% l("Publication Date") %]
[% l("Publisher") %]
[% l("Physical Description") %]
[% l("Call Number") %]
-
-
-
diff --git a/Open-ILS/src/templates/default/opac/parts/record/cnbrowse.tt2 b/Open-ILS/src/templates/default/opac/parts/record/cnbrowse.tt2 index 1b8364213d..b9498bbea1 100644 --- a/Open-ILS/src/templates/default/opac/parts/record/cnbrowse.tt2 +++ b/Open-ILS/src/templates/default/opac/parts/record/cnbrowse.tt2 @@ -13,17 +13,17 @@ - [% l("<< Previous Page") %] [% l("Shelf Browser") %] - [% l("Next Page >>") %] - + [% tr_open = 0; FOR cn IN ctx.browsed_call_numbers %] [%- IF loop.index % 3 == 0; tr_open = 1 %] diff --git a/Open-ILS/src/templates/default/opac/parts/record/copyinfo.tt2 b/Open-ILS/src/templates/default/opac/parts/record/copyinfo.tt2 deleted file mode 100644 index 9d4673f120..0000000000 --- a/Open-ILS/src/templates/default/opac/parts/record/copyinfo.tt2 +++ /dev/null @@ -1,68 +0,0 @@ - -
-
- - [% l("View Copy Information for this location only") %] - - - [% l("View copy information for all libraries") %] - -
- - - - - - - - - - - - - - - - - - - - - - -
[% l("Library") %][% l("Callnumber") %] - [% l("Copy Location") %] - [% l("Actions") %] -
-
- [% l("Print Call Numbers for this library") %] - - - - - -
- [% l("Loading copy information...") %] -
- -

-
[% l(" * There are no copies in this location") %]
-
- diff --git a/Open-ILS/src/templates/default/opac/parts/record/extras.tt2 b/Open-ILS/src/templates/default/opac/parts/record/extras.tt2 index a800317f70..ec9b62a0eb 100644 --- a/Open-ILS/src/templates/default/opac/parts/record/extras.tt2 +++ b/Open-ILS/src/templates/default/opac/parts/record/extras.tt2 @@ -1,4 +1,4 @@ -
+
[% # Hidden extras are not yet implemented. Some may require JS @@ -26,7 +26,6 @@ {name => 'issues', label => l('Issues Held'), hide => !ctx.have_holdings_to_show}, {name => 'preview', label => l('Preview'), hide => 1}, {name => 'cnbrowse', label => l('Shelf Browser')}, - {name => 'copyinfo', label => l('Copy Summary'), hide => 1}, {name => 'marchtml', label => l('MARC Record')} ]; @@ -57,9 +56,4 @@
[% END %]
-
diff --git a/Open-ILS/src/templates/default/opac/parts/record/issues.tt2 b/Open-ILS/src/templates/default/opac/parts/record/issues.tt2 index 551567d34b..e13efb23da 100644 --- a/Open-ILS/src/templates/default/opac/parts/record/issues.tt2 +++ b/Open-ILS/src/templates/default/opac/parts/record/issues.tt2 @@ -1,4 +1,4 @@ -
+
[% base_expando = ctx.full_path _ "?expand=issues"; FOREACH type IN ctx.holding_summaries.keys; diff --git a/Open-ILS/src/templates/default/opac/parts/record/series.tt2 b/Open-ILS/src/templates/default/opac/parts/record/series.tt2 index cdfe588f08..edf99ba504 100644 --- a/Open-ILS/src/templates/default/opac/parts/record/series.tt2 +++ b/Open-ILS/src/templates/default/opac/parts/record/series.tt2 @@ -3,7 +3,7 @@ loc = CGI.param('loc'); %] -
+
[% FOR tag IN series_tags; %]
diff --git a/Open-ILS/src/templates/default/opac/parts/record/subjects.tt2 b/Open-ILS/src/templates/default/opac/parts/record/subjects.tt2 index 3d022313fb..25f6e2e129 100644 --- a/Open-ILS/src/templates/default/opac/parts/record/subjects.tt2 +++ b/Open-ILS/src/templates/default/opac/parts/record/subjects.tt2 @@ -48,7 +48,7 @@ END %] -
+
[% any_subjects = 0; FOREACH subj IN subjects; diff --git a/Open-ILS/src/templates/default/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/default/opac/parts/record/summary.tt2 index e2408d1a77..4a6d93f93b 100644 --- a/Open-ILS/src/templates/default/opac/parts/record/summary.tt2 +++ b/Open-ILS/src/templates/default/opac/parts/record/summary.tt2 @@ -12,11 +12,11 @@
- + - - + [%- IF openurl.enabled == 'true'; FOR issn IN args.issns; @@ -101,19 +100,19 @@ - + - +
[% ident = attrs.isbn_clean || attrs.upc; IF ident; %] - [% l('Image of item') %] [% END %] @@ -31,7 +31,6 @@ [% IF attrs.author %] [% l("Author") %]:
- [% IF attrs.isbns.0 %][% l("ISBN") %][% END %] + [% IF attrs.isbns.0 %][% l("ISBN") %][% END %] + [% FOR isbn IN attrs.isbns %][% IF !loop.first; %]
[% END; isbn | html ; END %]
- [% IF attrs.phys_desc %][% l("Physical Description") %][% END %] + [% IF attrs.phys_desc %][% l("Physical Description") %][% END %] [% attrs.phys_desc | html %][% attrs.phys_desc | html %]
[% attrs.marc_cn | html %] - [% IF attrs.edition; l("Edition"); END %] + [% IF attrs.edition; l("Edition"); END %] [% attrs.edition | html %][% attrs.edition | html %]
- [% IF attrs.publisher; l("Publisher"); END %] + [% IF attrs.publisher; l("Publisher"); END %] [% attrs.publisher | html %] - [% IF attrs.pubdate; l("Publication Date"); END %] + [% IF attrs.pubdate; l("Publication Date"); END %] [% attrs.pubdate | html %][% attrs.pubdate | html %]
@@ -143,7 +142,7 @@ - + diff --git a/Open-ILS/web/css/skin/default/opac/semiauto.css b/Open-ILS/web/css/skin/default/opac/semiauto.css index 2ec83d57a4..7eae4b5e63 100644 --- a/Open-ILS/web/css/skin/default/opac/semiauto.css +++ b/Open-ILS/web/css/skin/default/opac/semiauto.css @@ -1,7 +1,6 @@ /* once done renaming and everything, combine with style.css */ /* Verfied in-use classes --------------------------- */ -.rdetail_print_details_cn_spacer { background: #E0F0E0; } .opac-auto-009 { border: 3px solid #E0E0E0; } .opac-auto-010 { border-bottom: 1px dotted #ccc; padding-top: 10px; } .opac-auto-011 { border-bottom: 1px dotted #ccc; padding-top: 6px; } diff --git a/Open-ILS/web/css/skin/default/opac/style.css b/Open-ILS/web/css/skin/default/opac/style.css index 89a3da34f4..f1707af03a 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -966,8 +966,6 @@ div.select-wrapper:hover { float: left; position: relative; top: 2px; left: -2px; margin-right: 4px; } -#rdetail_copy_info_table { font-size: 8pt; } -#rdetail_copy_info_table td { padding: 3px; } .search_page_nav_link { cursor: pointer; } #opac.result.sort { width: 160px; } .renew-summary { font-size: 125%; font-style: italic; margin: 0.5ex 0; } -- 2.43.2
[% l("Location") %] [% l("Call Number") %] [% l("Barcode") %]