diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cdec5db..d532af49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# 0.20.3 2026-05-08 + +## 🐛 Bug Fixes +- Fix `Task/Review` not hiding nav and footer when displayed in a modal. +- Fix shared `Log` view not hiding nav/footer, not showing a Close button, and reserving excess vertical space when displayed in a modal. +- Fix README gif path after `samples` folder was relocated out of `App_Data`. + + + # 0.20.2 2026-05-05 ## 🐛 Bug Fixes diff --git a/README.md b/README.md index 197dcb63..c84dfe03 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ There are recipes for MSSQL, PostgreSql, and SQLite for the above tasks. Initial Putting it all together, here is a GIF showing a report (with map) that has a bulk action to change color associated with the record. -![bogus report](src/Site/App_Data/samples/sacramento-crime/criminal-bulk-actions.gif) +![bogus report](src/Site/samples/sacramento-crime/criminal-bulk-actions.gif) `TODO: Link to arrangement here.` diff --git a/src/OrchardCore.Transformalize/OrchardCore.Transformalize.csproj b/src/OrchardCore.Transformalize/OrchardCore.Transformalize.csproj index 04d6234c..b1080211 100644 --- a/src/OrchardCore.Transformalize/OrchardCore.Transformalize.csproj +++ b/src/OrchardCore.Transformalize/OrchardCore.Transformalize.csproj @@ -3,9 +3,9 @@ net10.0 true TransformalizeModule - 0.20.2 - 0.20.2 - 0.20.2 + 0.20.3 + 0.20.3 + 0.20.3 true Dale Newman Copyright © 2013-2026 diff --git a/src/OrchardCore.Transformalize/Views/Shared/Log.cshtml b/src/OrchardCore.Transformalize/Views/Shared/Log.cshtml index 1460b8c9..605be136 100644 --- a/src/OrchardCore.Transformalize/Views/Shared/Log.cshtml +++ b/src/OrchardCore.Transformalize/Views/Shared/Log.cshtml @@ -8,6 +8,7 @@ var auth = Context.RequestServices.GetService(); var returnUrl = string.Empty; var target = "_self"; + var isModal = Context.Request.Query["modal"] == "1"; if (Model.Item != null) { // You might not want to re-run your task automatically if (Model.Item.ContentType == "TransformalizeTask") { @@ -17,6 +18,21 @@ } } } + +@if (isModal) { + +} + -@if (Model.Item != null && await auth.AuthorizeAsync(Context.User, OrchardCore.Contents.Permissions.EditContent, Model.Item)) { +@if (!isModal && Model.Item != null && await auth.AuthorizeAsync(Context.User, OrchardCore.Contents.Permissions.EditContent, Model.Item)) { } -@Html.Partial("LogDetail", Model) \ No newline at end of file +@Html.Partial("LogDetail", Model) + +@if (isModal) { + Close +} \ No newline at end of file diff --git a/src/OrchardCore.Transformalize/Views/Task/Review.cshtml b/src/OrchardCore.Transformalize/Views/Task/Review.cshtml index 7d2681ff..97c65ab2 100644 --- a/src/OrchardCore.Transformalize/Views/Task/Review.cshtml +++ b/src/OrchardCore.Transformalize/Views/Task/Review.cshtml @@ -11,6 +11,17 @@ var isModal = Context.Request.Query["modal"] == "1"; } +@if (isModal) { + +} + diff --git a/src/Site/Site.csproj b/src/Site/Site.csproj index e568c1ef..1374e1f5 100644 --- a/src/Site/Site.csproj +++ b/src/Site/Site.csproj @@ -7,10 +7,10 @@ Linux ..\.. transformalize.orchard - 0.20.2 - 0.20.2 - 0.20.2 - 0.20.2 + 0.20.3 + 0.20.3 + 0.20.3 + 0.20.3 true true enable