Add tooltip for instance delivery warnings (#17854)

pull/1721/head
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 .directory__tag
= link_to admin_instance_path(instance) do = link_to admin_instance_path(instance) do
%h4 %h4
= fa_icon 'warning fw' if instance.failing? = fa_icon 'warning fw', title: t('admin.instances.availability.warning') if instance.failing?
= instance.domain = instance.domain
%small %small

View File

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