luci-mod-system: add help text to the led-trigger timer
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
be19a5bcdd
commit
b5ea85b724
1 changed files with 6 additions and 2 deletions
|
@ -8,11 +8,15 @@ return baseclass.extend({
|
||||||
addFormOptions(s){
|
addFormOptions(s){
|
||||||
var o;
|
var o;
|
||||||
|
|
||||||
o = s.option(form.Value, 'delayon', _('On-State Delay'));
|
o = s.option(form.Value, 'delayon', _('On-State Delay'),
|
||||||
|
_('How long (in milliseconds) the LED should be on')
|
||||||
|
);
|
||||||
o.modalonly = true;
|
o.modalonly = true;
|
||||||
o.depends('trigger', 'timer');
|
o.depends('trigger', 'timer');
|
||||||
|
|
||||||
o = s.option(form.Value, 'delayoff', _('Off-State Delay'));
|
o = s.option(form.Value, 'delayoff', _('Off-State Delay'),
|
||||||
|
_('How long (in milliseconds) the LED should be off')
|
||||||
|
);
|
||||||
o.modalonly = true;
|
o.modalonly = true;
|
||||||
o.depends('trigger', 'timer');
|
o.depends('trigger', 'timer');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue