mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-05 04:21:40 +00:00
Add non-breaking space to fix issue #95.
This commit is contained in:
@@ -64,16 +64,16 @@ class Amount
|
|||||||
|
|
||||||
if ($coloured === true) {
|
if ($coloured === true) {
|
||||||
if ($amount === 0.0) {
|
if ($amount === 0.0) {
|
||||||
return '<span style="color:#999">' . $symbol . ' ' . $string . '</span>';
|
return '<span style="color:#999">' . $symbol . ' ' . $string . '</span>';
|
||||||
}
|
}
|
||||||
if ($amount > 0) {
|
if ($amount > 0) {
|
||||||
return '<span class="text-success">' . $symbol . ' ' . $string . '</span>';
|
return '<span class="text-success">' . $symbol . ' ' . $string . '</span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
return '<span class="text-danger">' . $symbol . ' ' . $string . '</span>';
|
return '<span class="text-danger">' . $symbol . ' ' . $string . '</span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
return $symbol . ' ' . $string;
|
return $symbol . ' ' . $string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user