Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPS-427: Civicase alignment with CiviCRM 5.35 #717

Merged
merged 23 commits into from
Mar 25, 2021
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3c7040b
COMCL-101: Regenerate civix and Base upgrader class
erawat Feb 19, 2021
2b5f8ff
COMCL-101: Exclude Upgrader Base class
erawat Feb 22, 2021
ce472ae
COMCL-101: Update entityTypes hook
erawat Feb 22, 2021
deedd0c
CPS-427: Return module files relatively to extension path instead of …
reneolivo Feb 28, 2021
7383e7b
CPS-427: Return activity feed URL directly as a string
reneolivo Feb 28, 2021
4b1ed72
CPS-427: Fix API file lint issues
reneolivo Feb 28, 2021
f313d18
CPS-427: Pass BAO class directly to basic get function
reneolivo Feb 28, 2021
24d7994
CPS-427: Remove custom CRM Dashboard
reneolivo Mar 2, 2021
b15b4af
CPS-427: Fix "defaultPrevented" error on angular tests
reneolivo Mar 3, 2021
7ea98ee
CPS-427: Remove activity URL trusted value test
reneolivo Mar 3, 2021
a7ed76e
CPS-427: Fix missing case type route on workflow tests
reneolivo Mar 3, 2021
7ce49ca
CPS-427: Specify broadcast event name on test expectation
reneolivo Mar 3, 2021
bc5bd5c
CPS-427: Fix unhandled rejected promises
reneolivo Mar 3, 2021
7186291
CPS-427: Use array shorthand definition
reneolivo Mar 3, 2021
50e6a3a
CPS-427: Update Github tests CiviCRM version
reneolivo Mar 3, 2021
a4c3cbf
CPS-427: Fix non static function call from static function
reneolivo Mar 3, 2021
36bed71
Merge pull request #710 from compucorp/COMCL-101-regerate-civix-and-b…
reneolivo Mar 3, 2021
ca3b3c1
CPS-479: Fix Add Activity Form URL
reneolivo Mar 9, 2021
d563734
Merge pull request #728 from compucorp/CPS-479-fix-activity-create
reneolivo Mar 9, 2021
b45c550
Merge branch 'master' into CPS-427-civicase-civicrm-5.35-alignment
reneolivo Mar 17, 2021
6a07c94
CPS-480: Change button markup
deb1990 Oct 1, 2020
0ca517c
Merge pull request #744 from compucorp/CPS-332-support-new-button-markup
deb1990 Mar 22, 2021
8063224
Merge branch 'master' into CPS-427-civicase-civicrm-5.35-alignment
deb1990 Mar 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CPS-480: Change button markup
  • Loading branch information
deb1990 committed Mar 22, 2021
commit 6a07c942e652026d8a6f5f272684a5804a7c29c8
12 changes: 8 additions & 4 deletions CRM/Civicase/Hook/BuildForm/HandleDraftActivities.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,14 @@ private function addSaveDraftButton(CRM_Core_Form &$form, $formName) {
if (($form->_action & (CRM_Core_Action::ADD + CRM_Core_Action::UPDATE)) && !$hideDraftButton) {
$buttonGroup = $form->getElement('buttons');
$buttons = $buttonGroup->getElements();
$buttons[] = $form->createElement('submit', $form->getButtonName('refresh'), ts('Save Draft'), [
'crm-icon' => 'fa-pencil-square-o',
'class' => 'crm-form-submit',
]);
$buttons[] = $form->createElement(
'xbutton',
$form->getButtonName('refresh'),
ts('Save Draft'), [
'crm-icon' => 'fa-pencil-square-o',
'class' => 'crm-form-submit',
]
);
$buttonGroup->setElements($buttons);
$form->addGroup($buttons, 'buttons');
$form->setDefaults(['status_id' => 2]);
Expand Down