Opened 17 years ago
Closed 17 years ago
#8272 closed defect (bug) (fixed)
2.7-Link categories table appearance issue
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.7 | Priority: | normal |
| Severity: | normal | Version: | 2.7 |
| Component: | Administration | Keywords: | link categories table |
| Focuses: | Cc: |
Description
The appearance of the Link Categories table is inconsistent with the appearance of the Categories table - the rows are not alternating color (see screenshot).
I checked the generated source code for each table. The Categories table code is generated as follows (portions removed for brevity):
{{{<tbody id="the-list" class="list:cat">
<tr id="cat-1" class="iedit alternate"><th scope="row" class="check-column"> </th><td class="name column-name">.....</td>
</tr> <tr id="cat-5" class="iedit"><th scope="row" class="check-column"><input name="delete[]" value="5" type="checkbox"></th><td class="name column-name">...</td><td class="posts column-posts num">0</td>
</tr></tbody>}}}
The Link Categories table code is generated as follows (portions removed for brevity):
{{{<tbody id="the-list" class="list:link-cat">
<tr id="link-cat-4" class="iedit alternate"><th scope="row" class="check-column"><input name="delete[]" value="4" type="checkbox"></th><td class="name column-name">...</td></tr>
<tr id="link-cat-2" class="iedit alternate"><th scope="row" class="check-column"> </th><td class="name column-name">...</td></tr></tbody>}}}
Notice that the Categories table has the class iedit alternate for the first row, then the class iedit for the second row.
The Link Categories table has the class iedit alternate for both rows - the code to alternate the row colors isn't working properly.
(In [9758]) Fix link categories row alternation. fixes #8272