From: Fritz D. Ansel Date: Wed, 11 Aug 2021 22:23:07 +0000 (+0200) Subject: samba4: fix the layout of textbox X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=f533f9d2258578a7536bcada54f7ca9a5cfe8a55;p=openwrt-luci.git samba4: fix the layout of textbox without this, only 50% of screen where used Signed-off-by: Fritz D. Ansel --- diff --git a/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js b/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js index 268aad86d3..a0b31cb30a 100644 --- a/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js +++ b/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js @@ -29,7 +29,7 @@ return view.extend({ s.anonymous = true; s.tab('general', _('General Settings')); - s.tab('template', _('Edit Template')); + s.tab('template', _('Edit Template'), _('Edit the template that is used for generating the samba configuration.')); o = s.taboption('general', widgets.NetworkSelect, 'interface', _('Interface'), _('Listen only on the given interface or, if unspecified, on lan')); @@ -78,7 +78,7 @@ return view.extend({ } o = s.taboption('template', form.TextValue, '_tmpl', - _('Edit the template that is used for generating the samba configuration.'), + null, _("This is the content of the file '/etc/samba/smb.conf.template' from which your samba configuration will be generated. \ Values enclosed by pipe symbols ('|') should not be changed. They get their values from the 'General Settings' tab.")); o.rows = 20;