fix trans in table
This commit is contained in:
parent
1a4bb0845d
commit
a66d9d1b91
|
@ -1,4 +1,5 @@
|
|||
import django_tables2 as tables
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from idhub.models import Rol, Event
|
||||
from idhub_auth.models import User
|
||||
|
||||
|
@ -18,9 +19,9 @@ class RolesTable(tables.Table):
|
|||
|
||||
|
||||
class DashboardTable(tables.Table):
|
||||
type = tables.Column(verbose_name="Event")
|
||||
message = tables.Column(verbose_name="Description")
|
||||
created = tables.Column(verbose_name="Date")
|
||||
type = tables.Column(verbose_name=_("Event"))
|
||||
message = tables.Column(verbose_name=_("Description"))
|
||||
created = tables.Column(verbose_name=_("Date"))
|
||||
|
||||
class Meta:
|
||||
model = Event
|
||||
|
|
Loading…
Reference in New Issue