Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kutelev <alexander@kutelev.ru>2019-01-04 08:54:45 +0300
committerAlexander Kutelev <alexander.kutelev@neulion.com>2019-01-04 09:24:42 +0300
commitbcaf444b2107408b1eaf66bfc0d869b7b87b35f9 (patch)
tree3af6bf54ea79b85bd5d6846e03abcecfe60c7352 /app/views/admin
parentd56124b5e16e15afd830a1bdc8c34a4a57d898d8 (diff)
Take contacted_at value from the DB when it is about to be displayed in the Web interface with sorting enabled.
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/runners/_runner.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/admin/runners/_runner.html.haml b/app/views/admin/runners/_runner.html.haml
index e4fc2985087..829d2c8949f 100644
--- a/app/views/admin/runners/_runner.html.haml
+++ b/app/views/admin/runners/_runner.html.haml
@@ -56,8 +56,9 @@
.table-section.section-10
.table-mobile-header{ role: 'rowheader' }= _('Last contact')
.table-mobile-content
- - if runner.contacted_at
- = time_ago_with_tooltip runner.contacted_at
+ - contacted_at = runner_contacted_at(runner)
+ - if contacted_at
+ = time_ago_with_tooltip contacted_at
- else
= _('Never')