示例#1
0
 public static HtmlString MakeDisabledSectionLinkForApprovedAndRejectedProjects(string sectionLabel)
 {
     return(BootstrapHtmlHelpers.MakeModalDialogAlertLink($"Unable to edit {Models.FieldDefinition.Project.GetFieldDefinitionLabel()} through this wizard.",
                                                          string.Format("Unable to Edit {0}", sectionLabel),
                                                          "Close",
                                                          sectionLabel,
                                                          new List <string> {
         "disabledSection"
     }));
 }
示例#2
0
 public static HtmlString MakeDisabledSectionLink(string sectionLabel)
 {
     return(BootstrapHtmlHelpers.MakeModalDialogAlertLink(string.Format("Unable to edit {0} until Basics are complete", sectionLabel),
                                                          string.Format("Unable to Edit {0}", sectionLabel),
                                                          "Close",
                                                          sectionLabel,
                                                          new List <string> {
         "disabledSection"
     }));
 }