From f6bb75faabbcc858ab7d410b39c6403cc58d4cfd Mon Sep 17 00:00:00 2001 From: Kiesia Carmine Date: Thu, 29 Jan 2015 19:39:48 +0100 Subject: [PATCH 1/2] correctly display current year --- app/views/layouts/_footer.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_footer.html.haml b/app/views/layouts/_footer.html.haml index 55872e4e..0ad5112b 100644 --- a/app/views/layouts/_footer.html.haml +++ b/app/views/layouts/_footer.html.haml @@ -14,4 +14,4 @@ refuge restrooms is open source. %a{:href => "https://github.com/RefugeRestrooms/refugerestrooms"} code on github. %br/ - \© copyleft 2014 refuge restrooms. \ No newline at end of file + = "\© copyleft #{Date.today.year} refuge restrooms." \ No newline at end of file From 83d507f437d6df622aaedc63568332be94471457 Mon Sep 17 00:00:00 2001 From: Kiesia Carmine Date: Thu, 29 Jan 2015 19:42:17 +0100 Subject: [PATCH 2/2] don't escape copyright symbol --- app/views/layouts/_footer.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_footer.html.haml b/app/views/layouts/_footer.html.haml index 0ad5112b..f2e0b414 100644 --- a/app/views/layouts/_footer.html.haml +++ b/app/views/layouts/_footer.html.haml @@ -14,4 +14,4 @@ refuge restrooms is open source. %a{:href => "https://github.com/RefugeRestrooms/refugerestrooms"} code on github. %br/ - = "\© copyleft #{Date.today.year} refuge restrooms." \ No newline at end of file + = "\© copyleft #{Date.today.year} refuge restrooms.".html_safe \ No newline at end of file