dev/core#3513 Remove 'done' from sumary/import monitoring page
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 11 Jun 2022 02:59:20 +0000 (14:59 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 11 Jun 2022 20:23:42 +0000 (08:23 +1200)
See dev/core#3513 for why it's confusing

CRM/Import/Form/Summary.php
templates/CRM/Contact/Import/Form/Summary.tpl

index 352d9f27cf71cf27501d078f21eea3fc3dc20217..efb521a39bf0ec00130e0b5e5877eb712ae37f20 100644 (file)
@@ -34,19 +34,6 @@ abstract class CRM_Import_Form_Summary extends CRM_Import_Forms {
     $this->assignOutputURLs();
   }
 
-  /**
-   * Build the form object.
-   */
-  public function buildQuickForm() {
-    $this->addButtons(array(
-        array(
-          'type' => 'next',
-          'name' => ts('Done'),
-          'isDefault' => TRUE,
-        ),
-    ));
-  }
-
   /**
    * Return a descriptive name for the page, used in wizard header.
    *
index 0aa01607fd0fd82e2310e632477da26ad0ac6652..046d353dd14d1c65827523583160ff8ffbffba4c 100644 (file)
@@ -53,7 +53,6 @@
         </p>
     {/if}
 </div>
-<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
  {* Summary of Import Results (record counts) *}
   <table id="summary-counts" class="report">
     <tr><td class="label crm-grid-cell">{ts}Total Rows{/ts}</td>
 
  </table>
 
- <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
 </div>