Skip to content

Commit

Permalink
Merge branch 'develop' into feature/text_annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWatzinger committed Oct 7, 2024
2 parents 8945f8f + c03216a commit 96556f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions openatlas/display/base_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ def add_button_network(self) -> None:
def add_tabs(self) -> None:
super().add_tabs()
for name in [
'source', 'event', 'actor', 'place', 'feature',
'stratigraphic_unit', 'artifact', 'file', 'type']:
'source', 'event', 'actor', 'place', 'artifact', 'file',
'type']:
self.tabs[name] = Tab(name, entity=self.entity)
for link_ in self.entity.get_links('P67'):
range_ = link_.range
Expand Down
4 changes: 2 additions & 2 deletions openatlas/display/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ def add_tabs(self) -> None:
super().add_tabs()
entity = self.entity
for name in [
'actor', 'artifact', 'feature', 'event', 'place',
'stratigraphic_unit', 'text', 'reference', 'file']:
'actor', 'artifact', 'event', 'place', 'text', 'reference',
'file']:
self.tabs[name] = Tab(name, entity=entity)
for text in entity.get_linked_entities('P73', types=True):
self.tabs['text'].table.rows.append([
Expand Down

0 comments on commit 96556f8

Please sign in to comment.