blob: 60dd5a40e4de75f597ffa57554c65f91ee27d8fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{{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="#">Help</a>
<a id="terms_link" class="pull-right footer-link" href="#">Terms</a>
<a id="privacy_link" class="pull-right footer-link" href="#">Privacy</a>
<a id="about_link" class="pull-right footer-link" href="#">About</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}}
|