old_contents: import React from 'react';
  import PropTypes from 'prop-types';
  
  import { areWeFunYet, translate as $t } from '../../helpers';
  import ExternalLink from './external-link.js';
  
  let showLicense = areWeFunYet();
  
  const LoadingMessage = props => {
      let message = props.message || $t('client.spinner.generic');
  
      let license = showLicense ? (
          <div>
              {$t('client.spinner.license')}
              <ExternalLink href="https://liberapay.com/Kresus">Kresus</ExternalLink>
          </div>
      ) : null;
  
      return (
          <div className="loading-modal">
              <h3>{$t('client.spinner.title')}</h3>
              <div>
                  <div className="spinner" />
                  <div>{message}</div>
                  {license}
              </div>
          </div>
      );
  };
  
  LoadingMessage.propTypes = {
      // Message indicating why we're doing background loading (and the UI is
      // frozen).
      message: PropTypes.string
  };
  
  export default LoadingMessage;
  
new_contents: import React from 'react';
  import PropTypes from 'prop-types';
  
  import { areWeFunYet, translate as $t } from '../../helpers';
  import ExternalLink from './external-link.js';
  import DisplayIf from './display-if';
  
  let showLicense = areWeFunYet();
  
  const LoadingMessage = props => {
      let message = props.message || $t('client.spinner.generic');
  
      return (
          <div className="loading-modal">
              <h3>{$t('client.spinner.title')}</h3>
              <div>
                  <div className="spinner" />
                  <div>{message}</div>
                  <DisplayIf condition={showLicense}>
                      <div>
                          {$t('client.spinner.license')}
                          <ExternalLink href="https://liberapay.com/Kresus">Kresus</ExternalLink>
                      </div>
                  </DisplayIf>
              </div>
          </div>
      );
  };
  
  LoadingMessage.propTypes = {
      // Message indicating why we're doing background loading (and the UI is
      // frozen).
      message: PropTypes.string
  };
  
  export default LoadingMessage;
  
subject: Use DisplayIf in the licence.