public static MvcHtmlString OrderStatusLabel(this HtmlHelper html, OrderStatus orderStatus)
 {
     var labelHelper = new BootstrapLabelHelper(LabelClassDictionary);
       return labelHelper.BootstrapLabel(html, orderStatus.Name, orderStatus.Name);
 }
        public static MvcHtmlString AvailabilityStatusLabel(this HtmlHelper html, AvailabilityStatus availabilityStatusStatus)
        {
            var labelHelper = new BootstrapLabelHelper(LabelClassDictionary);

            return(labelHelper.BootstrapLabel(html, availabilityStatusStatus.Name.ToLowerInvariant(), availabilityStatusStatus.Id));
        }
 public static MvcHtmlString AvailabilityStatusLabel(this HtmlHelper html, AvailabilityStatus availabilityStatusStatus)
 {
     var labelHelper = new BootstrapLabelHelper(LabelClassDictionary);
       return labelHelper.BootstrapLabel(html, availabilityStatusStatus.Name.ToLowerInvariant(), availabilityStatusStatus.Id);
 }
Ejemplo n.º 4
0
        public static MvcHtmlString OrderStatusLabel(this HtmlHelper html, OrderStatus orderStatus)
        {
            var labelHelper = new BootstrapLabelHelper(LabelClassDictionary);

            return(labelHelper.BootstrapLabel(html, orderStatus.Name, orderStatus.Name));
        }