New design #2

Merged
halworsen merged 26 commits from redesign into master 2018-02-24 17:15:32 +01:00
1 changed files with 5 additions and 4 deletions
Showing only changes of commit f2a14f3791 - Show all commits

View File

@ -99,11 +99,12 @@ $motd = $motdfetcher->getMOTD();
<div class="gridl">
<?php
$title = $motd["title"];
$title_text = " - " . $title;
echo "<h2>Dagens melding";
if($title != ""){
echo $title_text;
echo "<h2>";
if($title == ""){
echo "Dagens melding";
}else{
echo $title;
}
echo "</h2>";