aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/feed/update.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-08-18 12:10:55 +0200
committerGravatar GitHub <noreply@github.com> 2022-08-18 12:10:55 +0200
commit1603c10bbab61b4a84380c8a9d5aa77536a4f1c7 (patch)
tree36ee76291c8e877d7421641ae7a38570ff65f8ce /app/views/helpers/feed/update.phtml
parent4f111c5b305078a641d13ac41ce7d798e3cc19ce (diff)
XPath ability to define the UID manually (#4507)
* XPath ability to define the UID manually * Fix error in i18n
Diffstat (limited to 'app/views/helpers/feed/update.phtml')
-rw-r--r--app/views/helpers/feed/update.phtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml
index 0e4a34a76..02dcb29e6 100644
--- a/app/views/helpers/feed/update.phtml
+++ b/app/views/helpers/feed/update.phtml
@@ -475,6 +475,14 @@
data-leave-validation="<?= $xpath['itemCategories'] ?? '' ?>"><?= $xpath['itemCategories'] ?? '' ?></textarea>
</div>
</div>
+ <div class="form-group">
+ <label class="group-name" for="xPathItemUid"><small><?= _t('sub.feed.kind.html_xpath.relative') ?></small><br />
+ <?= _t('sub.feed.kind.html_xpath.item_uid') ?></label>
+ <div class="group-controls">
+ <textarea class="valid-xpath w100" name="xPathItemUid" id="xPathItemUid" rows="2" cols="64" spellcheck="false"
+ data-leave-validation="<?= $xpath['itemUid'] ?? '' ?>"><?= $xpath['itemUid'] ?? '' ?></textarea>
+ </div>
+ </div>
</fieldset>
<div class="form-group form-actions">
<div class="group-controls">