.
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ class SeriesTable(tables.Table):
|
|||||||
class Meta:
|
class Meta:
|
||||||
model = Series
|
model = Series
|
||||||
template_name = "django_tables2/bootstrap4.html"
|
template_name = "django_tables2/bootstrap4.html"
|
||||||
fields = ("modality", "examination", "description", "author")
|
fields = ("modality","description", "examination", "plane", "contrast", "author")
|
||||||
sequence = ("view", "popup", "images", "case")
|
sequence = ("view", "popup", "images", "case")
|
||||||
|
|
||||||
def render_popup(self, value, record):
|
def render_popup(self, value, record):
|
||||||
|
|||||||
+1
-1
@@ -109,7 +109,7 @@ class LongSeriesTable(tables.Table):
|
|||||||
model = LongSeries
|
model = LongSeries
|
||||||
template_name = "django_tables2/bootstrap4.html"
|
template_name = "django_tables2/bootstrap4.html"
|
||||||
fields = ("modality", "examination", "description", "author")
|
fields = ("modality", "examination", "description", "author")
|
||||||
sequence = ("view", "popup", "images")
|
sequence = ("view", "popup", "images", "long")
|
||||||
|
|
||||||
def render_popup(self, value, record):
|
def render_popup(self, value, record):
|
||||||
print(self)
|
print(self)
|
||||||
|
|||||||
Reference in New Issue
Block a user