UX: Add info when poll is public.

This commit is contained in:
Guo Xiang Tan
2016-06-09 22:15:08 +08:00
parent ff577405ae
commit 5a03eca74a
4 changed files with 14 additions and 0 deletions

View File

@ -138,6 +138,10 @@
if (help) { info.push(["p", help]); }
}
if (attributes[DATA_PREFIX + "public"] === "true") {
info.push(["p", I18n.t("poll.public.title")]);
}
poll.push(info);
// 3 - BUTTONS