Skip to content

Commit 43b4a9e

Browse files
author
Gusted
committed
Move option to General section
1 parent 3516afc commit 43b4a9e

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

options/locale/locale_en-US.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ no_reply_address = Hidden Email Domain
238238
no_reply_address_helper = Domain name for users with a hidden email address. For example, the username 'joe' will be logged in Git as '[email protected]' if the hidden email domain is set to 'noreply.example.org'.
239239
password_algorithm = Password Hash Algorithm
240240
password_algorithm_helper = Set the password hashing algorithm. Algorithms have differing requirements and strength. `argon2` whilst having good characteristics uses a lot of memory and may be inappropriate for small systems.
241-
enable_update_checker = Enable the update checker
242-
enable_update_checker_popup = Checks for new version releases periodically by connecting to gitea.io
241+
enable_update_checker = Enable Update Checker
242+
enable_update_checker_helper = Checks for new version releases periodically by connecting to gitea.io.
243243

244244
[home]
245245
uname_holder = Username or Email Address

templates/install.tmpl

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,13 @@
162162
<input id="log_root_path" name="log_root_path" value="{{.log_root_path}}" placeholder="log" required>
163163
<span class="help">{{.locale.Tr "install.log_root_path_helper"}}</span>
164164
</div>
165+
<div class="inline field">
166+
<label for="enable_update_checker">{{.locale.Tr "install.enable_update_checker"}}</label>
167+
<div class="ui checkbox">
168+
<input name="enable_update_checker" type="checkbox" {{if .enable_update_checker}}checked{{end}}>
169+
</div>
170+
<span class="help">{{.locale.Tr "install.enable_update_checker_helper"}}</span>
171+
</div>
165172

166173

167174
<!-- Optional Settings -->
@@ -284,12 +291,6 @@
284291
<input name="default_enable_timetracking" type="checkbox" {{if .default_enable_timetracking}}checked{{end}}>
285292
</div>
286293
</div>
287-
<div class="inline field">
288-
<div class="ui checkbox">
289-
<label class="tooltip" data-content="{{.locale.Tr "install.enable_update_checker_popup"}}"><strong>{{.locale.Tr "install.enable_update_checker"}}</strong></label>
290-
<input name="enable_update_checker" type="checkbox" {{if .enable_update_checker}}checked{{end}}>
291-
</div>
292-
</div>
293294
<div class="inline field">
294295
<label for="no_reply_address">{{.locale.Tr "install.no_reply_address"}}</label>
295296
<input id="_no_reply_address" name="no_reply_address" value="{{.no_reply_address}}">

0 commit comments

Comments
 (0)