Exemple #1
0
 private void InitalizeRightsSection(Expandable rightsSection)
 {
     rightsSection.Title    = Translator.Translate("RightsSection.Title");
     rightsSection.Expanded = true;
     RightsContainer        = rightsSection.AddGeneric("div", div =>
     {
         div.AddClass("rights");
     });
 }
Exemple #2
0
 private void InitalizeGeneralSection(Expandable generalSection)
 {
     generalSection.Title    = FieldsTranslator.Translate("GeneralSection.Title");
     generalSection.Expanded = true;
     generalSection.AddGeneric("table", table =>
     {
         table.AddClass("summary-grid");
         InitializeNameIn(table);
         InitializeDataTypeIn(table);
         InitializeScopeIn(table);
         InitializePropagationModeIn(table);
         InitializeIsActiveIn(table);
     });
 }