Improve description UI in poll. Enable tags and mediatag

This commit is contained in:
yflory
2017-10-04 15:39:18 +02:00
parent 68bda92291
commit 846b1a9fb3
5 changed files with 62 additions and 7 deletions

View File

@@ -650,6 +650,7 @@ define([
h('textarea#cp-app-poll-description', {
rows: "5",
cols: "50",
placeholder: Msg.poll_descriptionHint,
disabled: true
}),
h('div#cp-app-poll-description-published'),

View File

@@ -246,7 +246,9 @@ define(function () {
out.poll_removeUser = "Êtes-vous sûr de vouloir supprimer cet utilisateur ?";
out.poll_titleHint = "Titre";
out.poll_descriptionHint = "Description";
out.poll_descriptionHint = "Décrivez votre sondage puis cliquer sur le bouton ✓ (Publier).\n" +
"La description peut contenir de la syntaxe markdown, et vous pouvez y ajouter des images stockées dans votre CryptDrive.\n" +
"Toutes les personnes possédant le lien d'édition de ce sondage peuvent modifier la description, bien que ce soit déconseillé.";
out.poll_remove = "Supprimer";
out.poll_edit = "Modifier";

View File

@@ -248,7 +248,9 @@ define(function () {
out.poll_removeUser = "Are you sure you'd like to remove this user?";
out.poll_titleHint = "Title";
out.poll_descriptionHint = "Describe your poll, and use the 'publish' button when you're done. Anyone with the link can change the description, but this is discouraged.";
out.poll_descriptionHint = "Describe your poll, and use the ✓ (publish) button when you're done.\n" +
"The description can be written using markdown syntax and you can embed media elements from your CryptDrive.\n" +
"Anyone with the link can change the description, but this is discouraged.";
out.poll_remove = "Remove";
out.poll_edit = "Edit";