function attachmentThumbnail()

in public/scripts/main.js [27:43]


function attachmentThumbnail(t, options) {
  // Add gitlab logo to attachment thumbnail
  // for gitlab.com links
  if (utils.isUrlGitLab(options.url)) {
    return {
      url: options.url,
      title: options.name,
      image: {
        url: './images/attachment_logo.svg',
        logo: true
      }
    };
  }

  // Let trello handle the URL instead
  throw t.NotHandled('Not a handled URL');
}