X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/766f5705ecb9cd56adfbffd94c871959bb64c6fd..04ab0ddb7ad8b5f3a42a432a6675a652ae720056:/SL/Presenter/Record.pm diff --git a/SL/Presenter/Record.pm b/SL/Presenter/Record.pm index 2bbaaf611..368a05d7c 100644 --- a/SL/Presenter/Record.pm +++ b/SL/Presenter/Record.pm @@ -75,7 +75,12 @@ sub record_list { if ($with_columns{record_link_direction}) { push @columns, { title => $::locale->text('Link direction'), - data => sub { $_[0]->{_record_link_direction} eq 'from' ? $::locale->text('Row was source for current record') : $::locale->text('Row was created from current record') }, + data => sub { + $_[0]->{_record_link_depth} > 1 + ? $::locale->text('Row was linked to another record') + : $_[0]->{_record_link_direction} eq 'from' + ? $::locale->text('Row was source for current record') + : $::locale->text('Row was created from current record') }, }; }