Zooflow: fix new record button
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user