summaryrefslogtreecommitdiff
path: root/app/views/admin/projects
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-13 11:50:39 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-13 11:50:39 +0200
commitda87fa8a9fb2e786a4115d2da3898e0ec83c446c (patch)
tree3e314fe886b52971c74c7f5b05c3c12a5d112a96 /app/views/admin/projects
parent74783358268a6ce69375780400e661d9aa1fa741 (diff)
downloadgitlab-ce-da87fa8a9fb2e786a4115d2da3898e0ec83c446c.tar.gz
Make check result staleness more obvious
Diffstat (limited to 'app/views/admin/projects')
-rw-r--r--app/views/admin/projects/show.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index 5bef8e3ad57..1e44172f066 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -10,7 +10,9 @@
.col-md-12
.panel
.panel-heading.alert.alert-danger
- Last repository check failed. See
+ Last repository check
+ = "(#{time_ago_in_words(@project.last_repository_check_at)} ago)"
+ failed. See
= link_to 'repocheck.log', admin_logs_path
for error messages.
.row