Implement showing tokens
This commit is contained in:
parent
73792d724d
commit
18448dce5a
|
@ -2,6 +2,7 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load django_tables2_bulma_template %}
|
{% load django_tables2_bulma_template %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
{% load joinsep %}
|
||||||
{% block table-wrapper %}
|
{% block table-wrapper %}
|
||||||
<div id="drilldown-table" class="container box column-shifter-container" style="position:relative; z-index:1;">
|
<div id="drilldown-table" class="container box column-shifter-container" style="position:relative; z-index:1;">
|
||||||
{% block table %}
|
{% block table %}
|
||||||
|
@ -126,6 +127,10 @@
|
||||||
<i class="fa-solid fa-file-slash"></i>
|
<i class="fa-solid fa-file-slash"></i>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
{% elif column.name == 'tokens' %}
|
||||||
|
<td class="{{ column.name }}">
|
||||||
|
{{ cell|joinsep:',' }}
|
||||||
|
</td>
|
||||||
{% elif column.name == 'src' %}
|
{% elif column.name == 'src' %}
|
||||||
<td class="{{ column.name }}">
|
<td class="{{ column.name }}">
|
||||||
<a class="has-text-link is-underlined"
|
<a class="has-text-link is-underlined"
|
||||||
|
|
|
@ -65,5 +65,6 @@ class DrilldownTable(Table):
|
||||||
realname = Column()
|
realname = Column()
|
||||||
server = Column()
|
server = Column()
|
||||||
mtype = Column()
|
mtype = Column()
|
||||||
|
tokens = Column()
|
||||||
template_name = "ui/drilldown/table_results.html"
|
template_name = "ui/drilldown/table_results.html"
|
||||||
paginate_by = settings.DRILLDOWN_RESULTS_PER_PAGE
|
paginate_by = settings.DRILLDOWN_RESULTS_PER_PAGE
|
||||||
|
|
Loading…
Reference in New Issue