mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 08:12:26 +02:00
N°1094.2 Portal: Showing "icon" attribute on ServiceFamily and Service levels in "mosaic" mode of "services" BrowseBrick.
SVN:trunk[5038]
This commit is contained in:
@@ -187,7 +187,7 @@
|
||||
// - Adding stub div
|
||||
var textElem = $('<div></div>').addClass('mosaic-item-text');
|
||||
// - Adding image
|
||||
if( (item.image !== undefined) && (item.image !== '') )
|
||||
if( (item.image !== undefined) && (item.image !== '') && (item.image !== null) )
|
||||
{
|
||||
iItemFlags += 4;
|
||||
aElem.append( $('<div></div>').addClass('mosaic-item-image').append( $('<img />').attr('src', item.image) ) );
|
||||
|
||||
@@ -677,10 +677,19 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/****************/
|
||||
/* - Mosaic mode */
|
||||
/* Note: Some of the CSS is factorised in the "Tree mode" part */
|
||||
/****************/
|
||||
/****************************************************************/
|
||||
/* - Mosaic mode */
|
||||
/* */
|
||||
/* Note: Some of the CSS is factorised in the "Tree mode" part */
|
||||
/* */
|
||||
/* Note: .mosaic-item-layout-x classes are for different */
|
||||
/* presentation modes. Like in binary, add the values to know */
|
||||
/* which class to use. */
|
||||
/* - 1 is for name */
|
||||
/* - 2 is for description */
|
||||
/* - 4 is for image */
|
||||
/* eg. .mosaic-item-layout-5 when just name and image */
|
||||
/****************************************************************/
|
||||
#brick_content_mosaic{
|
||||
position: relative;
|
||||
padding: 10px 10px 1px 10px;
|
||||
|
||||
Reference in New Issue
Block a user