pull/301/head
Halil İbrahim Kalkan 7 years ago
commit 94bc24f72f

@ -14,7 +14,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Nav
SetActiveClass(context, output);
}
protected virtual void SetDropdownClass(TagHelperContext context, TagHelperOutput output)
{
if (TagHelper.Dropdown ?? false)

@ -8,14 +8,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Nav
{
public class AbpNavLinkTagHelperService : AbpTagHelperService<AbpNavLinkTagHelper>
{
private readonly HtmlEncoder _encoder;
public AbpNavLinkTagHelperService(HtmlEncoder encoder)
{
_encoder = encoder;
}
public override async Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
public override void Process(TagHelperContext context, TagHelperOutput output)
{
output.TagName = "a";
output.TagMode = TagMode.StartTagAndEndTag;

@ -9,7 +9,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Nav
{
output.TagName = "ul";
output.Attributes.AddClass("navbar-nav");
output.Attributes.AddClass("mr-auto");
}
}
}

@ -80,13 +80,11 @@
<abp-nav-item>
<a abp-nav-link disabled="true" href="#">Disabled</a>
</abp-nav-item>
<span abp-navbar-text>
Sample Text
</span>
</abp-navbar-nav>
</abp-navbar-toggle>
<span abp-navbar-text>
Sample Text
</span>
</abp-nav-bar>
</div>
@ -118,13 +116,11 @@
&lt;abp-nav-item&gt;
&lt;a abp-nav-link disabled=&quot;true&quot; href=&quot;#&quot;&gt;Disabled&lt;/a&gt;
&lt;/abp-nav-item&gt;
&lt;/abp-navbar-nav&gt;
&lt;/abp-navbar-toggle&gt;
&lt;/abp-navbar-nav&gt;
&lt;span abp-navbar-text&gt;
Sample Text
&lt;/span&gt;
&lt;/abp-navbar-toggle&gt;
&lt;/abp-nav-bar&gt;
</pre>
</div>

Loading…
Cancel
Save