summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-08-22 15:44:07 +0000
committeralecpl <alec@alec.pl>2011-08-22 15:44:07 +0000
commit7a2bade211d2e8951dda2b88754a564670847b35 (patch)
treec458ec4503b8ef2039800c9b91c4e534334094a4 /program/js
parentf0bccb7fb23847b24c8bd598cfb75fc385550211 (diff)
- Added 'priority' column on messages list
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index bbb14e7ad..9da19b2bb 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1778,6 +1778,12 @@ function rcube_webmail()
html = expando;
else if (c == 'subject')
html = tree + cols[c];
+ else if (c == 'priority') {
+ if (flags.prio > 0 && flags.prio < 6)
+ html = '<span class="prio'+flags.prio+'">&nbsp;</span>';
+ else
+ html = '&nbsp;';
+ }
else
html = cols[c];