slot('head-title')->set($this->translate('Reserves Search Results'));
$this->slot('search-heading')->set($this->transEsc('Reserves'));
$headingParts = [];
if (isset($this->instructor)) {
$headingParts[] = $this->transEsc('Instructor') . ': ' . $this->escapeHtml($this->instructor) . '';
}
if (isset($this->course)) {
$headingParts[] = $this->transEsc('Course') . ': ' . $this->escapeHtml($this->course) . '';
}
if (!empty($headingParts)) {
$this->slot('search-heading')->append(' (' . implode(', ', $headingParts) . ')');
}
$this->slot('empty-message')->set($this->transEsc('course_reserves_empty_list'));
echo $this->render('search/results.phtml');