Development
This commit is contained in:
parent
e07815d135
commit
aa1d63626b
1 changed files with 6 additions and 2 deletions
|
|
@ -644,7 +644,11 @@ def collect_tokens():
|
|||
snap_desc = e(snap.get('description', ''))
|
||||
before_val = snap.get('before')
|
||||
after_val = snap.get('after')
|
||||
snap_id = e(_uuid[:8])
|
||||
snap_tag = (f'<div class="tag-list"><span class="tag" data-tooltip="{e(_uuid)}">'
|
||||
f'<span class="tl-full">{e(_uuid[:8])}</span>'
|
||||
f'<span class="tl-short">{e(_uuid[:8])}</span>'
|
||||
f'<span class="tl-min">{e(_uuid[:8])}</span>'
|
||||
f'</span></div>')
|
||||
snap_user = e(snap.get('user', ''))
|
||||
hist_rows += (f'<tr class="row-expandable" {_hist_onclick}>'
|
||||
f'<td class="table-cell"><input type="checkbox" name="selected_uuids" value="{e(_uuid)}"/></td>'
|
||||
|
|
@ -652,7 +656,7 @@ def collect_tokens():
|
|||
f'<td class="table-cell">{snap_desc}</td>'
|
||||
f'<td class="table-cell">{_render_snap_val(before_val)}</td>'
|
||||
f'<td class="table-cell">{_render_snap_val(after_val)}</td>'
|
||||
f'<td class="table-cell">{snap_id}</td>'
|
||||
f'<td class="table-cell">{snap_tag}</td>'
|
||||
f'<td class="table-cell">{snap_user}</td>'
|
||||
f'</tr>'
|
||||
f'{_snap_expand_row(before_val, after_val, 7)}')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue