mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
c51bce7358
refs. https://github.com/TryGhost/Team/issues/205 Major update to Ghost Admin UI including: - improved general consistency (typography, colors and contrast, UI components, icons) - new design for post and pages lists, improved discoverability of filters - search moved to modal - account menu is decoupled from ghost logo - further usability fixes
12 lines
364 B
JavaScript
12 lines
364 B
JavaScript
import {helper} from '@ember/component/helper';
|
|
import {htmlSafe} from '@ember/string';
|
|
|
|
export function integrationLogoStyle([integration]/*, hash*/) {
|
|
if (integration.iconImage) {
|
|
let style = `background-image:url(${integration.iconImage});background-size:36px;`;
|
|
return htmlSafe(style);
|
|
}
|
|
}
|
|
|
|
export default helper(integrationLogoStyle);
|