{% extends 'base.html' %}

{% block title %}{{ _('Bad customers') }} - MetaBrainz Foundation{% endblock %}

{% block content %}
  <div id="bad-customers">

    <h1 class="page-title">{{ _('Our not-so-favorite commercial data supporters') }}</h1>

    <p>
      {{ _('The following companies use our data, but have declined to support us on an ongoing basis.') }}
    </p>
    <p>
      {{ _('All of our projects require support from end-user donations and commercial support. Our free
      data-sets provide incredible value to these companies giving them a business advantage.
      We believe that companies that use our data to conduct their business should provide financial
      support so that we may continue to cover our expenses and pay our staff.') }}
    </p>
    <p>
      {{ _('If a company you like appears on this list, please contact that company and ask them why
      they have declined to support us. If you are with a company listed below and would like to
      get off this list, you can do so by <a href="%(account_type_url)s">signing up
      for support</a>.', account_type_url=url_for('supporters.account_type')) }}
    </p>
    <p>
      {{ _('Do you know of other companies using our data? We\'d love to know and ask them for support!
      Please <a href="%(contact_url)s">let us know</a>!', contact_url=url_for('index.contact')) }}
    </p>

    {% if bad_supporters %}
      <div class="supporters-grid">
        {% for supporter in bad_supporters %}
          <div class="supporter">
            <div class="logo-container">
              {% if supporter.website_url %}<a href="{{ supporter.website_url }}" rel="nofollow">{% endif %}
              {% if supporter.logo_filename %}
                <img class="logo" src="{{ url_for('static', filename='img/logos/supporters/'+supporter.logo_filename) }}"/>
              {% elif supporter.org_logo_url %}
                <img class="logo" src="{{ supporter.org_logo_url }}"/>
              {% else %}
                <div class="name">{{ supporter.org_name }}</div>
              {% endif %}
              {% if supporter.website_url %}</a>{% endif %}
            </div>
            {% if supporter.data_usage_desc %}
              <div class="description">{{ supporter.data_usage_desc }}</div>
            {% endif %}
          </div>
        {% endfor %}
      </div>
    {% else %}
      <div class="well well-lg">
        <p><strong>{{ _('Nice!!') }}</strong></p>
        <p>{{ _('There are currently no not-so-favorite commercial data supporters!') }}</p>
        <p>
          {{ _('... either that, or maybe we\'re working to convince some companies to do the
          "right thing"... :)') }}
        </p>
      </div>
    {% endif %}

  </div>
{% endblock %}
