Projet

Général

Profil

0001-misc-use-a-warning-notice-for-message-about-fields-s.patch

Frédéric Péters, 05 juillet 2022 23:16

Télécharger (1,12 ko)

Voir les différences:

Subject: [PATCH] misc: use a warning notice for message about fields soft
 limit (#65546)

 wcs/admin/fields.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/admin/fields.py
351 351
                    r += htmltext(_('It is over system limits and no new fields can be added.'))
352 352
                r += htmltext('</div>')
353 353
            elif len(self.objectdef.fields) > self.fields_count_total_soft_limit:
354
                r += htmltext('<div class="errornotice">')
354
                r += htmltext('<div class="warningnotice">')
355 355
                r += htmltext(self.field_over_count_message % self.fields_count_total_soft_limit)
356 356
                r += htmltext(' ')
357 357
                r += htmltext(_('It is close to the system limits and no new fields should be added.'))
358
-