Merge pull request #4001 from pacodelaluna/3990-display-enterprise-id-in-profile

Display enterprise ID in profile
This commit is contained in:
Luis Ramos
2019-07-05 11:14:43 +01:00
committed by GitHub
2 changed files with 9 additions and 0 deletions

View File

@@ -71,3 +71,10 @@
.eight.columns.omega
= surround spree.root_url, "/shop" do
{{Enterprise.permalink}}
.row
.three.columns.alpha
= f.label :id, t('.ofn_uid')
%div{'ofn-with-tip' => t('.ofn_uid_tip')}
%a= t('admin.whats_this')
.six.columns
{{Enterprise.id}}

View File

@@ -705,6 +705,8 @@ en:
permalink_tip: "This permalink is used to create the url to your shop: %{link}your-shop-name/shop"
link_to_front: Link to shop front
link_to_front_tip: A direct link to your shopfront on the Open Food Network.
ofn_uid: OFN UID
ofn_uid_tip: The unique id used to identify the enterprise on Open Food Network.
shipping_methods:
name: Name
applies: Applies?