Skip to content

Commit fb28d70

Browse files
committed
Fix icons
1 parent e007966 commit fb28d70

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers.Status.Generator/SolutionReader.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,14 @@ private IEnumerable<DiagnosticDescriptor> GetDescriptor(INamedTypeSymbol classSy
325325
{
326326
fixAllStatus = FixAllStatus.BatchFixer;
327327
}
328-
else
328+
else if (codeFixes.Length > 0)
329329
{
330330
fixAllStatus = FixAllStatus.CustomImplementation;
331331
}
332+
else
333+
{
334+
fixAllStatus = FixAllStatus.None;
335+
}
332336
}
333337

334338
return (codeFixStatus, fixAllStatus);

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>StyleCopAnalyzers Status</title>
7-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css" />
7+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css" />
88
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/css/bootstrap.min.css" />
99
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/css/bootstrap-theme.min.css" />
1010

@@ -125,13 +125,13 @@ <h2>This page is reporting the current status of <a href="https://github.com/Dot
125125
{{else CodeFixStatus === NotImplemented}}
126126
<i class="fa fa-times" style="color: red;"></i>
127127
{{else}}
128-
<i class="fa fa-times" style="color: red;"></i>
128+
<i class="fa fa-exclamation" style="color: blue;"></i>
129129
{{/if}}
130130
</td>
131131
<td style="overflow: visible; width: 0;">
132132
{{if FixAllStatus === "BatchFixer"}}
133133
<i class="fa fa-hourglass" style="color: blue;"></i>
134-
{{else CodeFixStatus === CustomImplementation}}
134+
{{else FixAllStatus === "CustomImplementation"}}
135135
<i class="fa fa-check" style="color: green;"></i>
136136
{{else}}
137137
<i class="fa fa-times" style="color: red;"></i>

0 commit comments

Comments
 (0)