Projet

Général

Profil

0001-use-proper-capitalisation-for-column-titles-22581.patch

Frédéric Péters, 16 mars 2018 15:41

Télécharger (1,05 ko)

Voir les différences:

Subject: [PATCH] use proper capitalisation for column titles (#22581)

 fargo/fargo/tables.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fargo/fargo/tables.py
9 9
    '''Display the list of documents of the user'''
10 10
    size = tables.TemplateColumn(template_code='{{ record.document.content.size|filesizeformat }}',
11 11
                                 orderable=False,
12
                                 verbose_name=_('size').title())
13
    created = tables.DateTimeColumn(verbose_name=_('creation date').title())
12
                                 verbose_name=_('Size'))
13
    created = tables.DateTimeColumn(verbose_name=_('Creation Date'))
14 14

  
15 15
    class Meta:
16 16
        model = models.Document
17
-