mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-20 04:19:35 +00:00
Update standard tag colors to match TB and improve tags id generation.
This commit is contained in:
@@ -78,10 +78,10 @@
|
||||
SOGoSearchMinimumWordLength = 2;
|
||||
|
||||
SOGoMailLabelsColors = {
|
||||
$label1 = ("Important", "#ff0000");
|
||||
$label2 = ("Work", "#ff9a00");
|
||||
$label3 = ("Personal", "#009a00");
|
||||
$label4 = ("To Do", "#3130ff");
|
||||
$label5 = ("Later", "#9c309c");
|
||||
$label1 = ("Important", "#FF0000");
|
||||
$label2 = ("Work", "#FF9900");
|
||||
$label3 = ("Personal", "#009900");
|
||||
$label4 = ("To Do", "#3333FF");
|
||||
$label5 = ("Later", "#993399");
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1083,7 +1083,7 @@ function serializeMailLabels() {
|
||||
|
||||
/* if name is null, that's because we've just added a new tag */
|
||||
if (!name) {
|
||||
name = label.replace(/ /g,"_");
|
||||
name = label.replace(/[ \(\)\/\{%\*<>\\\"]/g, "_");
|
||||
}
|
||||
|
||||
values.push("\"" + name + "\": [\"" + label + "\", \"" + color + "\"]");
|
||||
|
||||
Reference in New Issue
Block a user