Added badge on organisations showing if they are a user or not

This commit is contained in:
Tom Bloor 2017-11-20 13:02:07 +00:00
parent baffe144f3
commit c3ae7a2615
2 changed files with 9 additions and 0 deletions

View file

@ -123,4 +123,10 @@ sub to_bool {
}
}
sub user {
my $self = shift;
return $self->entity->user;
}
1;