Module: check_mk
Branch: master
Commit: 497de8142521d3e0a04f794269f8fdaf72bb56c2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=497de8142521d3…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jul 26 13:22:13 2016 +0200
A bit longer fields for backup titles
---
web/htdocs/backup.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/backup.py b/web/htdocs/backup.py
index cd79a4c..f2c6564 100644
--- a/web/htdocs/backup.py
+++ b/web/htdocs/backup.py
@@ -733,6 +733,7 @@ class PageEditBackupJob(object):
("title", TextUnicode(
title = _("Title"),
allow_empty = False,
+ size = 64,
)),
("target", DropdownChoice(
title = _("Target"),
@@ -1165,6 +1166,7 @@ class PageEditBackupTarget(object):
("title", TextUnicode(
title = _("Title"),
allow_empty = False,
+ size = 64,
)),
("remote", CascadingDropdown(
title = _("Destination"),
@@ -1301,9 +1303,11 @@ class BackupTargetLocal(BackupTargetType):
"network share on your own."),
allow_empty = False,
validate = cls.validate_local_directory,
+ size = 64,
)),
("is_mountpoint", Checkbox(
- title = _("Is mountpoint"),
+ title = _("Mountpoint"),
+ label = _("Is mountpoint"),
help = _("When this is checked, the backup ensures that the
configured path "
"is a mountpoint. If there is no active mount on the
path, the backup "
"fails with an error message."),