FIX upload hints (#4357)

This commit is contained in:
Régis Hanol 2016-07-31 17:03:37 +02:00 committed by GitHub
commit e79c216bc0
2 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export default Ember.Controller.extend(ModalFunctionality, {
return allowsAttachments() ? "upload" : "picture-o"; return allowsAttachments() ? "upload" : "picture-o";
}, },
@computed('controller.local') @computed('local')
tip(local) { tip(local) {
const source = local ? "local" : "remote"; const source = local ? "local" : "remote";
const authorized_extensions = authorizesAllExtensions() ? "" : `(${authorizedExtensions()})`; const authorized_extensions = authorizesAllExtensions() ? "" : `(${authorizedExtensions()})`;

View File

@ -18,6 +18,7 @@
} }
.description, .hint { .description, .hint {
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
display: block;
} }
.hint { .hint {
font-style: italic; font-style: italic;