aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/theming/lib/ThemingDefaults.php10
-rw-r--r--core/css/guest.css2
2 files changed, 8 insertions, 4 deletions
diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php
index 72286ece4b8..3c7acafd6e9 100644
--- a/apps/theming/lib/ThemingDefaults.php
+++ b/apps/theming/lib/ThemingDefaults.php
@@ -151,9 +151,13 @@ class ThemingDefaults extends \OC_Defaults {
public function getShortFooter() {
$slogan = $this->getSlogan();
- $footer = '<a href="'. $this->getBaseUrl() . '" target="_blank"' .
- ' rel="noreferrer noopener">' .$this->getEntity() . '</a>'.
- ($slogan !== '' ? ' – ' . $slogan : '');
+ if ($this->getBaseUrl() !== '') {
+ $footer = '<a href="' . $this->getBaseUrl() . '" target="_blank"' .
+ ' rel="noreferrer noopener" class="entity-name">' . $this->getEntity() . '</a>';
+ } else {
+ $footer = '<span class="entity-name">' .$this->getEntity() . '</span>';
+ }
+ $footer .= ($slogan !== '' ? ' – ' . $slogan : '');
$links = [
[
diff --git a/core/css/guest.css b/core/css/guest.css
index 5f4eaefe80a..fc926688c44 100644
--- a/core/css/guest.css
+++ b/core/css/guest.css
@@ -746,7 +746,7 @@ footer {
margin-top: auto;
}
-footer .info a {
+footer .info .entity-name {
font-weight: 600;
}