Merge pull request #13794 from leela/report-view-print-row-numbering
style: Add row numbering for report view print format
This commit is contained in:
commit
e79fd6d6a2
1 changed files with 4 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
<!-- heading -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th> # </th>
|
||||
{% for col in columns %}
|
||||
{% if col.name && col._id !== "_check" %}
|
||||
<th
|
||||
|
|
@ -30,6 +31,9 @@
|
|||
<tbody>
|
||||
{% for row in data %}
|
||||
<tr style="height: 30px">
|
||||
<td {% if row.bold == 1 %} style="font-weight: bold" {% endif %}>
|
||||
<span> {{ row._index + 1 }} </span>
|
||||
</td>
|
||||
{% for col in columns %}
|
||||
{% if col.name && col._id !== "_check" %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue