0001-trivial-fix-minor-issues-in-generated-HTML-12890.patch
wcs/admin/settings.py | ||
---|---|---|
427 | 427 |
except AttributeError: |
428 | 428 |
continue |
429 | 429 | |
430 |
r += htmltext('<dl> <dt><a href="identification/%s/">%s</a></dt> <dd>%s</dd>') % (
|
|
430 |
r += htmltext('<dt><a href="identification/%s/">%s</a></dt> <dd>%s</dd>') % ( |
|
431 | 431 |
method, _(method_admin.title), _(method_admin.label)) |
432 | 432 | |
433 |
r += htmltext('<dl> <dt><a href="session">%s</a></dt> <dd>%s</dd>') % (
|
|
433 |
r += htmltext('<dt><a href="session">%s</a></dt> <dd>%s</dd>') % ( |
|
434 | 434 |
_('Session'), _('Configure session management')) |
435 | 435 | |
436 | 436 |
roles = list(Role.select()) |
437 | 437 |
if roles: |
438 |
r += htmltext('<dl> <dt><a href="admin-permissions">%s</a></dt> <dd>%s</dd>') % (
|
|
438 |
r += htmltext('<dt><a href="admin-permissions">%s</a></dt> <dd>%s</dd>') % ( |
|
439 | 439 |
_('Admin Permissions'), _('Configure access to the administration interface')) |
440 | 440 | |
441 |
r += htmltext('</div>') |
|
441 |
r += htmltext('</dl></div>')
|
|
442 | 442 | |
443 | 443 |
r += htmltext('<div class="bo-block">') |
444 | 444 |
r += htmltext('<h2>%s</h2>') % _('Import / Export') |
wcs/backoffice/management.py | ||
---|---|---|
733 | 733 | |
734 | 734 |
r = TemplateIO(html=True) |
735 | 735 |
r += htmltext('<table id="listing" class="main">') |
736 |
r += htmltext('<thead>') |
|
736 |
r += htmltext('<thead><tr>')
|
|
737 | 737 |
if include_criticality_level: |
738 | 738 |
r += htmltext('<th data-field-sort-key="criticality_level"><span></span></th>') |
739 | 739 |
else: |
... | ... | |
746 | 746 |
r += htmltext('<th data-field-sort-key="last_update_time"><span>%s</span></th>') % _('Last Modified') |
747 | 747 |
r += htmltext('<th data-field-sort-key="user_name"><span>%s</span></th>') % _('User') |
748 | 748 |
r += htmltext('<th class="nosort"><span>%s</span></th>') % _('Status') |
749 |
r += htmltext('</thead>') |
|
749 |
r += htmltext('</tr></thead>')
|
|
750 | 750 |
r += htmltext('<tbody>') |
751 | 751 |
workflows = {} |
752 | 752 |
visited_objects = get_publisher().get_visited_objects(exclude_user=get_session().user) |
... | ... | |
802 | 802 |
'background-color: #%s !important; color: %s !important; }\n' % ( |
803 | 803 |
workflow_id, status_id, bg_colour, fg_colour)) |
804 | 804 |
r += htmltext('</style>') |
805 | ||
806 | 805 |
r += htmltext('</tbody></table>') |
807 | 806 | |
808 | 807 |
if (offset > 0) or (total_count > limit > 0): |
wcs/qommon/template.py | ||
---|---|---|
190 | 190 |
[if-any breadcrumb] |
191 | 191 |
<h1>[breadcrumb]</h1> |
192 | 192 |
[end] |
193 |
</h1> |
|
194 | 193 |
</div> |
195 | 194 |
<div id="main-content"> |
196 | 195 |
[body] |
197 |
- |