0001-backoffice-add-info-style-to-no-fields-actions-messa.patch
wcs/admin/fields.py | ||
---|---|---|
336 | 336 |
r += htmltext('</h2>') |
337 | 337 |
r += get_session().display_message() |
338 | 338 |
if not self.objectdef.fields: |
339 |
r += htmltext('<p>%s</p>') % _('There are not yet any fields for this form.')
|
|
339 |
r += htmltext('<div class="infonotice">%s</div>') % _('There are not yet any fields for this form.')
|
|
340 | 340 |
return r.getvalue() |
341 | 341 | |
342 | 342 |
def index_bottom(self): |
wcs/admin/workflows.py | ||
---|---|---|
419 | 419 |
r += htmltext('(<a href="display" rel="popup">%s</a>)') % _('change') |
420 | 420 |
r += htmltext('</div>') |
421 | 421 | |
422 |
r += htmltext('<div class="bo-block">') |
|
423 | 422 |
if not self.status.items: |
424 |
r += htmltext('<p>%s</p>') % _('There are not yet any items in this status.')
|
|
423 |
r += htmltext('<div class="infonotice">%s</div>') % _('There are not yet any items in this status.')
|
|
425 | 424 |
else: |
425 |
r += htmltext('<div class="bo-block">') |
|
426 | 426 |
if str(self.workflow.id).startswith(str('_')): |
427 | 427 |
r += htmltext('<ul id="items-list" class="biglist">') |
428 | 428 |
else: |
... | ... | |
446 | 446 |
r += htmltext('</p>') |
447 | 447 |
r += htmltext('</li>') |
448 | 448 |
r += htmltext('</ul>') |
449 |
r += htmltext('</div>') # bo-block |
|
449 |
r += htmltext('</div>') # bo-block
|
|
450 | 450 | |
451 | 451 |
source_status = [] |
452 | 452 |
for status in self.workflow.possible_status: |
453 |
- |