Development
This commit is contained in:
parent
fa8a5c1b45
commit
e07815d135
1 changed files with 9 additions and 2 deletions
|
|
@ -601,11 +601,18 @@ def collect_tokens():
|
||||||
rows = ''
|
rows = ''
|
||||||
for cmd, entries in groups.items():
|
for cmd, entries in groups.items():
|
||||||
users = ', '.join(sorted({u for _, u in entries if u and u != 'unknown'}))
|
users = ', '.join(sorted({u for _, u in entries if u and u != 'unknown'}))
|
||||||
required_by = ', '.join(_uuid for _uuid, _ in entries)
|
req_tags = ''.join(
|
||||||
|
f'<span class="tag" data-tooltip="{_uuid}">'
|
||||||
|
f'<span class="tl-full">{_uuid[:8]}</span>'
|
||||||
|
f'<span class="tl-short">{_uuid[:8]}</span>'
|
||||||
|
f'<span class="tl-min">{_uuid[:8]}</span>'
|
||||||
|
f'</span>'
|
||||||
|
for _uuid, _ in entries
|
||||||
|
)
|
||||||
rows += (f'<tr>'
|
rows += (f'<tr>'
|
||||||
f'<td class="table-cell">{e(cmd)}</td>'
|
f'<td class="table-cell">{e(cmd)}</td>'
|
||||||
f'<td class="table-cell">{e(users)}</td>'
|
f'<td class="table-cell">{e(users)}</td>'
|
||||||
f'<td class="table-cell">{e(required_by)}</td>'
|
f'<td class="table-cell"><div class="tag-list">{req_tags}</div></td>'
|
||||||
f'</tr>')
|
f'</tr>')
|
||||||
pending_html = (
|
pending_html = (
|
||||||
'<table class="data-table">'
|
'<table class="data-table">'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue