mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 10:08:45 +02:00
N°3649 - Case log entry form: Change buttons text and style
- Change "Save" button to "Send" - Change "Cancel" button to the new convention
This commit is contained in:
@@ -620,9 +620,9 @@ $(function()
|
||||
}
|
||||
},
|
||||
{
|
||||
text: Dict.S('UI:Button:Save'),
|
||||
text: Dict.S('UI:Button:Send'),
|
||||
class: 'ibo-is-primary',
|
||||
click: function() {
|
||||
click: function () {
|
||||
const bDoNotShowAgain = $(this).find(me.js_selectors.caselog_entry_forms_confirmation_preference_input).prop('checked');
|
||||
if (bDoNotShowAgain) {
|
||||
me._SaveSubmitConfirmationPref();
|
||||
|
||||
@@ -48,7 +48,7 @@ class CaseLogEntryFormFactory
|
||||
*/
|
||||
protected static function PrepareCancelButton(): Button
|
||||
{
|
||||
return ButtonUIBlockFactory::MakeForSecondaryAction(Dict::S('UI:Button:Cancel'), 'cancel', 'cancel');
|
||||
return ButtonUIBlockFactory::MakeForCancel(Dict::S('UI:Button:Cancel'), 'cancel', 'cancel');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -56,7 +56,7 @@ class CaseLogEntryFormFactory
|
||||
*/
|
||||
protected static function PrepareSaveButton(): Button
|
||||
{
|
||||
$oButton = ButtonUIBlockFactory::MakeForPrimaryAction(Dict::S('UI:Button:Save'), 'save', 'save');
|
||||
$oButton = ButtonUIBlockFactory::MakeForPrimaryAction(Dict::S('UI:Button:Send'), 'save', 'save');
|
||||
$oButton->SetIconClass('fas fa-paper-plane');
|
||||
|
||||
return $oButton;
|
||||
|
||||
Reference in New Issue
Block a user