From e410ee9ff609e5747228da252197de4eff1c6d25 Mon Sep 17 00:00:00 2001 From: "Anton V. Yanchenko" Date: Mon, 30 Jul 2012 10:00:46 +0000 Subject: [PATCH] Emails in the user list now urlized. Fixes bug 999391. Change-Id: I51f019e87abc98c3d598448e2037f535d5ec9141 --- horizon/dashboards/syspanel/users/tables.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/horizon/dashboards/syspanel/users/tables.py b/horizon/dashboards/syspanel/users/tables.py index e67387d2a..bc405175d 100644 --- a/horizon/dashboards/syspanel/users/tables.py +++ b/horizon/dashboards/syspanel/users/tables.py @@ -1,5 +1,6 @@ import logging +from django.template import defaultfilters from django.utils.translation import ugettext_lazy as _ from horizon import api @@ -104,7 +105,8 @@ class UsersTable(tables.DataTable): ("false", False) ) name = tables.Column('name', verbose_name=_('User Name')) - email = tables.Column('email', verbose_name=_('Email')) + email = tables.Column('email', verbose_name=_('Email'), + filters=[defaultfilters.urlize]) # Default tenant is not returned from Keystone currently. #default_tenant = tables.Column('default_tenant', # verbose_name=_('Default Project'))