mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 01:46:34 +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 {
|
||||
Err(e) => {
|
||||
ret += &escaper::encode_minimal(&e.to_string());
|
||||
// TODO translate "Quota".
|
||||
ret += &format!("Quota: {}", &*escaper::encode_minimal(&e.to_string()));
|
||||
}
|
||||
Ok(quota) => {
|
||||
if quota.is_empty() {
|
||||
|
||||
Reference in New Issue
Block a user