Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

Commit

Permalink
some improvements in team-form
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonios E. Garnelis committed Apr 6, 2012
1 parent 1db6f45 commit f48c986
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions transifex/templates/teams/team_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h2 class="pagetitle with_description">
{% if team_create %}
{% blocktrans %}Create team{% endblocktrans %}</span>
{% else %}
{% blocktrans with language.name as language_name and language.code as language_code %}{{ language_name }} <sup class="entry_metalink">{{ language_code }}</sup>{% endblocktrans %}</span>
{% blocktrans with language.name as language_name and language.code as language_code %}Edit {{ language_name }} <sup class="entry_metalink">{{ language_code }}</sup> team{% endblocktrans %}</span>
{% endif %}
{% endblock%}
</h2>
Expand All @@ -54,6 +54,8 @@ <h2 class="pagetitle with_description">
{% block team_menu %}
{% endblock %}



{% block content_main %}
{% get_permission "project_perm.submit_translations" for request.user and project as "can_submit_translations" %}
{% get_permission "project_perm.maintain" for request.user and project as "is_maintainer" %}
Expand Down Expand Up @@ -106,10 +108,11 @@ <h3 class="sh-label">{% trans "Edit language-team" %}</h3>
<h3 class="sh-label">{% trans "Delete language-team" %}</h3>
</div>

<p style="margin-bottom:1em;">{% trans "Do you wish to delete the team? Translations will not be lost:" %}</p>
<p><a class="i16 delete buttonized" href="{% url team_delete project.slug language.code %}">{% trans "Delete language" %}</a>
</p>
<p style="margin-bottom:1em;">{% trans "Do you wish to delete the team?" %}</p>
<p class="i16 infomsg">{% blocktrans %}After deleting the team of this language its translations will remain. <br/>The language will be deleted only after deleting the translations of all resources.{% endblocktrans %}</p>
<p style="margin-top:2em;"><a class="i16 delete buttonized" href="{% url team_delete project.slug language.code %}">{% trans "Delete language" %}</a>
</p>


{% endif %}
{% endif %}
Expand Down

0 comments on commit f48c986

Please sign in to comment.