if (count($errors) > 0) {
$messages['error'] = [
'title' => _T('- ERROR -'),
- 'icon' => 'times',
+ 'icon' => 'exclamation circle',
'messages' => $errors
];
}
displayTime: 'auto',
minDisplayTime: 5000,
wordsPerMinute: 80,
- position: 'top right',
+ showProgress: 'bottom',
+ closeIcon: true,
+ position: 'top attached',
message: '{{ success|e('js') }}',
showIcon: 'check circle outline',
class: 'success'
displayTime: 'auto',
minDisplayTime: 5000,
wordsPerMinute: 80,
- position: 'top right',
+ showProgress: 'bottom',
+ closeIcon: true,
+ position: 'top attached',
title: '{{ info_title|e('js') }}',
message: '{{ i|e('js') }}',
showIcon: 'info',
$('body')
.toast({
displayTime: 0,
- position: 'top right',
+ closeIcon: true,
+ position: 'top attached',
message: '{{ error|e('js') }}',
- showIcon: 'times',
+ showIcon: 'exclamation circle',
class: 'error'
})
;
$('body')
.toast({
displayTime: 0,
- position: 'top right',
+ closeIcon: true,
+ position: 'top attached',
message: '{{ warning|e('js') }}',
showIcon: 'exclamation triangle',
class: 'warning'
displayTime: dtime,
minDisplayTime: 5000,
wordsPerMinute: 80,
- position: 'top right',
+ showProgress: 'bottom',
+ closeIcon: true,
+ position: 'top attached',
title: values[type]['title'],
message: values[type]['messages'].join('<br/>'),
showIcon: values[type]['icon'],
{% if errors is iterable and errors|length > 0 %}
<noscript>
<div class="ui error icon message">
- <i class="times icon" aria-hidden="true"></i>
+ <i class="exclamation circle icon" aria-hidden="true"></i>
<div class="content">
<div class="header">{{ _T("- ERROR -") }}</div>
{% if errors|length > 1 %}
displayTime: dtime,
minDisplayTime: 5000,
wordsPerMinute: 80,
- position: 'top right',
+ showProgress: 'bottom',
+ closeIcon: true,
+ position: 'top attached',
title: values[type]['title'],
message: values[type]['messages'].join('<br/>'),
showIcon: values[type]['icon'],
displayTime: dtime,
minDisplayTime: 5000,
wordsPerMinute: 80,
- position: 'top right',
+ showProgress: 'bottom',
+ closeIcon: true,
+ position: 'top attached',
title: values[type]['title'],
message: values[type]['messages'].join('<br/>'),
showIcon: values[type]['icon'],
"permission": "644",
"autoInstall": true,
"rtl": "both",
- "components": ["reset", "site", "button", "container", "divider", "header", "icon", "input", "label", "list", "loader", "segment", "step", "form", "grid", "menu", "message", "table", "card", "item", "accordion", "checkbox", "dimmer", "dropdown", "popup", "sidebar", "tab", "transition", "text", "calendar", "toast", "modal", "api", "search", "emoji"],
+ "components": ["reset", "site", "button", "container", "divider", "header", "icon", "input", "label", "list", "loader", "segment", "step", "form", "grid", "menu", "message", "table", "card", "item", "accordion", "checkbox", "dimmer", "dropdown", "popup", "sidebar", "tab", "transition", "text", "calendar", "progress", "toast", "modal", "api", "search", "emoji"],
"version": "2.9.3"
}
\ No newline at end of file