Projet

Général

Profil

0001-misc-add-social-network-submission-channel-as-an-opt.patch

Frédéric Péters, 15 novembre 2020 19:45

Télécharger (926 octets)

Voir les différences:

Subject: [PATCH] misc: add "social network" submission channel as an option
 (#47942)

 wcs/formdata.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
wcs/formdata.py
359 359
                ('phone', _('Phone')),
360 360
                ('counter', _('Counter')),
361 361
                ('fax', _('Fax')),
362
                ('web', _('Web'))])
362
                ('web', _('Web')),
363
                ('social-network', _('Social Network'))])
363 364

  
364 365
    def get_submission_channel_label(self):
365 366
        return self.get_submission_channels().get(self.submission_channel) or _('Web')
366
-