{% load i18n %}

<div id="user-rates">
  <h2>{% trans "Rates" %}</h2>
  <table>
    <tr>
      <td class="label">
        {% trans "Currency:" %}
      </td>
      <td>
        <span class="field-wrapper">
        {{ object.currency }}
        </span>
      </td>
    </tr>
    <tr>
      <td class="label">
        {% trans "Translation Rate:" %}
      </td>
      <td>
        <span class="field-wrapper">
        {{ object.rate }}
        </span>
        <span class="currency">{{ object.currency }}</span>
      </td>
    </tr>
    <tr>
      <td class="label">
        {% trans "Review Rate:" %}
      </td>
      <td>
        <span class="field-wrapper">
        {{ object.review_rate }}
        </span>
        <span class="currency">{{ object.currency }}</span>
      </td>
    </tr>
    {% if object.hourly_rate > 0 %}
    <tr>
      <td class="label">
        {% trans "Hourly Rate:" %}
      </td>
      <td>
        <span class="field-wrapper">
        {{ object.hourly_rate }}
        </span>
        <span class="currency">{{ object.currency }}</span>
      </td>
    </tr>
    {% endif %}
  </table>
</div>
