diff --git a/app/views/katello/sync_management/index.html.erb b/app/views/katello/sync_management/index.html.erb index c24361baf0d..8a4bfd8899f 100644 --- a/app/views/katello/sync_management/index.html.erb +++ b/app/views/katello/sync_management/index.html.erb @@ -1,16 +1,18 @@ -<%= javascript 'katello/sync_management' %> +<% content_for(:javascripts) do -%> + <%= javascript_include_tag 'katello/sync_management' %> -<%= javascript do %> - localize({ - "cancel": "<%= escape_javascript(_('Cancel')) %>", - "cancelled": "<%= escape_javascript(_('Sync Canceled')) %>", - "error": "<%= escape_javascript(_('Error')) %>", - "complete": "<%= escape_javascript(_('Sync complete.')) %>", - "no_start_time": "<%= escape_javascript(_('No start time currently available.')) %>" - }); + <% end %> <% if Organization.current -%>