# HG changeset patch # User osimons # Date 1247527721 0 # Node ID f916b88926f55a49baae77f7f04a766cb36fad4c # Parent 7f181708d048d855cfc71274f99a0010284f369b 0.6dev: If configuration display label is deleted, no name would show and the build UI would fold across a couple of lines. This should see to it that the configuration always has a name available. diff --git a/bitten/web_ui.py b/bitten/web_ui.py --- a/bitten/web_ui.py +++ b/bitten/web_ui.py @@ -481,7 +481,7 @@ 'build': {}} config = BuildConfig.fetch(self.env, build.config, db=db) data['build']['config'] = { - 'name': config.label, + 'name': config.label or config.name, 'href': req.href.build(config.name) }