diff --git a/app/styles/components/_detail-learning-materials.scss b/app/styles/components/_detail-learning-materials.scss index 264cf1ec59..944aa2734d 100644 --- a/app/styles/components/_detail-learning-materials.scss +++ b/app/styles/components/_detail-learning-materials.scss @@ -21,3 +21,16 @@ top: 0; } } + +.learningmaterial-manager { + .downloadurl, + .weblink { + button { + background: 0; + color: $ilios-blue; + font-size: .8 * $base-font-size; + margin: 0 .5em; + padding: 0; + } + } +} diff --git a/app/templates/components/learningmaterial-manager.hbs b/app/templates/components/learningmaterial-manager.hbs index 0059825dff..2fcfb829fc 100644 --- a/app/templates/components/learningmaterial-manager.hbs +++ b/app/templates/components/learningmaterial-manager.hbs @@ -111,7 +111,12 @@
{{/if}} @@ -119,7 +124,12 @@
- {{learningMaterial.learningMaterial.filename}} + + {{learningMaterial.learningMaterial.filename}} + {{#copy-button clipboardText=learningMaterial.learningMaterial.absoluteFileUri}} + {{fa-icon 'copy'}} + {{/copy-button}} +
{{/if}} diff --git a/package.json b/package.json index f5d6432ddd..927067e8ac 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,6 @@ "ember-cli-deploy-s3-index": "0.5.0", "ember-cli-deprecation-workflow": "0.2.3", "ember-cli-flash": "1.3.16", - "ember-font-awesome": "2.1.1", "ember-cli-htmlbars": "^1.0.11", "ember-cli-htmlbars-inline-precompile": "^0.3.1", "ember-cli-inject-live-reload": "^1.4.0", @@ -63,6 +62,7 @@ "ember-cp-validations": "2.9.4", "ember-data": "^2.7.0", "ember-export-application-global": "^1.0.5", + "ember-font-awesome": "2.1.1", "ember-froala": "2.3.4", "ember-i18n": "4.2.2", "ember-i18n-cp-validations": "2.6.0",