Browse Source

UI-1185: added help message to virtual receptionnist greetings section

4.3
Maxime Roux 11 years ago
parent
commit
06daa466c2
4 changed files with 14 additions and 2 deletions
  1. +4
    -1
      i18n/en-US.json
  2. +3
    -1
      i18n/fr-FR.json
  3. +1
    -0
      submodules/strategy/strategy.css
  4. +6
    -0
      views/strategy-menuPopup.html

+ 4
- 1
i18n/en-US.json View File

@ -671,7 +671,10 @@
"for": "for",
"__comment": "UI-1025: Updating media file uploads throughout the UI",
"__version": "3.20_s3",
"fileUploadButton": "Choose File"
"fileUploadButton": "Choose File",
"__comment": "UI-1185: Adding a help message to the greetings",
"__version": "3.20_s4",
"greetingsHelp": "You need to click the \"Update\" button in order to save your changes for the greeting message."
},
"open": "Open",
"closed": "Closed",


+ 3
- 1
i18n/fr-FR.json View File

@ -630,7 +630,9 @@
"line4": "Enregistrer votre messages! :)."
},
"pressKey": "Appuyer",
"for": "pour"
"for": "pour",
"fileUploadButton": "Choisir fichier",
"greetingsHelp": "Vous devez cliquer sur le bouton \"Mettre à jour\" pour sauvegarder les changements apportés au message d'accueil."
},
"open": "Ouvert",
"closed": "Fermé",


+ 1
- 0
submodules/strategy/strategy.css View File

@ -564,6 +564,7 @@
}
#strategy_menu_popup .menu-block .menu-line .number-input {
width: 18px;
text-align: center;
}
#strategy_menu_popup .menu-block .menu-line .number-text {
width: 32px;


+ 6
- 0
views/strategy-menuPopup.html View File

@ -24,6 +24,9 @@
</div>
<div class="collapse" id="strategy_menu_popup_tts_greeting">
<div class="greeting-option-content">
{{#monsterText}}
{{i18n.strategy.popup.greetingsHelp}}
{{/monsterText}}
<textarea placeholder="{{i18n.strategy.popup.ttsGreetingPlaceholder}}">
{{#compare greeting.media_source '===' 'tts'}}{{greeting.tts.text}}{{/compare}}
</textarea>
@ -43,6 +46,9 @@
</div>
<div class="collapse" id="strategy_menu_popup_upload_greeting">
<div class="greeting-option-content">
{{#monsterText}}
{{i18n.strategy.popup.greetingsHelp}}
{{/monsterText}}
<input type="file" class="upload-input" accept="audio/*">
<div class="greeting-option-actions clearfix">
<button class="update-greeting pull-right monster-button-mini monster-button-primary">{{i18n.update}}</button>


Loading…
Cancel
Save