From f3f40822b055c2430cbe79369cbfa1b75099d7c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sede=C3=B1o?= Date: Thu, 11 Feb 2016 21:56:15 +0100 Subject: [PATCH] Put the config name as title in layouts. fix #773 --- app/views/layouts/application.html.haml | 2 +- app/views/layouts/schedule.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index e7a97b8a..8220dab3 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -2,7 +2,7 @@ %head %meta{:charset => "utf-8"} %meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"} - %title= content_for?(:title) ? yield(:title) : "OSEM" + %title= content_for?(:title) ? yield(:title) : CONFIG['name'] %meta{:content => "", :name => "description"} %meta{:content => "", :name => "author"} = stylesheet_link_tag "application", :media => "all" diff --git a/app/views/layouts/schedule.html.haml b/app/views/layouts/schedule.html.haml index 56af1be7..f1f726ed 100644 --- a/app/views/layouts/schedule.html.haml +++ b/app/views/layouts/schedule.html.haml @@ -3,7 +3,7 @@ %head %meta{:charset => "utf-8"} %meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"} - %title= content_for?(:title) ? yield(:title) : "OSEM" + %title= content_for?(:title) ? yield(:title) : CONFIG['name'] %meta{:content => "", :name => "description"} %meta{:content => "", :name => "author"} = stylesheet_link_tag "/stylesheets/schedule/jquery-ui-1.9.2.custom.min"