Skip to content

Commit 042692f

Browse files
committed
Added warning notification type
1 parent 708a4c3 commit 042692f

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

admin/template/notifications.tpl

+11-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ if (isset($this->success) && is_array($this->success)) foreach($this->success as
1919
}
2020
?>
2121

22+
@warning = [data-v-notifications] [data-v-notification-warning]
23+
@warning|before = <?php
24+
if (isset($this->warning) && is_array($this->warning)) foreach($this->warning as $message) {?>
25+
26+
@warning [data-v-notification-text] = <?php echo $message;?>
27+
28+
@warning|after = <?php
29+
}
30+
?>
31+
2232
@info = [data-v-notifications] [data-v-notification-info]
2333
@info|before = <?php
2434
if (isset($this->info) && is_array($this->info)) foreach($this->info as $message) {?>
@@ -37,4 +47,4 @@ if (isset($this->message) && is_array($this->message)) foreach($this->message as
3747
3848
@message|after = <?php
3949
}
40-
?>
50+
?>

public/admin/default

Submodule default updated 108 files

0 commit comments

Comments
 (0)