afHtmlList - Tweak layout
authorTim Otten <totten@civicrm.org>
Tue, 15 Oct 2019 14:02:05 +0000 (07:02 -0700)
committerCiviCRM <info@civicrm.org>
Wed, 16 Sep 2020 02:13:19 +0000 (19:13 -0700)
ext/afform/html/ang/afHtmlList.aff.html

index e0e5f950ee203b036576cf107e5c55183f1e60b7..a0d9fa36c17a4f82105360fc4435d593e5ae8b91 100644 (file)
         <a ng-href="#/?name={{availForm.name}}">{{availForm.name}}</a>
       </td>
       <td>{{availForm.title}}</td>
-      <td><code>{{availForm.server_route}}</code></td>
+      <td>
+        <a ng-href="{{crmUrl(availForm.server_route)}}" target="_blank"><code>{{availForm.server_route}}</code></a>
+      </td>
       <td>{{availForm.is_public ? ts('Frontend') : ts('Backend')}}</td>
       <td>
         <!--<a ng-click="crmStatus({start: ts('Reverting...'), success: ts('Reverted')}, crmApi4('Afform', 'revert', {where: [['name', '=', availForm.name]]}))">{{ts('Revert')}}</a>-->
         <a af-api4-action="['Afform', 'revert', {where: [['name','=', availForm.name]]}]"
            af-api4-start-msg="ts('Reverting...')"
            af-api4-success-msg="ts('Reverted')"
+           class="btn btn-xs btn-default"
           >{{ts('Revert')}}</a>
       </td>
     </tr>