class PersonTable(tables.Table): id = tables.LinkColumn('entities:person_detail', args=[A('pk')], verbose_name='ID') name = tables.LinkColumn('entities:person_detail', args=[A('pk')], verbose_name='Name') is_main_person = tables.TemplateColumn( "{% for x in record.is_main_person.all %}\ <a href='{{ x.get_absolute_url }}'>{{ x }} </a>|{% endfor %}", orderable=False) is_adm_person = tables.TemplateColumn( "{% for x in record.is_adm_person.all %}\ <a href='{{ x.get_absolute_url }}'>{{ x }} </a>|{% endfor %}", orderable=False) is_related_person = tables.TemplateColumn( "{% for x in record.is_related_person.all %}\ <a href='{{ x.get_absolute_url }}'>{{ x }} </a>|{% endfor %}", orderable=False) is_other_person = tables.TemplateColumn( "{% for x in record.is_other_person.all %}\ <a href='{{ x.get_absolute_url }}'>{{ x }} </a>|{% endfor %}", orderable=False) profession = tables.ManyToManyColumn() merge = MergeColumn(verbose_name='keep | remove', accessor='pk') class Meta: model = Person sequence = ( 'id', 'written_name', ) attrs = {"class": "table table-responsive table-hover"}
class SkosLabelTable(tables.Table): name = tables.LinkColumn('vocabs:skoslabel_detail', args=[A('pk')]) merge = MergeColumn(verbose_name='keep | remove', accessor='pk') class Meta: model = SkosLabel sequence = ['id', 'name'] attrs = {"class": "table table-hover table-striped table-condensed"}
class WallpaintingInventoryTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') class Meta: model = WallpaintingInventory sequence = ('id',) attrs = {"class": "table table-responsive table-hover"}
class Document4DPuzzleIDTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') class Meta: model = Document4DPuzzleID sequence = ('id',) attrs = {"class": "table table-responsive table-hover"}
class ArchiveINFTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') class Meta: model = ArchiveINF sequence = ('id',) attrs = {"class": "table table-responsive table-hover"}
class SkosConceptSchemeTable(tables.Table): dc_title = tables.LinkColumn('vocabs:skosconceptscheme_detail', args=[A('pk')]) merge = MergeColumn(verbose_name='keep | remove', accessor='pk') class Meta: model = SkosConceptScheme sequence = ['id', 'dc_title'] attrs = {"class": "table table-hover table-striped table-condensed"}
class Fundinventar4DPuzzleIDTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') relatedto = tables.columns.ManyToManyColumn() class Meta: model = Fundinventar4DPuzzleID sequence = ('id',) attrs = {"class": "table table-responsive table-hover"}
class TrpDocumentTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') col_list = tables.columns.ManyToManyColumn() class Meta: model = TrpDocument sequence = ('id', ) attrs = {"class": "table table-responsive table-hover"}
class FundinventarMaterialprobenTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') excavation_object_id = tables.columns.ManyToManyColumn() class Meta: model = FundinventarMaterialproben sequence = ('id',) attrs = {"class": "table table-responsive table-hover"}
class ArchaeologicalObject4DPuzzleIDTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') excavation_object_id = tables.columns.ManyToManyColumn() class Meta: model = ArchaeologicalObject4DPuzzleID sequence = ('id',) attrs = {"class": "table table-responsive table-hover"}
class InventorybooksTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') find_inventory_number = tables.columns.ManyToManyColumn() class Meta: model = Inventorybooks sequence = ('id',) attrs = {"class": "table table-responsive table-hover"}
class GeophysicsTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') excavation_object_id = tables.columns.ManyToManyColumn() class Meta: model = Geophysics sequence = ('id',) attrs = {"class": "table table-responsive table-hover"}
class ThreeDimensionalModelTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') excavation_object_id = tables.columns.ManyToManyColumn() archaeological_object_id = tables.columns.ManyToManyColumn() class Meta: model = ThreeDimensionalModel sequence = ('id',) attrs = {"class": "table table-responsive table-hover"}
class StratenIDTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') area = tables.columns.ManyToManyColumn() containing_stratum_id = tables.columns.ManyToManyColumn() class Meta: model = StratenID sequence = ('id',) attrs = {"class": "table table-responsive table-hover"}
class ProtocolsTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') document_type = tables.columns.ManyToManyColumn() archaeological_object_id = tables.columns.ManyToManyColumn() class Meta: model = Protocols sequence = ('id',) attrs = {"class": "table table-responsive table-hover"}
class SkosConceptTable(tables.Table): broader_concept = tables.Column(verbose_name='Broader Term') pref_label = tables.LinkColumn('vocabs:skosconcept_detail', args=[A('pk')]) all_schemes = tables.Column(verbose_name='in SkosScheme', orderable=False) merge = MergeColumn(verbose_name='keep | remove', accessor='pk') class Meta: model = SkosConcept sequence = [ 'broader_concept', 'pref_label', 'all_schemes', 'namespace' ] attrs = {"class": "table table-hover table-striped table-condensed"}
class FundinventarKonvolutnummernTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') find_material = tables.columns.ManyToManyColumn() excavation_object_id = tables.columns.ManyToManyColumn() archaeological_object_id = tables.columns.ManyToManyColumn() class Meta: model = FundinventarKonvolutnummern sequence = ('id',) attrs = {"class": "table table-responsive table-hover"}
class PrisonStationTable(tables.Table): name = tables.LinkColumn('detentions:prisonstation_detail', args=[A('pk')], verbose_name='Kriegsgefangenenlager') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') class Meta: model = PrisonStation sequence = ( 'name', 'station_id', 'located_in_place', ) attrs = {"class": "table table-responsive table-hover"}
class FielddrawingTable(tables.Table): id = tables.LinkColumn(verbose_name='ID') merge = MergeColumn(verbose_name='keep | remove', accessor='pk') document_type = tables.columns.ManyToManyColumn() creator_metadata = tables.columns.ManyToManyColumn() creator_original = tables.columns.ManyToManyColumn() original_material = tables.columns.ManyToManyColumn() amendment_drawn_by = tables.columns.ManyToManyColumn() drawer_monogram = tables.columns.ManyToManyColumn() excavation_object_id = tables.columns.ManyToManyColumn() archaeological_object_id = tables.columns.ManyToManyColumn() excavation_id = tables.columns.ManyToManyColumn() class Meta: model = Fielddrawing sequence = ('id',) attrs = {"class": "table table-responsive table-hover"}