Created
January 18, 2020 18:58
-
-
Save kasunkv/a5c708850d133f2396d89892f5192823 to your computer and use it in GitHub Desktop.
Using the tag helper to check for multiple feature flags
This file contains hidden or 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
<div class="container"> | |
... | |
<div class="navbar-collapse collapse d-sm-inline-flex flex-sm-row-reverse"> | |
<ul class="navbar-nav flex-grow-1"> | |
... | |
<feature name="@Features.Promotions, @Features.PromotionDiscounts" requirement="All"> | |
<li class="nav-item"> | |
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Promotions">Promotions</a> | |
</li> | |
</feature> | |
... | |
</ul> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment