Commit ee83b274 authored by Claude Paroz's avatar Claude Paroz

Show message on vertimus page if workflow not active

parent 84dbc533
......@@ -9,6 +9,7 @@ class LanguageInline(admin.TabularInline):
class TeamAdmin(admin.ModelAdmin):
search_fields = ('name',)
list_display = ('description', 'use_workflow')
inlines = [ LanguageInline ]
def formfield_for_dbfield(self, db_field, **kwargs):
......
......@@ -187,6 +187,8 @@ $(document).ready(function() {
{% blocktrans with language.team.get_description as team_name %}You need to be authenticated and to be member of the {{ team_name }} team.{% endblocktrans %}
{% endif %}
{% endifequal %}
{% else %}
<p><img src="{{ MEDIA_URL }}img/warn.png"/>&nbsp;{% trans "This team is not using the Vertimus translation workflow." %}</p>
{% endif %}
{% endblock %}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment