Skip to content

Commit

Permalink
Strip version information and add link to source
Browse files Browse the repository at this point in the history
  • Loading branch information
yayayayaka committed Nov 8, 2023
1 parent e2c20ff commit 1599889
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions templates/webadmin/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
<footer class="sticky-footer bg-white">
<div class="container my-auto">
<div class="copyright text-center my-auto">
<span>SFTPGo - <a href="https://nyantec.com/impressum/">Impressum</a></span>
<span>SFTPGo - <a href="https://github.com/nyantec/sftpgo">Source code</a> - <a href="https://nyantec.com/impressum/">Impressum</a></span>
</div>
</div>
</footer>
Expand Down Expand Up @@ -340,4 +340,4 @@ <h5 class="modal-title" id="modalLabel">Ready to Leave?</h5>
</body>

</html>
{{end}}
{{end}}
2 changes: 1 addition & 1 deletion templates/webadmin/baselogin.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
</div>
</div>
<div class="imprint">
<a href="https://nyantec.com/impressum/">Impressum</a>
<p><a href="https://github.com/nyantec/sftpgo">Source code</a> - <a href="https://nyantec.com/impressum/">Impressum</a></p>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion templates/webadmin/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

{{define "content"}}
<div class="text-center">
<h1 class="h4 text-gray-900 mb-4">{{.Branding.ShortName}} - {{.Version}}</h1>
<h1 class="h4 text-gray-900 mb-4">{{.Branding.ShortName}}</h1>
</div>
{{if .Error}}
<div class="alert alert-warning alert-dismissible fade show" role="alert">
Expand Down
2 changes: 1 addition & 1 deletion templates/webadmin/twofactor-recovery.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

{{define "content"}}
<div class="text-center">
<h1 class="h4 text-gray-900 mb-4">{{.Branding.Name}} - {{.Version}}</h1>
<h1 class="h4 text-gray-900 mb-4">{{.Branding.Name}}</h1>
</div>
{{if .Error}}
<div class="alert alert-warning alert-dismissible fade show" role="alert">
Expand Down
2 changes: 1 addition & 1 deletion templates/webadmin/twofactor.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

{{define "content"}}
<div class="text-center">
<h1 class="h4 text-gray-900 mb-4">{{.Branding.Name}} - {{.Version}}</h1>
<h1 class="h4 text-gray-900 mb-4">{{.Branding.Name}}</h1>
</div>
{{if .Error}}
<div class="alert alert-warning alert-dismissible fade show" role="alert">
Expand Down
2 changes: 1 addition & 1 deletion templates/webclient/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
<footer class="sticky-footer bg-white">
<div class="container my-auto">
<div class="copyright text-center my-auto">
<span>SFTPGo {{.Version}} - <a href="https://nyantec.com/impressum/">Impressum</a></span>
<span>SFTPGo - <a href="https://github.com/nyantec/sftpgo">Source code</a> - <a href="https://nyantec.com/impressum/">Impressum</a></span>
</div>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions templates/webclient/baselogin.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<div class="col-lg-7">
<div class="p-5">
<div class="text-center">
<h1 class="h4 text-gray-900 mb-4">{{.Branding.ShortName}} - {{.Version}}</h1>
<h1 class="h4 text-gray-900 mb-4">{{.Branding.ShortName}}</h1>
</div>
{{template "content" .}}
</div>
Expand All @@ -74,7 +74,7 @@ <h1 class="h4 text-gray-900 mb-4">{{.Branding.ShortName}} - {{.Version}}</h1>
</div>
</div>
<div class="imprint">
<a href="https://nyantec.com/impressum/">Impressum</a>
<p><a href="https://github.com/nyantec/sftpgo">Source code</a> - <a href="https://nyantec.com/impressum/">Impressum</a></p>
</div>
</div>

Expand Down

0 comments on commit 1599889

Please sign in to comment.