diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-11-01 19:23:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 19:23:56 +0000 |
commit | c2d2323fc8fdcafde705be782711e318d79f4492 (patch) | |
tree | dd5d114f179389fd25b0b36723f2211a9518b6cd /templates/install.tmpl | |
parent | f211d235c7a42c03f97697878550dc49b65e93da (diff) | |
download | gitea-c2d2323fc8fdcafde705be782711e318d79f4492.tar.gz gitea-c2d2323fc8fdcafde705be782711e318d79f4492.zip |
Configure update checker on installation page (#21655)
- I recently became aware that this was enabled by-default, I don't
necessary agree with that and this should rather be configured by the
user(this patch does that on the installation page) as it connects to a
homeserver, which I'd prefer to avoid on my instance.
![image](https://user-images.githubusercontent.com/25481501/199260613-a77a1b10-347a-4542-8982-9b9b24dad28c.png)
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r-- | templates/install.tmpl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl index 36f58218d4..8d6918e6a2 100644 --- a/templates/install.tmpl +++ b/templates/install.tmpl @@ -162,6 +162,13 @@ <input id="log_root_path" name="log_root_path" value="{{.log_root_path}}" placeholder="log" required> <span class="help">{{.locale.Tr "install.log_root_path_helper"}}</span> </div> + <div class="inline field"> + <label for="enable_update_checker">{{.locale.Tr "install.enable_update_checker"}}</label> + <div class="ui checkbox"> + <input name="enable_update_checker" type="checkbox"> + </div> + <span class="help">{{.locale.Tr "install.enable_update_checker_helper"}}</span> + </div> <!-- Optional Settings --> |