mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-01 04:59:25 -06:00
Add non-breaking space to fix issue #95.
This commit is contained in:
parent
f12dfc8a14
commit
7bb07d7f55
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user