diff --git a/runbot/models/build_config.py b/runbot/models/build_config.py index 0a4aa155..5fac462a 100644 --- a/runbot/models/build_config.py +++ b/runbot/models/build_config.py @@ -52,6 +52,7 @@ class Config(models.Model): group = fields.Many2one('runbot.build.config', 'Configuration group', help="Group of config's and config steps") group_name = fields.Char('Group name', related='group.name') step_ids = fields.Many2many('runbot.build.config.step', compute='_compute_step_ids') + warning = fields.Html('Warning message', help="Warning message to display on build page") @api.model_create_multi def create(self, vals_list): diff --git a/runbot/templates/build.xml b/runbot/templates/build.xml index cf65c083..33ff3c5d 100644 --- a/runbot/templates/build.xml +++ b/runbot/templates/build.xml @@ -234,6 +234,14 @@ + +
+
+
+ +
+
+
diff --git a/runbot/views/config_views.xml b/runbot/views/config_views.xml index 646e46c8..8d63cbcc 100644 --- a/runbot/views/config_views.xml +++ b/runbot/views/config_views.xml @@ -20,6 +20,7 @@ +