Disable comments when a poll is not published

This commit is contained in:
yflory
2017-10-09 14:08:54 +02:00
parent aa744567ed
commit dd141b5c9f
4 changed files with 31 additions and 10 deletions

View File

@@ -679,7 +679,8 @@ define([
]),
h('h2#cp-app-poll-comments-list-title', Msg.poll_comment_list),
h('div#cp-app-poll-comments-list')
])
]),
h('div#cp-app-poll-nocomments', Msg.poll_comment_disabled)
])
])
])

View File

@@ -267,6 +267,8 @@ define(function () {
out.poll_comment_submit = "Envoyer";
out.poll_comment_remove = "Supprimer ce commentaire";
out.poll_comment_disabled = "Publiez ce sondage en utilisant le bouton ✓ afin d'activer les commentaires.";
// Canvas
out.canvas_clear = "Nettoyer";
out.canvas_delete = "Supprimer la sélection";

View File

@@ -271,6 +271,8 @@ define(function () {
out.poll_comment_submit = "Send";
out.poll_comment_remove = "Delete this comment";
out.poll_comment_disabled = "Publish this poll using the ✓ button to enable the comments.";
// Canvas
out.canvas_clear = "Clear";
out.canvas_delete = "Delete selection";