diff options
Diffstat (limited to 'app/views/sidebar_modules')
-rw-r--r-- | app/views/sidebar_modules/_sidebar_blog_category.html.erb | 16 | ||||
-rw-r--r-- | app/views/sidebar_modules/_sidebar_module.html.erb | 17 |
2 files changed, 32 insertions, 1 deletions
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> - |