Add prettified name (#3999)
This commit is contained in:
parent
2da9300e78
commit
407b69575e
|
@ -74,6 +74,9 @@ sub manage_selection {
|
||||||
foreach my $watcher (@{$results->{data}}) {
|
foreach my $watcher (@{$results->{data}}) {
|
||||||
my %application;
|
my %application;
|
||||||
$application{watcher_name} = $watcher->{'watcher_id:group'};
|
$application{watcher_name} = $watcher->{'watcher_id:group'};
|
||||||
|
$application{watcher_display_name} = $watcher->{'watcher_id:group'};
|
||||||
|
$application{watcher_display_name} .= '_' . $watcher->{'site:group'} if defined($watcher->{'site:group'});
|
||||||
|
$application{watcher_display_name} .= '_' . $watcher->{'gateway:group'} if defined($watcher->{'gateway:group'});
|
||||||
$application{site_name} = defined($watcher->{'site:group'}) ? $watcher->{'site:group'} : '';
|
$application{site_name} = defined($watcher->{'site:group'}) ? $watcher->{'site:group'} : '';
|
||||||
$application{gateway_name} = defined($watcher->{'gateway:group'}) ? $watcher->{'gateway:group'} : '';
|
$application{gateway_name} = defined($watcher->{'gateway:group'}) ? $watcher->{'gateway:group'} : '';
|
||||||
$application{wfa} = !defined($watcher->{'gateway:group'}) && !defined($watcher->{'site:group'}) ? '--wfa --verbose' : '';
|
$application{wfa} = !defined($watcher->{'gateway:group'}) && !defined($watcher->{'site:group'}) ? '--wfa --verbose' : '';
|
||||||
|
|
Loading…
Reference in New Issue