From: Sven Roederer Date: Thu, 15 Jul 2021 12:54:21 +0000 (+0200) Subject: luci-mod-network: clarify device settings "Delete" button X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=1b58decdabbbf631c89bdd56b63429b6ccc7fb8d;p=openwrt-luci.git luci-mod-network: clarify device settings "Delete" button Use proper label text "Unconfigure" for button which "Remove related device settings". Ref: #5090, #5092 Signed-off-by: Sven Roederer --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index f7b8ddcafe..720cefe059 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -1273,7 +1273,7 @@ return view.extend({ var trEl = this.super('renderRowActions', [ section_id, _('Configure…') ]), deleteBtn = trEl.querySelector('button:last-child'); - deleteBtn.firstChild.data = _('Reset'); + deleteBtn.firstChild.data = _('Unconfigure'); deleteBtn.setAttribute('title', _('Remove related device settings from the configuration')); deleteBtn.disabled = section_id.match(/^dev:/) ? true : null;