aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-06-17 20:08:13 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-06-17 20:08:13 +0200
commit45fea420bddcf9d370b681b766a622da6f11eb38 (patch)
treecdc16b4532e97037d304ba3e67b31e0213a6492d /app/views/refinery
parent28a384eea2793d741fde1fe338c16ca2c197c2fa (diff)
downloadhmnoweb-45fea420bddcf9d370b681b766a622da6f11eb38.tar.gz
hmnoweb-45fea420bddcf9d370b681b766a622da6f11eb38.tar.bz2
hmnoweb-45fea420bddcf9d370b681b766a622da6f11eb38.zip
Add license header to files.
Diffstat (limited to 'app/views/refinery')
-rw-r--r--app/views/refinery/_header.html.erb16
-rw-r--r--app/views/refinery/banners/shared/_banner_image.html.erb18
-rw-r--r--app/views/refinery/blog/admin/categories/_category.html.erb16
-rw-r--r--app/views/refinery/blog/admin/categories/_form.html.erb16
-rw-r--r--app/views/refinery/blog/categories/show.html.erb16
-rw-r--r--app/views/refinery/blog/posts/show.html.erb16
-rw-r--r--app/views/refinery/blog/posts/tagged.html.erb16
7 files changed, 113 insertions, 1 deletions
diff --git a/app/views/refinery/_header.html.erb b/app/views/refinery/_header.html.erb
index 7215e57..a1a146c 100644
--- a/app/views/refinery/_header.html.erb
+++ b/app/views/refinery/_header.html.erb
@@ -1,3 +1,19 @@
+<%#
+ This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no
+ Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License version 3
+ as published by the Free Software Foundation.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+%>
<div id='logo'>
<%= link_to image_tag("logo.png", :alt => "Heavymetal.no"), refinery.root_path %>
</div>
diff --git a/app/views/refinery/banners/shared/_banner_image.html.erb b/app/views/refinery/banners/shared/_banner_image.html.erb
index c368c9a..ffaebae 100644
--- a/app/views/refinery/banners/shared/_banner_image.html.erb
+++ b/app/views/refinery/banners/shared/_banner_image.html.erb
@@ -1 +1,17 @@
-<%= link_to(image_fu(banner_image.image, '500x'), banner_image.url, :target => "_blank") %> \ No newline at end of file
+<%#
+ This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no
+ Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License version 3
+ as published by the Free Software Foundation.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+%>
+<%= link_to(image_fu(banner_image.image, '500x'), banner_image.url, :target => "_blank") %>
diff --git a/app/views/refinery/blog/admin/categories/_category.html.erb b/app/views/refinery/blog/admin/categories/_category.html.erb
index 1c65c33..2c9e1e6 100644
--- a/app/views/refinery/blog/admin/categories/_category.html.erb
+++ b/app/views/refinery/blog/admin/categories/_category.html.erb
@@ -1,3 +1,19 @@
+<%#
+ This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no
+ Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License version 3
+ as published by the Free Software Foundation.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+%>
<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(category) -%>">
<span class='title'>
<%= category.title %>
diff --git a/app/views/refinery/blog/admin/categories/_form.html.erb b/app/views/refinery/blog/admin/categories/_form.html.erb
index 69ac0e7..b359a2c 100644
--- a/app/views/refinery/blog/admin/categories/_form.html.erb
+++ b/app/views/refinery/blog/admin/categories/_form.html.erb
@@ -1,3 +1,19 @@
+<%#
+ This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no
+ Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License version 3
+ as published by the Free Software Foundation.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+%>
<%= form_for [refinery, :blog_admin, @category] do |f| -%>
<%= render :partial => "/refinery/admin/error_messages",
:locals => {
diff --git a/app/views/refinery/blog/categories/show.html.erb b/app/views/refinery/blog/categories/show.html.erb
index 6228c7a..f3832e7 100644
--- a/app/views/refinery/blog/categories/show.html.erb
+++ b/app/views/refinery/blog/categories/show.html.erb
@@ -1,3 +1,19 @@
+<%#
+ This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no
+ Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License version 3
+ as published by the Free Software Foundation.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+%>
<% content_for :body_content_title, @category.title %>
<% content_for :body do %>
diff --git a/app/views/refinery/blog/posts/show.html.erb b/app/views/refinery/blog/posts/show.html.erb
index 42229cf..5d64429 100644
--- a/app/views/refinery/blog/posts/show.html.erb
+++ b/app/views/refinery/blog/posts/show.html.erb
@@ -1,3 +1,19 @@
+<%#
+ This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no
+ Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License version 3
+ as published by the Free Software Foundation.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+%>
<% content_for :body do %>
<div id="show_blog_post">
<%= render 'post' %>
diff --git a/app/views/refinery/blog/posts/tagged.html.erb b/app/views/refinery/blog/posts/tagged.html.erb
index ed31107..2daaa60 100644
--- a/app/views/refinery/blog/posts/tagged.html.erb
+++ b/app/views/refinery/blog/posts/tagged.html.erb
@@ -1,3 +1,19 @@
+<%#
+ This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no
+ Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License version 3
+ as published by the Free Software Foundation.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+%>
<% content_for :title, "#{t('.posts_tagged')} '#{@tag_name.titleize}'" %>
<% content_for :body_content_title, "#{t('.posts_tagged')} &#8220;#{@tag_name.titleize}&#8221;".html_safe -%>