nixbld: add account creation note to gitea signin page
This commit is contained in:
parent
b03087717a
commit
169876e211
@ -390,6 +390,7 @@ in
|
|||||||
};
|
};
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"L+ '${config.services.gitea.stateDir}/custom/templates/home.tmpl' - - - - ${./gitea-home.tmpl}"
|
"L+ '${config.services.gitea.stateDir}/custom/templates/home.tmpl' - - - - ${./gitea-home.tmpl}"
|
||||||
|
"L+ '${config.services.gitea.stateDir}/custom/templates/user/auth/signin.tmpl' - - - - ${./gitea-signin.tmpl}"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.mattermost = {
|
services.mattermost = {
|
||||||
|
11
nixbld-etc-nixos/gitea-signin.tmpl
Normal file
11
nixbld-etc-nixos/gitea-signin.tmpl
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{{template "base/head" .}}
|
||||||
|
<div class="page-content user signin{{if .LinkAccountMode}} icon{{end}}">
|
||||||
|
{{template "user/auth/signin_navbar" .}}
|
||||||
|
<div class="ui middle very relaxed page grid">
|
||||||
|
<div class="ui container column">
|
||||||
|
{{template "user/auth/signin_inner" .}}
|
||||||
|
To get an account (also available to external contributors), simply write to sb@m-***s.hk.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{template "base/footer" .}}
|
Loading…
Reference in New Issue
Block a user