diff --git a/app/views/admin/enterprises/form/connected_apps/_vine.html.haml b/app/views/admin/enterprises/form/connected_apps/_vine.html.haml index 1413e28676f..1905b37bd7d 100644 --- a/app/views/admin/enterprises/form/connected_apps/_vine.html.haml +++ b/app/views/admin/enterprises/form/connected_apps/_vine.html.haml @@ -21,10 +21,12 @@ -# This is only seen by super-admins: %em= t(".need_to_be_manager") unless managed_by_user?(enterprise) + %hr + .connected-app__description + = t ".description_html" - else .connected-app__vine-content .vine-disable = button_to t(".disable"), admin_enterprise_connected_app_path(connected_app.id, enterprise_id: enterprise.id), method: :delete - %hr - .connected-app__description - = t ".description_html" + .connected-app__vine-link + = t ".link_html" diff --git a/config/locales/en.yml b/config/locales/en.yml index 360965ef4ee..9786955a1bf 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1470,10 +1470,7 @@ en:
To enable VINE for your enterprise, enter your API key and secret.
-- VINE - -
+ link_html: VINE api_parameters_empty: "Please enter an API key and a secret" api_parameters_error: "Check you entered your API key and secret correctly, contact your instance manager if the error persists" connection_error: "API connection error, please try again"