Add last time verified on Geo projects page

parent f01a6c2f
...@@ -13,6 +13,14 @@ ...@@ -13,6 +13,14 @@
= time_ago_with_tooltip(project_registry.last_repository_successful_sync_at, placement: 'bottom') = time_ago_with_tooltip(project_registry.last_repository_successful_sync_at, placement: 'bottom')
- else - else
= s_('Geo|Never') = s_('Geo|Never')
.col-sm.project-status-container
.project-status-title.text-muted
= s_('Geo|Last time verified')
.project-status-content
- if project_registry.last_repository_verification_ran_at
= time_ago_with_tooltip(project_registry.last_repository_verification_ran_at, placement: 'bottom')
- else
= s_('Geo|Never')
.col-sm.project-status-container .col-sm.project-status-container
.project-status-title.text-muted .project-status-title.text-muted
= s_('Geo|Last repository check run') = s_('Geo|Last repository check run')
......
...@@ -126,7 +126,7 @@ describe 'admin Geo Projects', :js, :geo do ...@@ -126,7 +126,7 @@ describe 'admin Geo Projects', :js, :geo do
let(:sync_status) { :synced } let(:sync_status) { :synced }
let(:expected_registries) { [synced_registry] } let(:expected_registries) { [synced_registry] }
let(:unexpected_registries) { [sync_pending_registry, sync_failed_registry, never_synced_registry] } let(:unexpected_registries) { [sync_pending_registry, sync_failed_registry, never_synced_registry] }
let(:labels) { ['Status', 'Last successful sync', 'Last repository check run'] } let(:labels) { ['Status', 'Last successful sync', 'Last time verified', 'Last repository check run'] }
it_behaves_like 'shows tab specific projects and correct labels' it_behaves_like 'shows tab specific projects and correct labels'
end end
......
...@@ -4071,6 +4071,9 @@ msgstr "" ...@@ -4071,6 +4071,9 @@ msgstr ""
msgid "Geo|Last sync attempt" msgid "Geo|Last sync attempt"
msgstr "" msgstr ""
msgid "Geo|Last time verified"
msgstr ""
msgid "Geo|Never" msgid "Geo|Never"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment