diff --git a/customize.dist/src/less2/include/icons.less b/customize.dist/src/less2/include/icons.less
index a79bc25f5..03a6af5ab 100644
--- a/customize.dist/src/less2/include/icons.less
+++ b/customize.dist/src/less2/include/icons.less
@@ -25,6 +25,10 @@
text-overflow: ellipsis;
word-wrap: break-word;
}
+ &.cp-icons-element-selected {
+ background-color: white;
+ color: #666;
+ }
.fa {
display: block;
font-size: 64px;
diff --git a/customize.dist/src/less2/include/toolbar.less b/customize.dist/src/less2/include/toolbar.less
index a070c8af6..6f49250f4 100644
--- a/customize.dist/src/less2/include/toolbar.less
+++ b/customize.dist/src/less2/include/toolbar.less
@@ -208,6 +208,7 @@
width: auto;
margin: 0;
padding: 0;
+ outline: none;
}
label[for="cp-app-toolbar-creation-advanced"] {
margin: 0;
diff --git a/customize.dist/translations/messages.fr.js b/customize.dist/translations/messages.fr.js
index 08b974821..1a22c70ab 100644
--- a/customize.dist/translations/messages.fr.js
+++ b/customize.dist/translations/messages.fr.js
@@ -864,7 +864,8 @@ define(function () {
out.creation_expiration = "Date d'expiration";
out.creation_propertiesTitle = "Disponibilité";
out.creation_appMenuName = "Mode avancé (Ctrl + E)";
- out.creation_newPadModalDescription = "Cliquez sur un type de pad pour le créer. Vous pouvez cocher la case pour afficher l'écran de création de pads";
+ out.creation_newPadModalDescription = "Cliquez sur un type de pad pour le créer. Vous pouvez aussi appuyer sur Tab pour sélectionner un type et appuyer sur Entrée pour valider.";
+ out.creation_newPadModalDescriptionAdvanced = "Cochez la case si vous souhaitez voir l'écran de création de pads (pour les pads possédés ou à date d'expiration). Vous pouvez appuyer sur Espace pour changer sa valeur.";
out.creation_newPadModalAdvanced = "Afficher l'écran de création de pads";
// New share modal
diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js
index 1e15eac1c..da9cad5e7 100644
--- a/customize.dist/translations/messages.js
+++ b/customize.dist/translations/messages.js
@@ -902,7 +902,8 @@ define(function () {
out.creation_expiration = "Expiration time";
out.creation_propertiesTitle = "Availability";
out.creation_appMenuName = "Advanced mode (Ctrl + E)";
- out.creation_newPadModalDescription = "Click on a pad type to create it. You can check the box if you want to display the pad creation screen (for owned pads, expiring pads, etc.).";
+ out.creation_newPadModalDescription = "Click on a pad type to create it. You can also press Tab to select the type and press Enter to confirm.";
+ out.creation_newPadModalDescriptionAdvanced = "You can check the box (or press Space to change its value) if you want to display the pad creation screen (for owned pads, expiring pads, etc.).";
out.creation_newPadModalAdvanced = "Display the pad creation screen";
// New share modal
diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js
index 502f18bea..5c0d3a2c0 100644
--- a/www/common/common-ui-elements.js
+++ b/www/common/common-ui-elements.js
@@ -1528,6 +1528,7 @@ define([
if (!$blockContainer.length) {
$blockContainer = $('
').text(Messages.fm_newFile);
- var $description = $('
').text(Messages.creation_newPadModalDescription);
+ var $description = $('
').html(Messages.creation_newPadModalDescription);
$modal.find('.cp-modal').append($title);
$modal.find('.cp-modal').append($description);
var $advanced;
var $advancedContainer = $('
');
- if (common.isLoggedIn()) {
+ var priv = common.getMetadataMgr().getPrivateData();
+ var c = (priv.settings.general && priv.settings.general.creation) || {};
+ if (AppConfig.displayCreationScreen && common.isLoggedIn() && c.skip) {
$advanced = $('', {
type: 'checkbox',
checked: 'checked',
@@ -1575,9 +1578,12 @@ define([
$('