File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed
src/NetPackageAnalyzer/NetPackageAnalyzerExportHTML/Templates Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 1717 @for( int index = 0 ;index < nr ;index ++ )
1818 {
1919 var prj = projects [index ];
20+ var name = prj .NameCSproj ();
21+ var upStream = " " + prj .UpStreamProjectReferences .Count ;
22+ var downStream = " " + prj .AlphabeticalProjectsReferences ().Count ();
23+ if (upStream == " 0" )
24+ {
25+ name = $" <b><span style='color: DodgerBlue;'>{name }</span></b>" ;
26+ upStream = $" <b><span style='color: DodgerBlue;'>0</span></b>" ;
27+ }
28+
29+ if (downStream == " 0" )
30+ {
31+ name = $" <i><span style='color: Tomato;'>{name }</span></i>" ;
32+ downStream = $" <i><span style='color: Tomato;'>0</span></i>" ;
33+ }
2034
2135 <tr >
22- <td >@( index + 1 ) </td >
23- <td >@prj.NameCSproj() </td >
24- <td >@prj.UpStreamProjectReferences.Count </td >
25- <td >@prj.AlphabeticalProjectsReferences().Count() </td >
36+ <td >@( index + 1 ) </td >
37+ <td >@name </td >
38+ <td >@upStream </td >
39+ <td >@downStream </td >
2640
2741 </tr >
2842 }
You can’t perform that action at this time.
0 commit comments