From 72a280aa79c6df52ebd4525acbf4872edc48adfa Mon Sep 17 00:00:00 2001 From: Bogdanova Olga Date: Sat, 17 Apr 2021 23:05:47 +0300 Subject: [PATCH] Issues-559: fixed popups --- views/group/add_category.php | 4 ++-- views/group/delete.php | 6 +++--- views/group/delete_member.php | 6 +++--- views/group/invite.php | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/views/group/add_category.php b/views/group/add_category.php index 263bb61..55f0645 100644 --- a/views/group/add_category.php +++ b/views/group/add_category.php @@ -1,5 +1,5 @@ -

+

data('Group'); echo $this->Form->open(); @@ -7,7 +7,7 @@ ?>
Are you sure you want to add a new category to \''. $Group->Name.'\'?
'; + echo '
Are you sure you want to add a new category?
'; echo '
'; echo $this->Form->label('Category Name', 'Name'); echo wrap($this->Form->textBox('Name', ['maxlength' => 255, 'class' => 'InputBox']), 'div', ['class' => 'TextBoxWrapper']); diff --git a/views/group/delete.php b/views/group/delete.php index eaa8592..3cec181 100644 --- a/views/group/delete.php +++ b/views/group/delete.php @@ -2,7 +2,7 @@ data('Group'); ?> -

Name.'\'' ?>

+

Form->open(); echo $this->Form->errors(); @@ -11,10 +11,10 @@
Are you sure you want to delete \''. $Group->Name.'\'?
'; + echo '
Are you sure you want to delete this item?
'; echo '
'; echo $this->Form->button('Cancel', ['type' => 'button', 'class' => 'Button Close']); - echo $this->Form->button( 'Delete', ['class' => 'Button Primary GroupButton']); + echo $this->Form->button( 'Delete', ['class' => 'Button Primary Delete']); echo '
'; ?>
\ No newline at end of file diff --git a/views/group/delete_member.php b/views/group/delete_member.php index 05dbd1a..cbc4082 100644 --- a/views/group/delete_member.php +++ b/views/group/delete_member.php @@ -1,15 +1,15 @@ -

+

Form->open(); echo $this->Form->errors(); ?>
-
Are you sure you want to delete this member?
+
Are you sure you want to delete this item?
'; - echo $this->Form->button( 'Delete', ['class' => 'Button Primary GroupButton']); echo $this->Form->button('Cancel', ['type' => 'button', 'class' => 'Button Close']); + echo $this->Form->button( 'Delete', ['class' => 'Button Primary Delete']); echo '
'; ?> diff --git a/views/group/invite.php b/views/group/invite.php index 4bd83cf..b4f4634 100644 --- a/views/group/invite.php +++ b/views/group/invite.php @@ -1,5 +1,5 @@ -

+

data('Group'); echo $this->Form->open(); @@ -7,14 +7,14 @@ ?>
Are you sure you want to invite User to \''. $Group->Name.'\'?
'; + echo '
Are you sure you want to invite User?
'; echo '
'; echo $this->Form->label('Username', 'Username'); echo wrap($this->Form->textBox('Username', ['maxlength' => 100, 'class' => 'InputBox BigInput']), 'div', ['class' => 'TextBoxWrapper']); echo '
'; echo '
'; echo $this->Form->button('Cancel', ['type' => 'button', 'class' => 'Button Close']); - echo $this->Form->button( 'Invite', ['class' => 'Button Primary GroupButton']); + echo $this->Form->button( 'Invite User', ['class' => 'Button Primary']); echo '
'; ?>