File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Griddly/Views/Shared/Griddly Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 66
66
href = " #" + button .Argument ;
67
67
}
68
68
69
- <a data-role =" griddly-button" class =" @(!isMenuItem ? " btn btn-default " : null) @(isDropdown && !button.IsSplitDropdown ? " dropdown-toggle " : null) @(!button.Enabled || button.EnableOnSelection == true ? " disabled " : null) @button.ClassName @(!string.IsNullOrWhiteSpace(Model .Icon) ? " btn-with-icon " : null)"
69
+ <a data-role =" griddly-button" class =" @(!isMenuItem ? " btn btn-default " : null) @(isDropdown && !button.IsSplitDropdown ? " dropdown-toggle " : null) @(!button.Enabled || button.EnableOnSelection == true ? " disabled " : null) @button.ClassName @(!string.IsNullOrWhiteSpace(button .Icon) ? " btn-with-icon " : null)"
70
70
@*onclick =" @(button.Action == GriddlyButtonAction.Javascript ? button.Argument : null)" *@
71
71
title =" @button.Title"
72
72
@Html.AttributeIf( " target" , button.Action == GriddlyButtonAction.Navigate && !string.IsNullOrWhiteSpace(button.Target), button.Target)
88
88
}
89
89
} >
90
90
91
- @if (! string .IsNullOrWhiteSpace (Model .Icon ) && GriddlySettings .IconTemplate != null )
91
+ @if (! string .IsNullOrWhiteSpace (button .Icon ) && GriddlySettings .IconTemplate != null )
92
92
{
93
93
@GriddlySettings.IconTemplate(button)
94
94
}
You can’t perform that action at this time.
0 commit comments