5024: add 'Last Change' column on selectors, when missing
This commit is contained in:
parent
2e3724f2f3
commit
7544d66cb1
@ -65,7 +65,8 @@ class SelectCitation(BaseSelector):
|
|||||||
def get_column_titles(self):
|
def get_column_titles(self):
|
||||||
return [
|
return [
|
||||||
(_('Source: Title or Citation: Volume/Page'), 350, BaseSelector.TEXT, 0),
|
(_('Source: Title or Citation: Volume/Page'), 350, BaseSelector.TEXT, 0),
|
||||||
(_('ID'), 75, BaseSelector.TEXT, 1)
|
(_('ID'), 75, BaseSelector.TEXT, 1),
|
||||||
|
(_('Last Change'), 150, BaseSelector.TEXT, 5),
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_from_handle_func(self):
|
def get_from_handle_func(self):
|
||||||
|
@ -64,7 +64,8 @@ class SelectEvent(BaseSelector):
|
|||||||
(_('Type'), 75, BaseSelector.TEXT, 2),
|
(_('Type'), 75, BaseSelector.TEXT, 2),
|
||||||
(_('Main Participants'), 250, BaseSelector.TEXT, 7),
|
(_('Main Participants'), 250, BaseSelector.TEXT, 7),
|
||||||
(_('Date'), 150, BaseSelector.TEXT, 3),
|
(_('Date'), 150, BaseSelector.TEXT, 3),
|
||||||
(_('Place'), 150, BaseSelector.TEXT, 4)
|
(_('Place'), 150, BaseSelector.TEXT, 4),
|
||||||
|
(_('Last Change'), 150, BaseSelector.TEXT, 6),
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_from_handle_func(self):
|
def get_from_handle_func(self):
|
||||||
|
@ -62,6 +62,7 @@ class SelectFamily(BaseSelector):
|
|||||||
(_('ID'), 75, BaseSelector.TEXT, 0),
|
(_('ID'), 75, BaseSelector.TEXT, 0),
|
||||||
(_('Father'), 200, BaseSelector.TEXT, 1),
|
(_('Father'), 200, BaseSelector.TEXT, 1),
|
||||||
(_('Mother'), 200, BaseSelector.TEXT, 2),
|
(_('Mother'), 200, BaseSelector.TEXT, 2),
|
||||||
|
(_('Last Change'), 150, BaseSelector.TEXT, 7),
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_from_handle_func(self):
|
def get_from_handle_func(self):
|
||||||
|
@ -67,7 +67,8 @@ class SelectNote(BaseSelector):
|
|||||||
(_('Preview'), 350, BaseSelector.TEXT, 0),
|
(_('Preview'), 350, BaseSelector.TEXT, 0),
|
||||||
(_('ID'), 75, BaseSelector.TEXT, 1),
|
(_('ID'), 75, BaseSelector.TEXT, 1),
|
||||||
(_('Type'), 100, BaseSelector.TEXT, 2),
|
(_('Type'), 100, BaseSelector.TEXT, 2),
|
||||||
(_('Tags'), 100, BaseSelector.TEXT, 4)
|
(_('Tags'), 100, BaseSelector.TEXT, 4),
|
||||||
|
(_('Last Change'), 150, BaseSelector.TEXT, 5),
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_from_handle_func(self):
|
def get_from_handle_func(self):
|
||||||
|
@ -72,6 +72,7 @@ class SelectObject(BaseSelector):
|
|||||||
(_('Title'), 350, BaseSelector.TEXT, 0),
|
(_('Title'), 350, BaseSelector.TEXT, 0),
|
||||||
(_('ID'), 75, BaseSelector.TEXT, 1),
|
(_('ID'), 75, BaseSelector.TEXT, 1),
|
||||||
(_('Type'), 75, BaseSelector.TEXT, 2),
|
(_('Type'), 75, BaseSelector.TEXT, 2),
|
||||||
|
(_('Last Change'), 150, BaseSelector.TEXT, 7),
|
||||||
]
|
]
|
||||||
|
|
||||||
def _local_init(self):
|
def _local_init(self):
|
||||||
|
@ -69,6 +69,7 @@ class SelectPlace(BaseSelector):
|
|||||||
(_('State'), 75, BaseSelector.TEXT, 6),
|
(_('State'), 75, BaseSelector.TEXT, 6),
|
||||||
(_('Country'), 75, BaseSelector.TEXT, 7),
|
(_('Country'), 75, BaseSelector.TEXT, 7),
|
||||||
(_('Parish'), 75, BaseSelector.TEXT, 9),
|
(_('Parish'), 75, BaseSelector.TEXT, 9),
|
||||||
|
(_('Last Change'), 150, BaseSelector.TEXT, 13),
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_from_handle_func(self):
|
def get_from_handle_func(self):
|
||||||
|
@ -60,7 +60,8 @@ class SelectRepository(BaseSelector):
|
|||||||
def get_column_titles(self):
|
def get_column_titles(self):
|
||||||
return [
|
return [
|
||||||
(_('Title'), 350, BaseSelector.TEXT, 0),
|
(_('Title'), 350, BaseSelector.TEXT, 0),
|
||||||
(_('ID'), 75, BaseSelector.TEXT, 1)
|
(_('ID'), 75, BaseSelector.TEXT, 1),
|
||||||
|
(_('Last Change'), 150, BaseSelector.TEXT, 13),
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_from_handle_func(self):
|
def get_from_handle_func(self):
|
||||||
|
@ -60,7 +60,8 @@ class SelectSource(BaseSelector):
|
|||||||
def get_column_titles(self):
|
def get_column_titles(self):
|
||||||
return [
|
return [
|
||||||
(_('Title'), 350, BaseSelector.TEXT, 0),
|
(_('Title'), 350, BaseSelector.TEXT, 0),
|
||||||
(_('ID'), 75, BaseSelector.TEXT, 1)
|
(_('ID'), 75, BaseSelector.TEXT, 1),
|
||||||
|
(_('Last Change'), 150, BaseSelector.TEXT, 6),
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_from_handle_func(self):
|
def get_from_handle_func(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user