Opened 4 years ago
Last modified 4 years ago
#2087 new Neues Feature
messageStack schöner formatieren
| Reported by: | noRiddle | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.1.0.0 |
| Component: | Admin | Version: | 2.0.6.0 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Die Formatierung der Ausgabe der messageStack im Backend ist unschön weil die einzelnen Meldungen lediglich durch Breaks getrennt sind. Bei mehreren Meldungen ist das schnell unübersichtlich.
Vorschlag für /admin/includes/classes/message_stack.php:
function output() {
$output = '';
if ($this->size > 0) {
foreach ($this->errors as $k => $msg) {
$output .= '<div class="'.$k.'_message">';
$output .= '<ul><li>';
$output .= implode('</li><li>', $msg);
$output .= '</li></ul>';
$output .= '</div>';
}
}
return $output;
}
Evtl. dazu noch das Backend-CSS ein wenig anpassen für Formatierungen von ul und li-tags.
Ich weiß, daß man sich das jetzt schon mittels Kindklasse und Instantiierung dieser in /admin/includes/extra/application_top/application_top_end/ bauen könnte, es wäre allerdings schön wenn das in den Core einfließen könnte.
Gruß,
noRiddle
Attachments (0)
Change History (2)
comment:1 by , 4 years ago
| Milestone: | → modified-shop-2.0.6.1 |
|---|
comment:2 by , 4 years ago
| Milestone: | modified-shop-2.0.6.1 → modified-shop-2.1.0.0 |
|---|
