Revision 786437b6
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/Presenter/RequirementSpecTextBlock.pm | ||
---|---|---|
14 | 14 |
sub requirement_spec_text_block_jstree_data { |
15 | 15 |
my ($self, $text_block, %params) = @_; |
16 | 16 |
|
17 |
my $class = 'text-block-context-menu'; |
|
17 |
my $class = 'text-block-context-menu tooltip';
|
|
18 | 18 |
$class .= ' flagged' if $text_block->is_flagged; |
19 | 19 |
|
20 | 20 |
return { |
21 | 21 |
data => $text_block->title || '', |
22 | 22 |
metadata => { id => $text_block->id, type => 'text-block' }, |
23 |
attr => { id => "tb-" . $text_block->id, href => $params{href} || '#', class => $class }, |
|
23 |
attr => { id => "tb-" . $text_block->id, href => $params{href} || '#', class => $class, title => $text_block->content_excerpt },
|
|
24 | 24 |
}; |
25 | 25 |
} |
26 | 26 |
|
Auch abrufbar als: Unified diff
Pflichtenheftitems & -textblöcke: Tooltips im Baum mit Inhaltsauszug anzeigen