Projet

Général

Profil

0001-admin-note-in-datasource-preview-label-that-only-som.patch

Frédéric Péters, 25 octobre 2016 10:58

Télécharger (1,05 ko)

Voir les différences:

Subject: [PATCH] admin: note in datasource preview label that only some are
 displayed (#13725)

 wcs/admin/data_sources.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/admin/data_sources.py
126 126
            if data_source_type in ('json', 'formula'):
127 127
                items = get_structured_items(self.datasource.data_source)
128 128
                if items:
129
                    r += htmltext('<h3>%s</h3>') % _('Preview')
129
                    r += htmltext('<h3>%s</h3>') % _('Preview (first items only)')
130 130
                    r += htmltext('<div class="bo-block data-source-preview"><ul>')
131 131
                    r += htmltext('<ul>')
132 132
                    additional_keys = set()
133
-