Only display Gokapi version in admin view #181

This commit is contained in:
Marc Ole Bulling
2024-07-13 04:01:20 +02:00
parent e704904ed1
commit 533993ef3b
5 changed files with 5 additions and 5 deletions

View File

@@ -199,5 +199,5 @@
{{ template "footer" }}
{{ template "footer" true}}
{{ end }}

View File

@@ -89,5 +89,5 @@
}
});
</script>
{{ template "footer" }}
{{ template "footer" true }}
{{ end }}

View File

@@ -125,5 +125,5 @@
</script>
{{ end }}
{{template "footer"}}
{{template "footer" true}}
{{end}}

View File

@@ -2,7 +2,7 @@
</main>
<footer class="mt-auto text-white-50">
<p> Powered by <a href="https://github.com/Forceu/Gokapi" target="_blank" rel="noopener noreferrer">Gokapi v{{template "version"}}</a></p>
<p> Powered by <a href="https://github.com/Forceu/Gokapi" target="_blank" rel="noopener noreferrer">Gokapi {{if eq . true }}v{{template "version"}}{{end}}</a></p>
</footer>
</div>
</body>

View File

@@ -21,5 +21,5 @@
window.location.reload();
}, 30000);
</script>
{{ template "footer" }}
{{ template "footer" true}}
{{ end }}