Skip to content

Commit ff4756c

Browse files
committed
feat: show intra user title id in admin title overview
1 parent 4285509 commit ff4756c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/admin/titles.njk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<th scope="col">Title</th>
1919
<th scope="col">Intra Title ID</th>
2020
<th scope="col">Current user(s)</th>
21+
<th scope="col">Intra User Title ID</th>
2122
<th scope="col text-end" style="text-align: end;">Options</th> <!-- for some reason the text-end class doesn't work here -->
2223
</thead>
2324
<tbody>
@@ -29,6 +30,7 @@
2930
<td>{{ title.intra_title_id if title.intra_title_id else "N/A" }}</td>
3031
{# <td>{{ title.title_users[0].user.intra_user.login if title.title_users.length > 0 else "N/A" }}</td> #}
3132
<td>{{ title.title_users | keyjoin('user.intra_user.login', ', ') }}</td>
33+
<td>{{ title.title_users | keyjoin('id', ', ') }}</td>
3234
<td class="text-end">
3335
<a href="/admin/titles/{{ title.id }}/edit" class="btn btn-sm btn-outline-secondary">Edit</a>
3436
</td>

0 commit comments

Comments
 (0)