aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/_color_scheme.scss15
-rw-r--r--app/assets/stylesheets/application.css15
-rw-r--r--app/assets/stylesheets/gallery_links.scss19
-rw-r--r--app/assets/stylesheets/hmno_banners.scss15
-rw-r--r--app/assets/stylesheets/hmno_blogg.scss15
-rw-r--r--app/assets/stylesheets/hmno_header.scss16
-rw-r--r--app/assets/stylesheets/hmno_main.scss15
-rw-r--r--app/assets/stylesheets/hmno_page.scss16
-rw-r--r--app/assets/stylesheets/hmno_sidebars.scss15
-rw-r--r--app/decorators/controllers/refinery/pages_controller_decorator.rb15
-rw-r--r--app/decorators/models/refinery/blog_category_decorator.rb15
-rw-r--r--app/decorators/models/sidebar_post_decorator.rb15
-rw-r--r--app/helpers/application_helper.rb15
-rw-r--r--app/helpers/home_page_helper.rb15
-rw-r--r--app/helpers/sidebar_helper.rb15
-rw-r--r--app/models/sidebar_blog_category.rb15
-rw-r--r--app/models/sidebar_module.rb15
-rw-r--r--app/views/common/_left_sidebar.html.erb16
-rw-r--r--app/views/common/_right_sidebar.html.erb16
-rw-r--r--app/views/layouts/application.html.erb16
-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
-rw-r--r--app/views/sidebar_modules/_sidebar_blog_category.html.erb16
-rw-r--r--app/views/sidebar_modules/_sidebar_module.html.erb17
29 files changed, 450 insertions, 6 deletions
diff --git a/app/assets/stylesheets/_color_scheme.scss b/app/assets/stylesheets/_color_scheme.scss
index c64d2bf..b69a2ea 100644
--- a/app/assets/stylesheets/_color_scheme.scss
+++ b/app/assets/stylesheets/_color_scheme.scss
@@ -1,3 +1,18 @@
+// 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/>.
+
// Color Scheme:
// http://colorschemedesigner.com/#1j11TiW8EWTs.
//
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index fbd78ca..c56a310 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -1,3 +1,18 @@
+/* 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 <http://www.gnu.org/licenses/>.
+ */
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
diff --git a/app/assets/stylesheets/gallery_links.scss b/app/assets/stylesheets/gallery_links.scss
index 302fd3e..3591543 100644
--- a/app/assets/stylesheets/gallery_links.scss
+++ b/app/assets/stylesheets/gallery_links.scss
@@ -1,3 +1,18 @@
+/* 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 <http://www.gnu.org/licenses/>.
+ */
.gallery_link {
display: inline-block;
width: 225px;
@@ -9,8 +24,8 @@
header {
h1 {
- font-size: 100%;
- margin-bottom: 0;
+ font-size: 100%;
+ margin-bottom: 0;
}
margin-bottom: 2mm;
diff --git a/app/assets/stylesheets/hmno_banners.scss b/app/assets/stylesheets/hmno_banners.scss
index 231d306..f54a7fa 100644
--- a/app/assets/stylesheets/hmno_banners.scss
+++ b/app/assets/stylesheets/hmno_banners.scss
@@ -1,3 +1,18 @@
+/* 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 <http://www.gnu.org/licenses/>.
+ */
@import "color_scheme";
#slider {
diff --git a/app/assets/stylesheets/hmno_blogg.scss b/app/assets/stylesheets/hmno_blogg.scss
index d9b8e66..fda0b77 100644
--- a/app/assets/stylesheets/hmno_blogg.scss
+++ b/app/assets/stylesheets/hmno_blogg.scss
@@ -1,3 +1,18 @@
+/* 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 <http://www.gnu.org/licenses/>.
+ */
@import "color_scheme";
#blog_posts {
diff --git a/app/assets/stylesheets/hmno_header.scss b/app/assets/stylesheets/hmno_header.scss
index 8d822c0..4f722fd 100644
--- a/app/assets/stylesheets/hmno_header.scss
+++ b/app/assets/stylesheets/hmno_header.scss
@@ -1,3 +1,18 @@
+/* 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 <http://www.gnu.org/licenses/>.
+ */
@import "color_scheme";
#header {
@@ -77,4 +92,3 @@
}
}
}
-
diff --git a/app/assets/stylesheets/hmno_main.scss b/app/assets/stylesheets/hmno_main.scss
index bd741f7..26a0a29 100644
--- a/app/assets/stylesheets/hmno_main.scss
+++ b/app/assets/stylesheets/hmno_main.scss
@@ -1,3 +1,18 @@
+/* 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 <http://www.gnu.org/licenses/>.
+ */
@import "color_scheme";
body {
diff --git a/app/assets/stylesheets/hmno_page.scss b/app/assets/stylesheets/hmno_page.scss
index deda694..476da14 100644
--- a/app/assets/stylesheets/hmno_page.scss
+++ b/app/assets/stylesheets/hmno_page.scss
@@ -1,3 +1,18 @@
+/* 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 <http://www.gnu.org/licenses/>.
+ */
@import "color_scheme";
#page_container {
@@ -32,4 +47,3 @@
border-top: 1px solid $fg;
}
}
-
diff --git a/app/assets/stylesheets/hmno_sidebars.scss b/app/assets/stylesheets/hmno_sidebars.scss
index 664ec5e..c196ac2 100644
--- a/app/assets/stylesheets/hmno_sidebars.scss
+++ b/app/assets/stylesheets/hmno_sidebars.scss
@@ -1,3 +1,18 @@
+/* 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 <http://www.gnu.org/licenses/>.
+ */
@import "color_scheme";
@mixin sidebar-headers {
diff --git a/app/decorators/controllers/refinery/pages_controller_decorator.rb b/app/decorators/controllers/refinery/pages_controller_decorator.rb
index 77a9434..6754fe4 100644
--- a/app/decorators/controllers/refinery/pages_controller_decorator.rb
+++ b/app/decorators/controllers/refinery/pages_controller_decorator.rb
@@ -1,3 +1,18 @@
+# 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/>.
+
ApplicationController.class_eval do
include Refinery::Blog::ControllerHelper
diff --git a/app/decorators/models/refinery/blog_category_decorator.rb b/app/decorators/models/refinery/blog_category_decorator.rb
index 3c4cf08..b4d34a6 100644
--- a/app/decorators/models/refinery/blog_category_decorator.rb
+++ b/app/decorators/models/refinery/blog_category_decorator.rb
@@ -1,3 +1,18 @@
+# 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/>.
+
Refinery::Blog::Category.class_eval do
attr_accessible :sidebar_position, :sidebar_items
end
diff --git a/app/decorators/models/sidebar_post_decorator.rb b/app/decorators/models/sidebar_post_decorator.rb
index 93353bb..a9a28b8 100644
--- a/app/decorators/models/sidebar_post_decorator.rb
+++ b/app/decorators/models/sidebar_post_decorator.rb
@@ -1,3 +1,18 @@
+# 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/>.
+
require 'delegate'
class SidebarPostDecorator < SimpleDelegator
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 3cce866..8693b56 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -1,3 +1,18 @@
+# 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/>.
+
module ApplicationHelper
def make_choice_from(array)
value = 0
diff --git a/app/helpers/home_page_helper.rb b/app/helpers/home_page_helper.rb
index 8e165d0..aa9e2d9 100644
--- a/app/helpers/home_page_helper.rb
+++ b/app/helpers/home_page_helper.rb
@@ -1,3 +1,18 @@
+# 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/>.
+
module HomePageHelper
include Refinery::Blog::PostsHelper
end
diff --git a/app/helpers/sidebar_helper.rb b/app/helpers/sidebar_helper.rb
index ad9c6de..dddadf2 100644
--- a/app/helpers/sidebar_helper.rb
+++ b/app/helpers/sidebar_helper.rb
@@ -1,3 +1,18 @@
+# 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/>.
+
module SidebarHelper
def render_sidebar_modules(mods, options = {})
pos = options.delete(:position)
diff --git a/app/models/sidebar_blog_category.rb b/app/models/sidebar_blog_category.rb
index fb867ac..c6f6ce1 100644
--- a/app/models/sidebar_blog_category.rb
+++ b/app/models/sidebar_blog_category.rb
@@ -1,3 +1,18 @@
+# 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/>.
+
class SidebarBlogCategory < SidebarModule
def initialize(category)
@title = category.title
diff --git a/app/models/sidebar_module.rb b/app/models/sidebar_module.rb
index 1e9bde1..6967f4f 100644
--- a/app/models/sidebar_module.rb
+++ b/app/models/sidebar_module.rb
@@ -1,3 +1,18 @@
+# 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/>.
+
class SidebarModule
attr_reader :title, :body, :position
diff --git a/app/views/common/_left_sidebar.html.erb b/app/views/common/_left_sidebar.html.erb
index 9f5a40f..babcd70 100644
--- a/app/views/common/_left_sidebar.html.erb
+++ b/app/views/common/_left_sidebar.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="left_sidebar">
<%= render_sidebar_modules @sidebar_modules, :position => 1 %>
</div>
diff --git a/app/views/common/_right_sidebar.html.erb b/app/views/common/_right_sidebar.html.erb
index 15dfb83..de1d417 100644
--- a/app/views/common/_right_sidebar.html.erb
+++ b/app/views/common/_right_sidebar.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="right_sidebar">
<% if page_has_side_body?(@page) %>
<div class="sidebar_module">
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 547013d..620bc65 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.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/>.
+%>
<!DOCTYPE html>
<%= render '/refinery/html_tag' %>
<% site_bar = render('refinery/site_bar', :head => true) -%>
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 -%>
diff --git a/app/views/sidebar_modules/_sidebar_blog_category.html.erb b/app/views/sidebar_modules/_sidebar_blog_category.html.erb
index 006b963..3196c8c 100644
--- a/app/views/sidebar_modules/_sidebar_blog_category.html.erb
+++ b/app/views/sidebar_modules/_sidebar_blog_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/>.
+%>
<% content_for "sidebar_module_#{sidebar_module.title}_body" do %>
<% sidebar_module.body.each do |post| %>
<%= content_tag :header, :class => :sidebar_blog_headline do %>
diff --git a/app/views/sidebar_modules/_sidebar_module.html.erb b/app/views/sidebar_modules/_sidebar_module.html.erb
index ecd5375..5bf01bc 100644
--- a/app/views/sidebar_modules/_sidebar_module.html.erb
+++ b/app/views/sidebar_modules/_sidebar_module.html.erb
@@ -1,5 +1,20 @@
+<%#
+ 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="sidebar_module_<%= sidebar_module.title.parameterize %>" class="sidebar_module">
<h1><%= sidebar_module.title %></h1>
<div class="inner"><%= content_for "sidebar_module_#{sidebar_module.title}_body" %></div>
</div>
-