summaryrefslogtreecommitdiffstats
path: root/templates/admin/dashboard.tmpl
diff options
context:
space:
mode:
authorAllen Wild <aswild@users.noreply.github.com>2018-03-02 04:09:43 -0500
committerLauris BH <lauris@nix.lv>2018-03-02 11:09:43 +0200
commit8606d9f5bc01fce90159c9bdef9989a31a865e38 (patch)
treeddac9956aa33be65d7acf7f733c87c6893a6b083 /templates/admin/dashboard.tmpl
parent2cd3622ddc340a67d95e1471f1e13bda383ef95b (diff)
downloadgitea-8606d9f5bc01fce90159c9bdef9989a31a865e38.tar.gz
gitea-8606d9f5bc01fce90159c9bdef9989a31a865e38.zip
Add admin dashboard option to run health checks (#3606)
There's one for git gc, why not git fsck too? Also add a couple more trace logs to GitFsck to see progress
Diffstat (limited to 'templates/admin/dashboard.tmpl')
-rw-r--r--templates/admin/dashboard.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl
index 23fc4a422d..9ab23f887a 100644
--- a/templates/admin/dashboard.tmpl
+++ b/templates/admin/dashboard.tmpl
@@ -49,6 +49,10 @@
<td>{{.i18n.Tr "admin.dashboard.sync_external_users"}}</td>
<td><i class="fa fa-caret-square-o-right"></i> <a href="{{AppSubUrl}}/admin?op=8">{{.i18n.Tr "admin.dashboard.operation_run"}}</a></td>
</tr>
+ <tr>
+ <td>{{.i18n.Tr "admin.dashboard.git_fsck"}}</td>
+ <td><i class="fa fa-caret-square-o-right"></i> <a href="{{AppSubUrl}}/admin?op=9">{{.i18n.Tr "admin.dashboard.operation_run"}}</a></td>
+ </tr>
</tbody>
</table>
</div>