@@ -, +, @@ - Descriptive page titles for both pages. - More compact display of course information on course detail page (a list instead of a table, consistent with other displays of similar information in Koha). - Correct capitalization. - Added label and fieldset to course reserve search form. - Added breadcrumb navigatio nto course reserve detail page as a path back to course reserves main page. --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 50 +++++++++++ .../prog/en/modules/opac-course-details.tt | 95 +++++++++++--------- .../prog/en/modules/opac-course-reserves.tt | 14 +-- 3 files changed, 113 insertions(+), 46 deletions(-) --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ a/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -165,6 +165,56 @@ fieldset.action p { margin-bottom : 1em; } +div.rows+div.rows { + margin-top : .6em; +} + +div.rows { + float : left; + clear : left; + margin: 0 0 0 0; + padding: 0; + width: 100%; +} + + +div.rows span.label { + float: left; + font-weight : bold; + width: 9em; + margin-right: 1em; + text-align: left; +} + +div.rows ol { + padding: .5em 1em 0 0; + list-style-type: none; +} + +div.rows ol li li { + border-bottom: 0; +} + +div.rows li { + border-bottom : 1px solid #EEE; + float : left; + clear : left; + padding-bottom: .2em; + padding-top: .1em; + list-style-type: none; + width: 100%; +} + +div.rows ul li:first-child { + float: none; + clear: none; + margin-left: 0; +} + +div.rows ul li { + margin-left : 9em; +} + form { display : inline; margin : 0; --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-course-details.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-course-details.tt @@ -3,7 +3,7 @@ [% USE ItemTypes %] [% USE Branches %] [% INCLUDE 'doc-head-open.inc' %] -[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog +[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Course reserves for [% course.course_name %] [% INCLUDE 'doc-head-close.inc' %]
@@ -13,49 +13,64 @@Course Name | [% course.course_name %] |
---|---|
Term | [% AuthorisedValues.GetByCode( 'TERM', course.term ) %] |
Department | [% AuthorisedValues.GetByCode( 'DEPARTMENT', course.department ) %] |
Course Number | [% course.course_number %] |
Section | [% course.section %] |
Instructors | [% FOREACH i IN course.instructors %] [% i.firstname %] [% i.surname %] [% END %] |
Notes | [% course.public_note %] |
Title | -Item type | -Location | -Collection | -Call number | -Copy | -Status - | Date due - | Notes | -
---|
[% cr.item.title %] | -[% ItemTypes.GetDescription( cr.item.itype ) %] | -[% Branches.GetName( cr.item.holdingbranch ) %] [% AuthorisedValues.GetByCode( 'LOC', cr.item.location ) %] |
- [% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) %] | -[% cr.item.itemcallnumber %] | -[% cr.item.copynumber %] | -[% INCLUDE 'item-status.inc' item = cr.item %] | -[% cr.issue.date_due | $KohaDates %] | -[% cr.public_note %] | +Title | +Item type | +Location | +Collection | +Call number | +Copy | +Status + | Date due + | Notes |
---|