diff --git a/src/c3nav/editor/templates/editor/changeset.html b/src/c3nav/editor/templates/editor/changeset.html index 00be036e..15625390 100644 --- a/src/c3nav/editor/templates/editor/changeset.html +++ b/src/c3nav/editor/templates/editor/changeset.html @@ -50,25 +50,29 @@ {% elif changeset.state == 'rejected' or changeset.state == 'finallyrejected' %} {% with user=changeset.last_state_update.user comment=changeset.last_state_update.comment %} {% url 'editor.users.detail' pk=changeset.last_state_update.user.pk as user_url %} -

{% blocktrans %}Your changes were rejected by {{ user }}:{% endblocktrans %}

+ {% if changeset.state == 'rejected' %} +

{% blocktrans %}These changes were rejected by {{ user }} with the followed comment:{% endblocktrans %}

+ {% else %} +

{% blocktrans %}These changes were finally rejected by {{ user }} with the followed comment:{% endblocktrans %}

+ {% endif %}

{% blocktrans %}“{{ comment }}”{% endblocktrans %}

- {% if changeset.author == request.user %} - {% if changeset.state == 'rejected' %} -

{% blocktrans %}You can now edit your changes and propose them again.{% endblocktrans %}

- {% else %} -

{% blocktrans %}This rejection is final.{% endblocktrans %}

- {% endif %} + {% if changeset.author == request.user and changeset.state == 'rejected' %} +

{% blocktrans %}You can now edit your changes and propose them again.{% endblocktrans %}

{% endif %} {% endwith %} {% elif changeset.state == 'applied' %} {% with user=changeset.last_state_update.user %} {% url 'editor.users.detail' pk=changeset.last_state_update.user.pk as user_url %} -

{% blocktrans %}Your changes were applied by {{ user }}.{% endblocktrans %}

+

{% blocktrans %}These changes were applied by {{ user }}.{% endblocktrans %}

{% endwith %} {% endif %} {% if changeset.author == request.user and active %} {% url 'editor.users.detail' pk=request.user.pk as user_url %} -

{% blocktrans %}In the meantime, if you want to create a new change set, you can do so in your profile.{% endblocktrans %}

+ {% if not changeset.closed %} +

{% blocktrans %}In the meantime, if you want to create a new change set, you can do so in your profile.{% endblocktrans %}

+ {% else %} +

{% blocktrans %}If you want to create a new change set, you can do so in your profile.{% endblocktrans %}

+ {% endif %} {% endif %} {{ changeset.last_state_update.datetime|date:"DATETIME_FORMAT" }}