Emails in the user list now urlized.

Fixes bug 999391.

Change-Id: I51f019e87abc98c3d598448e2037f535d5ec9141
This commit is contained in:
Anton V. Yanchenko 2012-07-30 10:00:46 +00:00
parent 6b3545ef70
commit e410ee9ff6

View File

@ -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'))