Expose setting for POD image URL

This commit is contained in:
Lance Edgar 2023-02-10 12:21:55 -06:00
parent 21669b5f4a
commit 2d2c94e4d7
2 changed files with 11 additions and 0 deletions

View file

@ -36,6 +36,15 @@
</b-checkbox> </b-checkbox>
</b-field> </b-field>
<b-field label="POD Image Base URL"
style="max-width: 50%;">
<b-input name="rattail.pod.pictures.gtin.root_url"
v-model="simpleSettings['rattail.pod.pictures.gtin.root_url']"
:disabled="!simpleSettings['tailbone.products.show_pod_image']"
@input="settingsNeedSaved = true">
</b-input>
</b-field>
</div> </div>
<h3 class="block is-size-3">Handling</h3> <h3 class="block is-size-3">Handling</h3>

View file

@ -2119,6 +2119,8 @@ class ProductView(MasterView):
{'section': 'tailbone', {'section': 'tailbone',
'option': 'products.show_pod_image', 'option': 'products.show_pod_image',
'type': bool}, 'type': bool},
{'section': 'rattail.pod',
'option': 'pictures.gtin.root_url'},
# handling # handling
{'section': 'rattail', {'section': 'rattail',