summaryrefslogtreecommitdiffstats
path: root/web/templates/footer.html
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-02-08 07:26:10 -0500
committerChristopher Speller <crspeller@gmail.com>2016-03-14 00:38:25 -0400
commitd7cdcf082fab6c0cb7c2fe4bed821bd1a8000e69 (patch)
tree49a0de30cdc2ac461e72a242ae9a5593fcd6c8b9 /web/templates/footer.html
parent08f0800adef926e8b69ebea70e4995b89f5c3f3c (diff)
downloadchat-d7cdcf082fab6c0cb7c2fe4bed821bd1a8000e69.tar.gz
chat-d7cdcf082fab6c0cb7c2fe4bed821bd1a8000e69.tar.bz2
chat-d7cdcf082fab6c0cb7c2fe4bed821bd1a8000e69.zip
Convering client to react-router.
Diffstat (limited to 'web/templates/footer.html')
-rw-r--r--web/templates/footer.html39
1 files changed, 0 insertions, 39 deletions
diff --git a/web/templates/footer.html b/web/templates/footer.html
deleted file mode 100644
index 5b11328fb..000000000
--- a/web/templates/footer.html
+++ /dev/null
@@ -1,39 +0,0 @@
-{{define "footer"}}
-<div class="footer-pane col-xs-12">
- <div class="col-xs-12">
- <span class="pull-right footer-site-name">{{ .ClientCfg.SiteName }}</span>
- </div>
- <div class="col-xs-12">
- <span class="pull-right footer-link copyright">© 2015 Mattermost, Inc.</span>
- <a id="help_link" class="pull-right footer-link" href="#">{{ .ClientCfg.FooterHelp }}</a>
- <a id="terms_link" class="pull-right footer-link" href="#">{{ .ClientCfg.FooterTerms }}</a>
- <a id="privacy_link" class="pull-right footer-link" href="#">{{ .ClientCfg.FooterPrivacy }}</a>
- <a id="about_link" class="pull-right footer-link" href="#">{{ .ClientCfg.FooterAbout }}</a>
- </div>
-</div>
-<script>
- if (window.mm_config.HelpLink) {
- document.getElementById("help_link").setAttribute("href", window.mm_config.HelpLink);
- } else {
- $("#help_link").remove();
- }
-
- if (window.mm_config.TermsOfServiceLink) {
- document.getElementById("terms_link").setAttribute("href", window.mm_config.TermsOfServiceLink);
- } else {
- $("#terms_link").remove();
- }
-
- if (window.mm_config.PrivacyPolicyLink) {
- document.getElementById("privacy_link").setAttribute("href", window.mm_config.PrivacyPolicyLink);
- } else {
- $("#privacy_link").remove();
- }
-
- if (window.mm_config.AboutLink) {
- document.getElementById("about_link").setAttribute("href", window.mm_config.AboutLink);
- } else {
- $("#about_link").remove();
- }
-</script>
-{{end}}