Projet

Général

Profil

0001-wcs-rename-Forms-in-your-care-cell-to-Forms-to-proce.patch

Thomas Noël, 12 novembre 2019 09:40

Télécharger (2,06 ko)

Voir les différences:

Subject: [PATCH] wcs: rename "Forms in your care" cell to "Forms to process"
 (#37567)

 combo/apps/wcs/migrations/0017_wcscareformscell.py | 2 +-
 combo/apps/wcs/models.py                           | 2 +-
 combo/apps/wcs/templates/combo/wcs/care_forms.html | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
combo/apps/wcs/migrations/0017_wcscareformscell.py
32 32
                ('page', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data.Page')),
33 33
            ],
34 34
            options={
35
                'verbose_name': 'Forms in your care',
35
                'verbose_name': 'Forms to process',
36 36
            },
37 37
            bases=(models.Model, combo.apps.wcs.models.WcsBlurpMixin),
38 38
        ),
combo/apps/wcs/models.py
512 512
    cache_duration = 600
513 513

  
514 514
    class Meta:
515
        verbose_name = _('Forms in your care')
515
        verbose_name = _('Forms to process')
516 516

  
517 517

  
518 518
@register_cell_class
combo/apps/wcs/templates/combo/wcs/care_forms.html
1 1
{% load i18n combo %}
2 2
{% block cell-content %}
3 3
{% for slug, forms in care_forms.items %}
4
  <h2>{% trans "Forms in your care" %} - {{ forms.title }}</h2>
4
  <h2>{% trans "Forms to process" %} - {{ forms.title }}</h2>
5 5
  {% if forms.data %}
6 6
  <table id="listing" class="main">
7 7
    <thead>
8
-