Add tooltip for instance delivery warnings (#17854)

This commit is contained in:
Claire 2022-03-22 18:41:46 +01:00 committed by GitHub
parent 8751c3c495
commit 749fe73ec4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
.directory__tag
= link_to admin_instance_path(instance) do
%h4
= fa_icon 'warning fw' if instance.failing?
= fa_icon 'warning fw', title: t('admin.instances.availability.warning') if instance.failing?
= instance.domain
%small

View File

@ -490,6 +490,7 @@ en:
other: Failed attempts on %{count} different days.
no_failures_recorded: No failures on record.
title: Availability
warning: The last attempt to connect to this server has been unsuccessful
back_to_all: All
back_to_limited: Limited
back_to_warning: Warning