aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
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
parent28a384eea2793d741fde1fe338c16ca2c197c2fa (diff)
downloadhmnoweb-45fea420bddcf9d370b681b766a622da6f11eb38.tar.gz
hmnoweb-45fea420bddcf9d370b681b766a622da6f11eb38.tar.bz2
hmnoweb-45fea420bddcf9d370b681b766a622da6f11eb38.zip
Add license header to files.
Diffstat (limited to 'app/views')
-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
12 files changed, 193 insertions, 2 deletions
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>
-