add contact mail address (implements #31)
This commit is contained in:
parent
c1d75e8f83
commit
64a47dfc5f
4 changed files with 11 additions and 3 deletions
|
|
@ -34,7 +34,8 @@
|
|||
'genericname' => 'The Legend of Z',
|
||||
'namespace' => 'hhu\\z\\',
|
||||
'timeZone' => 'Europe/Berlin',
|
||||
'mailsender' => 'questlab@hhu.de',
|
||||
'mailsender' => '',
|
||||
'mailcontact' => '',
|
||||
'registration_host' => ''
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -74,6 +74,9 @@
|
|||
|
||||
// Set notifications
|
||||
$this->set('notifications', $this->Notification->getNotifications());
|
||||
|
||||
// Set some application data
|
||||
$this->set('mailcontact', \nre\configs\AppConfig::$app['mailcontact']);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -48,6 +48,9 @@
|
|||
<label for="toggle" class="toggle" onclick><i class="fa fa-bars"></i>Menü</label>
|
||||
<div id="home">
|
||||
<a href="<?=$linker->link(array(), 0, true, array(), true)?>"><?=\nre\configs\AppConfig::$app['name']?></a>
|
||||
<?php if(!empty($mailcontact)) : ?>
|
||||
<a class="contact" href="mailto:<?=$mailcontact?>"><?=$mailcontact?></a>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<?php if(!is_null($loggedUser)) : ?>
|
||||
<div id="profile" class="cf">
|
||||
|
|
|
|||
|
|
@ -69,8 +69,9 @@ header a:hover{color:#fff}
|
|||
header .fa{color:#5e9499}
|
||||
header a:hover .fa{color:#7fb0b4}
|
||||
|
||||
#home{display:none;opacity:0}
|
||||
#home a{line-height:93px;font-size:22px;letter-spacing:8px}
|
||||
#home{display:none;opacity:0;margin-bottom:25px}
|
||||
#home a{font-size:22px;letter-spacing:8px;padding-top:25px}
|
||||
#home a.contact{font-size:14px;letter-spacing:0;text-transform:none;padding-top:0}
|
||||
#profile{float:right}
|
||||
#profile a{padding-top:10px;font-size:.875em;font-family:"Open sans",sans-serif;text-transform:none;margin-left:0}
|
||||
#profile img{float:left;width:36px;height:36px;margin-right:15px;border-radius:18px}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue