From eed39ccfc5b2c1eae41180dbf54b7b7e3f5054b0 Mon Sep 17 00:00:00 2001
From: Jared Tabor
Date: Thu, 15 Jun 2017 14:28:25 -0700
Subject: [PATCH] hiding copyright info for open source
---
awx/ui/client/assets/variables.less | 3 +++
awx/ui/client/src/about/about.block.less | 4 ++++
awx/ui/client/src/about/about.partial.html | 6 ++++--
awx/ui/client/src/footer/footer.partial.html | 2 +-
4 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/awx/ui/client/assets/variables.less b/awx/ui/client/assets/variables.less
index b019bc9e69..e59deb6ebe 100644
--- a/awx/ui/client/assets/variables.less
+++ b/awx/ui/client/assets/variables.less
@@ -18,3 +18,6 @@
@about-modal-padding-top: inherit;
@about-modal-margin-top: -60px;
@about-modal-margin-left: -50px;
+
+// Copyright text should be hidden
+@copyright-text: 0;
diff --git a/awx/ui/client/src/about/about.block.less b/awx/ui/client/src/about/about.block.less
index f181041c59..6acf5e76a5 100644
--- a/awx/ui/client/src/about/about.block.less
+++ b/awx/ui/client/src/about/about.block.less
@@ -61,3 +61,7 @@
.About-ansibleVersion {
color: @default-data-txt;
}
+
+.Copyright-text{
+ opacity: @copyright-text;
+}
diff --git a/awx/ui/client/src/about/about.partial.html b/awx/ui/client/src/about/about.partial.html
index 5874221a54..7ff5f4a16a 100644
--- a/awx/ui/client/src/about/about.partial.html
+++ b/awx/ui/client/src/about/about.partial.html
@@ -26,8 +26,10 @@
Ansible {{ ansible_version }}
- Copyright © 2017 Red Hat, Inc.
- Visit Ansible.com for more information.
+
+ Copyright © 2017 Red Hat, Inc.
+ Visit Ansible.com for more information.
+
diff --git a/awx/ui/client/src/footer/footer.partial.html b/awx/ui/client/src/footer/footer.partial.html
index 4a34bde28a..6ba9ac7c47 100644
--- a/awx/ui/client/src/footer/footer.partial.html
+++ b/awx/ui/client/src/footer/footer.partial.html
@@ -1,3 +1,3 @@