diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js index 46e68e8..383b84a 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js @@ -681,7 +681,7 @@ const showConfigModal = async (command, title) => { E('button', { 'class': 'btn', 'id': 'copy-button', - 'click': ev => copyToClipboard(document.getElementById('modal-content-pre').innerText, ev.target) + 'click': ev => copyToClipboard('```txt\n' + document.getElementById('modal-content-pre').innerText + '\n```', ev.target) }, _('Copy to Clipboard')), E('button', { 'class': 'btn', @@ -847,7 +847,7 @@ const createStatusPanel = (title, status, buttons, extraData = {}) => { ButtonFactory.createModalButton({ label: E('strong', _('Global check')), command: 'global_check', - title: _('Click here for all the info') + title: _('Global check') }), ButtonFactory.createModalButton({ label: 'View Logs',