diff --git a/Oqtane.Client/Modules/Controls/ActionDialog.razor b/Oqtane.Client/Modules/Controls/ActionDialog.razor index 83948efe..11204bc7 100644 --- a/Oqtane.Client/Modules/Controls/ActionDialog.razor +++ b/Oqtane.Client/Modules/Controls/ActionDialog.razor @@ -35,11 +35,11 @@ { if (Disabled) { - + } else { - + } } } @@ -83,13 +83,13 @@ else { if (Disabled) { - + } else {
- +
} } @@ -112,6 +112,9 @@ else [Parameter] public string Text { get; set; } // optional - defaults to Action if not specified + + [Parameter] + public string AltText { get; set; } // optional [Parameter] public string Action { get; set; } // optional diff --git a/Oqtane.Client/Modules/Controls/ActionLink.razor b/Oqtane.Client/Modules/Controls/ActionLink.razor index 545dca5c..576a040f 100644 --- a/Oqtane.Client/Modules/Controls/ActionLink.razor +++ b/Oqtane.Client/Modules/Controls/ActionLink.razor @@ -8,17 +8,17 @@ { if (Disabled) { - @((MarkupString)_iconSpan) @_text + @((MarkupString)_iconSpan) @_text } else { if (OnClick == null) { - @((MarkupString)_iconSpan) @_text + @((MarkupString)_iconSpan) @_text } else { - + } } } @@ -42,6 +42,9 @@ [Parameter] public string Text { get; set; } // optional - defaults to Action if not specified + [Parameter] + public string AltText { get; set; } // optional + [Parameter] public int ModuleId { get; set; } = -1; // optional - allows the link to target a specific moduleid