]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/lib/CCircle.pm
ebl Add role checks for media
[bacula/bacula] / gui / bweb / lib / CCircle.pm
index 4b1ef12c7f63a9af3f8f737393a94d1449613ee5..0b27c646f14dd24ba016c3ab48615f7999388af8 100644 (file)
@@ -280,7 +280,7 @@ sub finalize
     my ($self) = @_ ;
 
     $self->add_part($self->{min_total}, 
-                   "other < $self->{min_percent}",
+                   "other < $self->{min_percent}%",
                    $black) ; 
 
 }
@@ -312,7 +312,7 @@ sub push_image_map
 {
     my ($self, $label, $tips, $start_degrees, $end_degrees) = @_ ;
 
-    if ($label =~ /^other </) {
+    if ($label =~ /^other .*</) {
        if (!$self->{display_other}) {
            return ;
        }
@@ -471,7 +471,7 @@ sub draw_labels
 
        next if ($level > $self->{max_label_level}) ;
 
-       next if (!$self->{display_other} and $label =~ /^other </) ;
+       next if (!$self->{display_other} and $label =~ /^other .*</) ;
 
        my $dx = ($x - $self->{center_x})*($last_level - $level) + $x ;
        my $dy = ($y - $self->{center_y})*($last_level - $level) + $y ;