Skip to content

Commit

Permalink
add quota scope verbose name in instance table
Browse files Browse the repository at this point in the history
  • Loading branch information
elias-boulharts committed Sep 18, 2023
1 parent 11eca52 commit 88e96ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion service_catalog/tables/instance_tables.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

from django.utils.html import format_html
from django_tables2 import TemplateColumn, LinkColumn, CheckBoxColumn
from django_tables2 import TemplateColumn, LinkColumn, CheckBoxColumn, Column
from django_tables2.utils import A

from Squest.utils.squest_table import SquestTable
Expand All @@ -9,6 +9,7 @@

class InstanceTable(SquestTable):
selection = CheckBoxColumn(accessor='pk', attrs={"th__input": {"onclick": "toggle(this)"}})
quota_scope__name = Column(verbose_name='Quota scope')
name = LinkColumn()
date_available = TemplateColumn(template_name='generics/custom_columns/generic_date_format.html')
last_updated = TemplateColumn(template_name='generics/custom_columns/generic_date_format.html')
Expand Down

0 comments on commit 88e96ec

Please sign in to comment.