Commit 191f789c authored by Kevin Falcone's avatar Kevin Falcone
Browse files

Allow modification of which types of links are shown

There's a callback to add data at the end of the Links portlet, but
nothing to allow you to change what's display.  This provides a callback
that would let you remove (for example) the Parents from the listing, so
that you can list them in a separate portlet later, with a custom
parent 8c84e38b
......@@ -65,6 +65,7 @@
my @display = qw(DependsOn DependedOnBy MemberOf Members RefersTo ReferredToBy);
$m->callback( %ARGS, CallbackName => 'ChangeDisplay', display => \@display );
my %labels = (
DependsOn => loc('Depends on'),
DependedOnBy => loc('Depended on by'),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment