summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-firewall/po/uk/firewall.po
diff options
context:
space:
mode:
authorPaul Donald <newtwen+github@gmail.com>2024-11-24 01:50:40 +0100
committerPaul Donald <newtwen+github@gmail.com>2024-11-24 15:55:24 +0100
commit22cccf7b042e537b1e1b99fdae8bf18fa646b997 (patch)
tree32469ad4771ddd4c88fa638eb5101b08dd73160f /applications/luci-app-firewall/po/uk/firewall.po
parent2ce85291bdd70accbb1863bfb32ddf18bcb7b3fe (diff)
luci-base: add clone action for tables
This augments CBITableSection, affecting types which extend it, i.e. CBIGridSection. Setting a table 'cloneable' property to true reveals a column of clone buttons who designate the current entry as a clone source. Clicking the clone button duplicates the data of that section_id into a new entry, while the new entry gets a new and unique SID. E.g. s = m.section(form.GridSection, 'foo', _('Bar')); ... s.cloneable = true; Clone and add actions differ: clone will not open a dialogue. That is a user exercise. One may set the put_next flag to false to put the new clone last, or true to put it next (after the clone source). This uses a new uci action which fulfills the behaviour: clone It is possible for the uci clone action to be used independently. See also: https://forum.openwrt.org/t/add-clone-button-to-luci-configurations-esp-in-firewall/196232 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Diffstat (limited to 'applications/luci-app-firewall/po/uk/firewall.po')
0 files changed, 0 insertions, 0 deletions