forked from praeclarum/FuGetGallery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
praeclarum#167 - Added capability to show obsolete members with message
- Loading branch information
1 parent
1fc7615
commit d1e7641
Showing
3 changed files
with
67 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -349,6 +349,9 @@ | |
<span class="diff-Remove" style="margin:0.5em;"> | ||
<strong>@diff.Namespaces.Sum(ni => ni.NumRemovals)</strong> Removals | ||
</span> | ||
<span class="diff-Update" style="margin:0.5em;"> | ||
<strong>@diff.Namespaces.Sum(ni => ni.NumObsolete)</strong> Obsolete | ||
</span> | ||
</p> | ||
@foreach (var ni in diff.Namespaces) | ||
{ | ||
|
@@ -362,7 +365,13 @@ | |
<ul class="diff-Members"> | ||
@foreach (var mi in ti.Members) | ||
{ | ||
<li class="[email protected] diff-Member"><span class="inline-code">@Html.Raw(mi.Member.GetPrototypeHtml(framework: ti.Framework, null, linkToCode: false, isExtensionClass))</span></li> | ||
<li class="[email protected] diff-Member"> | ||
<span class="inline-code">@Html.Raw(mi.Member.GetPrototypeHtml(framework: ti.Framework, null, linkToCode: false, isExtensionClass))</span> | ||
@if (!string.IsNullOrWhiteSpace(mi.ObsoleteMessage)) | ||
{ | ||
<p style="margin-top: 1em; margin-bottom: 0em;">@mi.ObsoleteMessage</p> | ||
} | ||
</li> | ||
} | ||
</ul> | ||
</li> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters