mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
Apply changes from https://github.com/openfoodfoundation/openfoodnetwork/pull/13016
This commit is contained in:
@@ -21,12 +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"
|
||||
- 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
|
||||
%p= t ".description"
|
||||
%b= link_to(t(".link_label_html"), t(".link_url"), target: "_blank")
|
||||
.connected-app__vine-link
|
||||
%b= link_to(t(".link_label_html"), t(".link_url"), target: "_blank")
|
||||
|
||||
@@ -1446,7 +1446,7 @@ en:
|
||||
vine_secret: "VINE secret"
|
||||
description: "To enable VINE for your enterprise, enter your API key and secret."
|
||||
link_label_html: "VINE <i class=\"icon-external-link\"></i>"
|
||||
link_url: "https://apropos.coopcircuits.fr"
|
||||
link_url: "https://vine.openfoodnetwork.org.au"
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user