mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 01:16:31 +03:00
fix: improve connectivity HTML if quota info error
Currently if the provider doesn't support quota info the HTML displays something like ``` example.com: Connected Not supported by your provider. ``` It's not clear that "not supported" only refers to quota info.
This commit is contained in:
@@ -476,7 +476,8 @@ impl Context {
|
|||||||
};
|
};
|
||||||
match "a.recent {
|
match "a.recent {
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
ret += &escaper::encode_minimal(&e.to_string());
|
// TODO translate "Quota".
|
||||||
|
ret += &format!("Quota: {}", &*escaper::encode_minimal(&e.to_string()));
|
||||||
}
|
}
|
||||||
Ok(quota) => {
|
Ok(quota) => {
|
||||||
if quota.is_empty() {
|
if quota.is_empty() {
|
||||||
|
|||||||
Reference in New Issue
Block a user