Lines 28-33
Link Here
|
28 |
padding: 0.5em; |
28 |
padding: 0.5em; |
29 |
position: absolute; |
29 |
position: absolute; |
30 |
} |
30 |
} |
|
|
31 |
div.rows span.label { |
32 |
float: left; |
33 |
} |
34 |
#course_instructors { |
35 |
float: left; |
36 |
} |
37 |
.instructor_line { |
38 |
padding: 0.3em; |
39 |
} |
31 |
</style> |
40 |
</style> |
32 |
[% END %] |
41 |
[% END %] |
33 |
</head> |
42 |
</head> |
Lines 50-56
Link Here
|
50 |
[% END #/ WRAPPER sub-header.inc %] |
59 |
[% END #/ WRAPPER sub-header.inc %] |
51 |
|
60 |
|
52 |
[% WRAPPER 'main-container.inc' %] |
61 |
[% WRAPPER 'main-container.inc' %] |
53 |
<h1>Reserves</h1> |
62 |
<h1>[% tx("Course details for {course_name}", { course_name = course.course_name }) | html %][%- IF course.section -%]- [% course.section | html %][%- END -%]</h1> |
54 |
|
63 |
|
55 |
[% IF CAN_user_coursereserves_add_reserves OR CAN_user_coursereserves_manage_courses OR CAN_user_coursereserves_manage_courses %] |
64 |
[% IF CAN_user_coursereserves_add_reserves OR CAN_user_coursereserves_manage_courses OR CAN_user_coursereserves_manage_courses %] |
56 |
<div id="toolbar"> |
65 |
<div id="toolbar"> |
Lines 80-109
Link Here
|
80 |
><!-- /toolbar --> |
89 |
><!-- /toolbar --> |
81 |
[% END %] |
90 |
[% END %] |
82 |
|
91 |
|
83 |
<div class="page-section clearfix"> |
92 |
<div class="page-section"> |
84 |
<fieldset class="rows clearfix"> |
93 |
<div class="rows"> |
85 |
<ol> |
94 |
<ol> |
86 |
<li><span class="label">Course name</span> [% course.course_name | html %]</li> |
95 |
<li><span class="label">Course name: </span> [% course.course_name | html %]</li> |
87 |
<li><span class="label">[% tp('Semester', 'Term') | html %]</span> [% AuthorisedValues.GetByCode( 'TERM', course.term ) | html %]</li> |
96 |
[% IF ( course.term ) %] |
88 |
<li><span class="label">Department</span> [% AuthorisedValues.GetByCode( 'DEPARTMENT', course.department ) | html %]</li> |
97 |
<li> |
89 |
<li><span class="label">Course number</span> [% course.course_number | html %]</li> |
98 |
<span class="label">[% tp('Semester', 'Term') | html %]: </span> |
90 |
<li><span class="label">Section</span> [% course.section | html %]</li> |
99 |
[% AuthorisedValues.GetByCode( 'TERM', course.term ) | html %] |
91 |
<li> |
100 |
</li> |
92 |
<span class="label">Instructors</span> |
101 |
[% END %] |
93 |
<div id="instructors"> |
102 |
<li><span class="label">Department: </span> [% AuthorisedValues.GetByCode( 'DEPARTMENT', course.department ) | html %]</li> |
94 |
[% FOREACH i IN course.instructors %] |
103 |
<li><span class="label">Course number: </span> [% course.course_number | html %]</li> |
95 |
<div class="instructor_line"> |
104 |
[% IF ( course.section ) %] |
96 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% i.borrowernumber | uri %]">[% i.firstname | html %] [% i.surname | html %]</a> |
105 |
<li> |
|
|
106 |
<span class="label">Section: </span> |
107 |
[% course.section | html %] |
108 |
</li> |
109 |
[% END %] |
110 |
[% IF course.instructors && course.instructors.count > 0 %] |
111 |
<li> |
112 |
<span class="label">Instructors: </span> |
113 |
<div id="course_instructors"> |
114 |
<div id="instructors"> |
115 |
[% FOREACH i IN course.instructors %] |
116 |
<div class="instructor_line"> |
117 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% i.borrowernumber | uri %]">[% i.firstname | html %] [% i.surname | html %]</a> |
118 |
</div> |
119 |
[% END %] |
97 |
</div> |
120 |
</div> |
98 |
[% END %] |
121 |
</div> |
99 |
</div> |
122 |
</li> |
100 |
</li> |
123 |
[% END %] |
101 |
<li><span class="label">Staff note</span> [% course.staff_note | html %]</li> |
124 |
[% IF ( course.staff_note ) %] |
102 |
<li><span class="label">Public note</span> [% course.public_note | $raw %]</li> |
125 |
<li> |
103 |
<li><span class="label">Student count</span> [% course.students_count | html %]</li> |
126 |
<span class="label">Staff note: </span> |
104 |
<li><span class="label">Status</span> [% IF course.enabled == 'yes' %]Active[% ELSE %]Inactive[% END %]</li> |
127 |
[% course.staff_note | html %] |
|
|
128 |
</li> |
129 |
[% END %] |
130 |
[% IF ( course.public_note ) %] |
131 |
<li><span class="label">Public note: </span> [% course.public_note | $raw %]</li> |
132 |
[% END %] |
133 |
<li><span class="label">Student count: </span> [% course.students_count || "0" | html %]</li> |
134 |
<li><span class="label">Status: </span> [% IF course.enabled == 'yes' %]Active[% ELSE %]Inactive[% END %]</li> |
105 |
</ol> |
135 |
</ol> |
106 |
</fieldset> |
136 |
</div> |
107 |
</div> |
137 |
</div> |
108 |
<!-- /.page-section --> |
138 |
<!-- /.page-section --> |
109 |
|
139 |
|
110 |
- |
|
|