mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-16 07:19:13 +08:00
Add tooltip to thumbnail view?
This commit is contained in:
@@ -29,11 +29,11 @@ define( [ 'utils/utils', 'mvc/ui/ui-misc', 'mvc/ui/ui-tabs' ], function( Utils,
|
||||
_.each( this.app.types, function( type, type_id ) {
|
||||
if ( !type.datatypes || type.datatypes.indexOf( self.app.dataset.file_ext ) != -1 ) {
|
||||
if ( type.keywords.indexOf( 'default' ) !== -1 ) {
|
||||
$el.append( self._templateThumbnailItem( {
|
||||
$el.append( $( self._templateThumbnailItem( {
|
||||
id : type_id,
|
||||
title : ( type.zoomable ? '<span class="fa fa-search-plus"/>' : '' ) + type.title + ' (' + type.library + ')',
|
||||
url : remote_root + 'src/visualizations/' + self.app.split( type_id ) + '/logo.png'
|
||||
}));
|
||||
})).tooltip( { title: type.description, placement: 'bottom' } ) );
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user