summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2014-04-17 16:05:31 +0200
committerAlex Legler <alex@a3li.li>2014-04-17 16:05:31 +0200
commitd91d7be69ed627d7c5c9e733da0aad5732407967 (patch)
tree81974f337d13cb9aa9728e1d4a21bd9fd764892d /views
parentRemove services.rb (diff)
downloadinfra-status-d91d7be69ed627d7c5c9e733da0aad5732407967.tar.gz
infra-status-d91d7be69ed627d7c5c9e733da0aad5732407967.tar.bz2
infra-status-d91d7be69ed627d7c5c9e733da0aad5732407967.zip
Set <title> when displaying a notice
Diffstat (limited to 'views')
-rw-r--r--views/layout.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/layout.erb b/views/layout.erb
index be50e02..d43b914 100644
--- a/views/layout.erb
+++ b/views/layout.erb
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <title>Gentoo Infrastructure Status</title>
+ <title><%= "#{h @title} - " if @title %>Gentoo Infrastructure Status</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">