-recreate_index_text=s_("Changes won't take place until the index is %{link_start}recreated%{link_end}.").html_safe%{link_start: recreate_index_link_start,link_end: '</a>'.html_safe}
-recreate_index_text=_("Changes won't take place until the index is %{link_start}recreated%{link_end}.").html_safe%{link_start: recreate_index_link_start,link_end: '</a>'.html_safe}
%h4.gl-alert-title=s_('There is a halted Elasticsearch migration')
=html_escape_once(s_('Check the elasticsearch.log file to debug why the migration was halted and make any changes before retrying the migration. When you fix the cause of the failure, click "Retry migration", and the migration will be scheduled to be retried in the background.')).html_safe
%h4.gl-alert-title=_('There is a halted Elasticsearch migration')
=html_escape_once(_('Check the elasticsearch.log file to debug why the migration was halted and make any changes before retrying the migration. When you fix the cause of the failure, click "Retry migration", and the migration will be scheduled to be retried in the background.')).html_safe
=link_tos_('Retry migration'),admin_elasticsearch_retry_migration_path(version: migration.version),class: 'btn gl-alert-action btn-warning gl-button',disabled: @elasticsearch_reindexing_task&.in_progress?,data: {confirm: _('Are you sure you want to retry this migration?')},method: :post
=link_to_('Retry migration'),admin_elasticsearch_retry_migration_path(version: migration.version),class: 'btn gl-alert-action btn-warning gl-button',disabled: @elasticsearch_reindexing_task&.in_progress?,data: {confirm: _('Are you sure you want to retry this migration?')},method: :post