@@ -76,6 +77,10 @@
=$this->record($this->driver)->getLabelList() ?>
+ showRestrictedViewWarning() && $restrictedView): ?>
+ =$this->render('error/restrictedViewWarning.phtml')?>
+
+
=$this->transEsc('Bibliographic Details')?>
$item): ?>
@@ -134,9 +139,7 @@
|
diff --git a/themes/bootstrap3/templates/RecordDriver/EDS/result-list.phtml b/themes/bootstrap3/templates/RecordDriver/EDS/result-list.phtml
index 7ce40b04427..034be0e42bd 100644
--- a/themes/bootstrap3/templates/RecordDriver/EDS/result-list.phtml
+++ b/themes/bootstrap3/templates/RecordDriver/EDS/result-list.phtml
@@ -74,9 +74,7 @@
=$this->transEsc('This result is not displayed to guests')?>
-
- =$this->transEsc('Login for full access')?>
-
+ =$this->render('error/loginForAccess.phtml')?>
diff --git a/themes/bootstrap3/templates/combined/results-list.phtml b/themes/bootstrap3/templates/combined/results-list.phtml
index 72d473d4493..5178966bf7a 100644
--- a/themes/bootstrap3/templates/combined/results-list.phtml
+++ b/themes/bootstrap3/templates/combined/results-list.phtml
@@ -128,6 +128,10 @@
+getOptions()->showRestrictedViewWarning() && $results->isRestrictedView()): ?>
+ =$this->render('error/restrictedViewWarning.phtml')?>
+
+
extraErrors ?? [] as $error): ?>
=$this->transEsc($error)?>
diff --git a/themes/bootstrap3/templates/error/loginForAccess.phtml b/themes/bootstrap3/templates/error/loginForAccess.phtml
index 3e90cee9614..6ce611364cc 100644
--- a/themes/bootstrap3/templates/error/loginForAccess.phtml
+++ b/themes/bootstrap3/templates/error/loginForAccess.phtml
@@ -1,4 +1,9 @@
-
- =$this->transEsc('Login for full access')?>
-
+auth()->getUserObject() !== null; ?>
+
+
+ =$this->transEsc('Login for full access')?>
+
+
+ =$this->transEsc('logged_in_access_restricted');?>
+
diff --git a/themes/bootstrap3/templates/error/restrictedViewWarning.phtml b/themes/bootstrap3/templates/error/restrictedViewWarning.phtml
new file mode 100644
index 00000000000..aa960b4da0e
--- /dev/null
+++ b/themes/bootstrap3/templates/error/restrictedViewWarning.phtml
@@ -0,0 +1,4 @@
+
+ =$this->transEsc('This is only a restricted view')?>
+ =$this->render('error/loginForAccess.phtml')?>
+
diff --git a/themes/bootstrap3/templates/search/results.phtml b/themes/bootstrap3/templates/search/results.phtml
index 3d4ed65112b..0de19b881ed 100644
--- a/themes/bootstrap3/templates/search/results.phtml
+++ b/themes/bootstrap3/templates/search/results.phtml
@@ -85,6 +85,10 @@
+ showRestrictedViewWarning() && $this->results->isRestrictedView()): ?>
+ =$this->render('error/restrictedViewWarning.phtml')?>
+
+
config()->get('EDS');
$authorDisplay = strtolower($edsConfig->AuthorDisplay->DetailPageFormat ?? 'Long');
+ $searchOptions = $this->searchOptions($this->driver->getSourceIdentifier());
?>