From: Coleman Watts Date: Mon, 22 Feb 2021 02:50:14 +0000 (-0500) Subject: Afform - Add 'View Page' link from afform edit screen X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2fb9e6553f521c74472765ddcbaf40677ed9b871;p=civicrm-core.git Afform - Add 'View Page' link from afform edit screen --- diff --git a/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js b/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js index 0c38e19e49..587d74cdd2 100644 --- a/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js +++ b/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js @@ -20,6 +20,8 @@ controllerAs: 'editor', controller: function($scope, crmApi4, afGui, $parse, $timeout, $location) { var ts = $scope.ts = CRM.ts('afform'); + $scope.crmUrl = CRM.url; + $scope.afform = null; $scope.saving = false; $scope.selectedEntityName = null; diff --git a/ext/afform/admin/ang/afGuiEditor/afGuiEditorCanvas.html b/ext/afform/admin/ang/afGuiEditor/afGuiEditorCanvas.html index 497c219ace..df975f1058 100644 --- a/ext/afform/admin/ang/afGuiEditor/afGuiEditorCanvas.html +++ b/ext/afform/admin/ang/afGuiEditor/afGuiEditorCanvas.html @@ -1,13 +1,21 @@
-
- +
+ +
+ +