You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2018/10/23 14:08:30 UTC
allura git commit: fixup! [#8093] Initial mechanism for overriding
default templates with a responsive counterpart
Repository: allura
Updated Branches:
refs/heads/kt/8093 752cdf5fe -> 577152417
fixup! [#8093] Initial mechanism for overriding default templates with a responsive counterpart
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/57715241
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/57715241
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/57715241
Branch: refs/heads/kt/8093
Commit: 5771524177e055294906772ed741b2b8f4490ad5
Parents: 752cdf5
Author: Kenton Taylor <kt...@slashdotmedia.com>
Authored: Tue Oct 23 14:08:19 2018 +0000
Committer: Kenton Taylor <kt...@slashdotmedia.com>
Committed: Tue Oct 23 14:08:19 2018 +0000
----------------------------------------------------------------------
.../override/allura/templates/README.md | 1 +
.../templates_responsive/responsive_overrides.py | 17 +++++++++++++++++
rat-excludes.txt | 1 +
3 files changed, 19 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/57715241/Allura/allura/templates_responsive/override/allura/templates/README.md
----------------------------------------------------------------------
diff --git a/Allura/allura/templates_responsive/override/allura/templates/README.md b/Allura/allura/templates_responsive/override/allura/templates/README.md
index 373afa0..48b2085 100644
--- a/Allura/allura/templates_responsive/override/allura/templates/README.md
+++ b/Allura/allura/templates_responsive/override/allura/templates/README.md
@@ -1,3 +1,4 @@
+
# Responsive Migration
As we plot a course to migrate allura's default layout to be responsive, new templates can be placed in this directory to supercede their legacy counterparts.
http://git-wip-us.apache.org/repos/asf/allura/blob/57715241/Allura/allura/templates_responsive/responsive_overrides.py
----------------------------------------------------------------------
diff --git a/Allura/allura/templates_responsive/responsive_overrides.py b/Allura/allura/templates_responsive/responsive_overrides.py
index a86f685..0478620 100644
--- a/Allura/allura/templates_responsive/responsive_overrides.py
+++ b/Allura/allura/templates_responsive/responsive_overrides.py
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
class ResponsiveOverrides(object):
'''
http://git-wip-us.apache.org/repos/asf/allura/blob/57715241/rat-excludes.txt
----------------------------------------------------------------------
diff --git a/rat-excludes.txt b/rat-excludes.txt
index f2b474f..37dff64 100644
--- a/rat-excludes.txt
+++ b/rat-excludes.txt
@@ -76,4 +76,5 @@ solr_config/allura/core.properties
# tmp can have tons of files from the broccoli build process
tmp/**
Allura/allura/public/nf/js/checklist.js
+Allura/allura/templates_responsive/override/allura/templates/README.md