diff options
author | 6543 <6543@obermui.de> | 2020-05-18 00:14:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-17 23:14:33 +0100 |
commit | 9a829b98f0e5a0b21e9b670c4b49f9a381a35e60 (patch) | |
tree | bd08f6dc497e1199138b8e2329cb72f0cb6cb6bf | |
parent | 7fd60c6d8d0036bdd0f4ce459f286a5b556b1faa (diff) | |
download | gitea-9a829b98f0e5a0b21e9b670c4b49f9a381a35e60.tar.gz gitea-9a829b98f0e5a0b21e9b670c4b49f9a381a35e60.zip |
Fix "Unknown task: git_fsck" error on admin dashboard (#11468)
-rw-r--r-- | options/locale/locale_en-US.ini | 1 | ||||
-rw-r--r-- | templates/admin/dashboard.tmpl | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index f6c9b43ee5..d10f4c2478 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1872,7 +1872,6 @@ dashboard.resync_all_sshkeys.desc = (Not needed for the built-in SSH server.) dashboard.resync_all_hooks = Resynchronize pre-receive, update and post-receive hooks of all repositories. dashboard.reinit_missing_repos = Reinitialize all missing Git repositories for which records exist dashboard.sync_external_users = Synchronize external user data -dashboard.git_fsck = Execute health checks on all repositories dashboard.server_uptime = Server Uptime dashboard.current_goroutine = Current Goroutines dashboard.current_memory_usage = Current Memory Usage diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl index affed1634f..0079fc78d7 100644 --- a/templates/admin/dashboard.tmpl +++ b/templates/admin/dashboard.tmpl @@ -53,8 +53,8 @@ <td><button type="submit" class="ui green button" name="op" value="sync_external_users">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td> </tr> <tr> - <td>{{.i18n.Tr "admin.dashboard.git_fsck"}}</td> - <td><button type="submit" class="ui green button" name="op" value="git_fsck">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td> + <td>{{.i18n.Tr "admin.dashboard.repo_health_check"}}</td> + <td><button type="submit" class="ui green button" name="op" value="repo_health_check">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td> </tr> <tr> <td>{{.i18n.Tr "admin.dashboard.delete_generated_repository_avatars"}}</td> |