oauth-client - Switch from (a)ttribute notation to (e)lement notation
authorTim Otten <totten@civicrm.org>
Fri, 29 Jan 2021 00:22:46 +0000 (16:22 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 29 Jan 2021 00:22:46 +0000 (16:22 -0800)
ext/oauth-client/ang/oauthClientAdmin.aff.html
ext/oauth-client/ang/oauthProviderDetail.aff.html

index 234fa9bd9b5c0bbfb60baedc6baf3aa81a9d3b50..889fc1efbe4de5d3f12fba9fe2574809451b452f 100644 (file)
@@ -2,10 +2,10 @@
 
 <div id="bootstrap-theme">
   <div ng-if="!routeParams.provider">
-    <div oauth-provider-list></div>
+    <oauth-provider-list></oauth-provider-list>
   </div>
 
   <div ng-if="routeParams.provider">
-    <div oauth-provider-detail="{provider: theProviders[routeParams.provider]}"></div>
+    <oauth-provider-detail options="{provider: theProviders[routeParams.provider]}"></oauth-provider-detail>
   </div>
-</div>
\ No newline at end of file
+</div>
index 1b19df6565eb554b2cec80d3b406d49776c7671c..e850f4d79971cb798cf3b7925fff859d6dc9f27a 100644 (file)
@@ -18,7 +18,7 @@
       <div ng-form="editClientForm">
         <h4>{{ts('Tokens')}}</h4>
 
-        <div oauth-client-tokens="{clientId: resultClient.id}"></div>
+        <oauth-client-tokens options="{clientId: resultClient.id}"></oauth-client-tokens>
 
         <div class="btn-group" oauth-util-grant-ctrl="granter">
           <a class="btn btn-primary" ng-click="granter.authCode(resultClient.id)">{{ts('Add (Auth Code)')}}</a>
@@ -26,7 +26,7 @@
 
         <h4>{{ts('Properties')}}</h4>
 
-        <div oauth-client-editor="{client: resultClient}"></div>
+        <oauth-client-editor options="{client: resultClient}"></oauth-client-editor>
         <div class="btn-group">
           <a class="btn btn-primary"
              af-api4-action="['OAuthClient', 'update', {where: [['id', '=', resultClient.id]], values:resultClient}]">{{ts('Save')}}</a>
@@ -40,9 +40,9 @@
     </div>
 
     <div class="panel-body" ng-if="selected.tab === 'new'" ng-form="newClientForm" ng-init="theNew = {provider: options.provider.name}">
-      <div oauth-client-create-help="{provider: options.provider}"></div>
+      <oauth-client-create-help options="{provider: options.provider}"></oauth-client-create-help>
       <div crm-ui-debug="theNew"></div>
-      <div oauth-client-creator="{client: theNew}"></div>
+      <oauth-client-creator options="{client: theNew}"></oauth-client-creator>
       <div class="btn-group">
         <a class="btn btn-primary"
            af-api4-action="['OAuthClient', 'create', {values:theNew}]"