Commit 3b9ecf4d authored by Claude Paroz's avatar Claude Paroz

Provide direct link to login from message (Fixes #666523)

parent 9ec00c88
......@@ -8,7 +8,7 @@ class LanguageInline(admin.TabularInline):
extra = 0
class TeamAdmin(admin.ModelAdmin):
search_fields = ('name',)
search_fields = ('name', 'description')
list_display = ('description', 'use_workflow')
inlines = [ LanguageInline ]
......
......@@ -215,7 +215,8 @@ $(document).ready(function() {
</table>
</form>
{% else %}
{% blocktrans with language.team.get_description as team_name %}You need to be authenticated and to be member of the {{ team_name }} team.{% endblocktrans %}
{% url login as login_url %}
{% blocktrans with team_name=language.team.get_description %}You need <a href="{{ login_url }}">to be authenticated</a> and member of the {{ team_name }} team.{% endblocktrans %}
{% endif %}
{% endif %}
{% else %}
......
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