Implement showing tokens

This commit is contained in:
Mark Veidemanis 2022-08-13 01:02:45 +01:00
parent 73792d724d
commit 18448dce5a
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,7 @@
{% load i18n %}
{% load django_tables2_bulma_template %}
{% load static %}
{% load joinsep %}
{% block table-wrapper %}
<div id="drilldown-table" class="container box column-shifter-container" style="position:relative; z-index:1;">
{% block table %}
@ -126,6 +127,10 @@
<i class="fa-solid fa-file-slash"></i>
</span>
</td>
{% elif column.name == 'tokens' %}
<td class="{{ column.name }}">
{{ cell|joinsep:',' }}
</td>
{% elif column.name == 'src' %}
<td class="{{ column.name }}">
<a class="has-text-link is-underlined"

View File

@ -65,5 +65,6 @@ class DrilldownTable(Table):
realname = Column()
server = Column()
mtype = Column()
tokens = Column()
template_name = "ui/drilldown/table_results.html"
paginate_by = settings.DRILLDOWN_RESULTS_PER_PAGE