{# vim: set ts=2 et sts=2 sw=2: #}
{% if user.is_authenticated() %}
  {% if is_watching_approved %}
    <form action="{{ url('wiki.approved_unwatch') }}" method="post">
      {{ csrf() }}
      <input type="hidden" name="locale" value="{{ locale }}" />
      {% if locale == 'en-US' %}
        {# L10n: Please localize 'English' here. #}
        <input type="submit" class="link-btn" value="{{ _('Stop getting emailed when English revisions are approved', 'english') }}" />
      {% else %}
        {# L10n: Please replace 'English' with your language. #}
        <input type="submit" class="link-btn" value="{{ _('Stop getting emailed when English revisions are approved', 'locale') }}" />
      {% endif %}
    </form>
  {% else %}
    <form action="{{ url('wiki.approved_watch') }}" method="post">
      {{ csrf() }}
      <input type="hidden" name="locale" value="{{ locale }}" />
      {% if locale == 'en-US' %}
        {# L10n: Please localize 'English' here. #}
        <input type="submit" class="link-btn" value="{{ _('Get emailed when English revisions are approved', 'english') }}" />
      {% else %}
        {# L10n: Please replace 'English' with your language. #}
        <input type="submit" class="link-btn" value="{{ _('Get emailed when English revisions are approved', 'locale') }}" />
      {% endif %}
    </form>
  {% endif %}
{% endif %}
