projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Letter: is_sales nicht in init_letter clobbern
[kivitendo-erp.git]
/
SL
/
Presenter
/
RequirementSpecTextBlock.pm
diff --git
a/SL/Presenter/RequirementSpecTextBlock.pm
b/SL/Presenter/RequirementSpecTextBlock.pm
index
dc045ff
..
8a209d3
100644
(file)
--- a/
SL/Presenter/RequirementSpecTextBlock.pm
+++ b/
SL/Presenter/RequirementSpecTextBlock.pm
@@
-14,10
+14,13
@@
use SL::JSON;
sub requirement_spec_text_block_jstree_data {
my ($self, $text_block, %params) = @_;
sub requirement_spec_text_block_jstree_data {
my ($self, $text_block, %params) = @_;
+ my $class = 'text-block-context-menu tooltip';
+ $class .= ' flagged' if $text_block->is_flagged;
+
return {
data => $text_block->title || '',
metadata => { id => $text_block->id, type => 'text-block' },
return {
data => $text_block->title || '',
metadata => { id => $text_block->id, type => 'text-block' },
- attr => { id => "tb-" . $text_block->id, href => $params{href} || '#', class =>
'text-block-context-menu'
},
+ attr => { id => "tb-" . $text_block->id, href => $params{href} || '#', class =>
$class, title => $text_block->content_excerpt
},
};
}
};
}