Zooflow: fix new record button

This commit is contained in:
Jonathan Jenne
2022-03-07 16:10:35 +01:00
parent 6ffc699fb1
commit 41b0cd535c
4 changed files with 6 additions and 17 deletions

View File

@@ -48,13 +48,11 @@ Public Class ClassDetailForm
}},
{PAGE_IDB_ATTRIBUTE_REL, New DetailSettings With {
.GridTitle = "Attribute-Relations",
.NewRecordTitle = "",
.[Module] = MODULE_IDB,
.Entity = PAGE_IDB_ATTRIBUTES
}},
{PAGE_GI_RELATIONS, New DetailSettings With {
.GridTitle = "Globix profile-relations",
.NewRecordTitle = "",
.[Module] = MODULE_GI,
.Entity = PAGE_GI_RELATIONS
}},
@@ -66,13 +64,11 @@ Public Class ClassDetailForm
}},
{PAGE_IDB_DOCTYPE, New DetailSettings With {
.GridTitle = "Doctype Configuration",
.NewRecordTitle = "New Doctype",
.[Module] = MODULE_IDB,
.Entity = PAGE_IDB_DOCTYPE
}},
{PAGE_IDB_DOCTYPE_BE, New DetailSettings With {
.GridTitle = "Doctype BE Relations",
.NewRecordTitle = "New Relation",
.[Module] = MODULE_IDB,
.Entity = PAGE_IDB_DOCTYPE_BE
}},
@@ -283,7 +279,11 @@ Public Class ClassDetailForm
Public Property GridTitle As String
Public Property [Module] As String
Public Property Entity As String
Public Property NewRecordTitle As String
''' <summary>
''' If this is empty, the button "New Record will be hidden"
''' </summary>
Public Property NewRecordTitle As String = ""
End Class
Public Class DetailData