Display enterprise ID in profile

This commit is contained in:
François Turbelin
2019-07-03 18:10:59 +02:00
parent 568d58405d
commit 97a401a307

View File

@@ -63,6 +63,13 @@
%span{ ng: { class: 'availability.toLowerCase()', hide: "checking" } }
{{ availability }}
%i{ ng: { class: "{'icon-ok-sign': availability == 'Available', 'icon-remove-sign': availability == 'Unavailable'}" } }
.row{ ng: { show: "Enterprise.sells == 'own' || Enterprise.sells == 'any'" } }
.three.columns.alpha
= f.label :permalink, t('.ofn_uid')
%div{'ofn-with-tip' => t('.ofn_uid_tip', link: spree.root_url)}
%a= t('admin.whats_this')
.six.columns
= f.text_field :id, { 'ng-model' => "Enterprise.id", 'ng-model-options' => "{ updateOn: 'default blur', debounce: {'default': 300, 'blur': 0} }", 'ng-disabled' => true }
.row{ ng: { show: "Enterprise.sells == 'own' || Enterprise.sells == 'any'" } }
.three.columns.alpha
%label= t('.link_to_front')