mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4481 Fix activity panel in printable object pages
This commit is contained in:
@@ -256,15 +256,21 @@ div.explain-printable button{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.printable-content #ibo-page-container, .printable-content #ibo-center-container {
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
.printable-content #ibo-center-container > *{
|
||||
height: auto;
|
||||
}
|
||||
.printable-content .ibo-activity-panel{
|
||||
width: 100%;
|
||||
padding: 24px 24px 16px 16px;
|
||||
padding: 24px 8px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.printable-content #ibo-side-content {
|
||||
margin-left: 16px;
|
||||
margin-right: 16px;
|
||||
margin: 0;
|
||||
background-color: var(--ibo-body-background-color);
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ $('[data-role="ibo-activity-panel--filter"]').on('click', function(){
|
||||
if(sTabType=="caselog")
|
||||
{
|
||||
const sTabTypeCaseLog = $(this).attr('data-entry-caselog-attribute-code');
|
||||
$(this).closest('.ibo-activity-panel').find('[data-entry-group-origin="'+sTabType+':'+sTabTypeCaseLog+'"]').toggle();
|
||||
$(this).closest('.ibo-activity-panel').find('[data-entry-type="'+sTabType+'"][data-entry-caselog-attribute-code="'+sTabTypeCaseLog+'"]').toggle();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -12,3 +12,4 @@ $('[data-role="ibo-activity-panel--filter"]').on('click', function(){
|
||||
}
|
||||
$(this).toggleClass('strikethrough');
|
||||
});
|
||||
$('.ibo-activity-panel').find('.ibo-activity-panel--entry-group').removeClass('ibo-is-hidden');
|
||||
|
||||
Reference in New Issue
Block a user