Exemplo n.º 1
0
        public static string FormatFailedFeatureTitle(WebTitleElements info)
        {
            const string failIcon      = "accordion-icon-fail";
            const string failIconStyle = "fa-times-circle-o";

            return(FormatFeatureTitle(info, failIcon, failIconStyle));
        }
Exemplo n.º 2
0
        public static string FormatInconclusiveFeatureTitle(WebTitleElements info)
        {
            const string undefinedIcon  = "accordion-icon-undefinded";
            const string undefinedStyle = "fa-question-circle-o";

            return(FormatFeatureTitle(info, undefinedIcon, undefinedStyle));
        }
Exemplo n.º 3
0
        public static string FormatPassedFeatureTitle(WebTitleElements info)
        {
            const string passIcon      = "accordion-icon-pass";
            const string passIconStyle = "fa-check-circle-o";

            return(FormatFeatureTitle(info, passIcon, passIconStyle));
        }
Exemplo n.º 4
0
 private static string FormatFeatureTitle(WebTitleElements info, string icon, string iconStyle)
 {
     return(string.Format(messages.HtmlTitleTemplate, icon, iconStyle, info.score, info.title, info.rawScore, info.weighting));
 }