Ejemplo n.º 1
0
        private ReopenCaseActionLink(IPortalContext portalContext, int languageCode, ReopenCaseAction action,
                                     bool enabled = true, UrlBuilder url = null, string portalName = null)
            : base(
                portalContext, languageCode, action, LinkActionType.ReopenCase, enabled, url, portalName, DefaultButtonLabel,
                DefaultButtonTooltip)
        {
            Modal = new ViewReopenCaseModal();

            if (url == null)
            {
                URL = EntityListFunctions.BuildControllerActionUrl("ReopenCase", "EntityAction",
                                                                   new { area = "Portal", __portalScopeId__ = portalContext.Website.Id });
            }
        }
Ejemplo n.º 2
0
 public ReopenCaseActionLink()
 {
     Modal   = new ViewReopenCaseModal();
     Enabled = false;
 }