tables: remove the official_recipient table column from the InboxTable
also update translations refs #3941
This commit is contained in:
parent
b6f537c7db
commit
05b9aab7e0
|
@ -8,7 +8,7 @@ msgstr ""
|
|||
"Project-Id-Version: docbow 1.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-09-17 21:20+0200\n"
|
||||
"PO-Revision-Date: 2013-09-18 14:35+0200\n"
|
||||
"PO-Revision-Date: 2013-11-22 14:24+0100\n"
|
||||
"Last-Translator: Benjamin Dauvergne <bdauvergne@entrouvert.com>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
|
@ -750,10 +750,6 @@ msgstr "Envoyé le"
|
|||
msgid "No message"
|
||||
msgstr "Aucun document"
|
||||
|
||||
#: tables.py:76 tables.py:101
|
||||
msgid "official_recipient_header"
|
||||
msgstr "Destinataire officiel"
|
||||
|
||||
#: tables.py:84 tables.py:109
|
||||
msgid "sender_header"
|
||||
msgstr "Envoyé par"
|
||||
|
|
|
@ -71,9 +71,6 @@ class OutboxTable(tables.Table):
|
|||
|
||||
|
||||
class InboxCsvTable(tables.Table):
|
||||
official_recipient = tables.Column(
|
||||
accessor='owner.get_full_name',
|
||||
verbose_name=_('official_recipient_header'))
|
||||
filetype = tables.Column(
|
||||
accessor='document.filetype',
|
||||
verbose_name=_('type_header'))
|
||||
|
@ -88,17 +85,12 @@ class InboxCsvTable(tables.Table):
|
|||
|
||||
class Meta:
|
||||
model = models.Mailbox
|
||||
fields = ('official_recipient',)
|
||||
attrs = {"class": "paleblue mailbox-table"}
|
||||
empty_text = _('No message')
|
||||
|
||||
|
||||
class InboxTable(tables.Table):
|
||||
seen = tables.BooleanColumn(accessor='seen', yesno=u' ,✔', verbose_name=' ')
|
||||
official_recipient = tables.Column(
|
||||
accessor='owner.get_full_name',
|
||||
order_by=('owner__last_name', 'owner__first_name', 'owner__username'),
|
||||
verbose_name=_('official_recipient_header'))
|
||||
filetype = tables.Column(
|
||||
accessor='document.filetype',
|
||||
verbose_name=_('type_header'))
|
||||
|
|
Loading…
Reference in New Issue