1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 14:19:43 +02:00

Replace UPLOAD with + for attachments action

This commit is contained in:
sauls8t 2019-06-25 16:53:43 +01:00
parent d6432afdad
commit 595301db64
3 changed files with 3 additions and 3 deletions

View file

@ -56,7 +56,7 @@ export default Component.extend(Modals, Notifier, {
let uploadUrl = `${url}/documents/${documentId}/attachments`;
// Handle upload clicks on button and anything inside that button.
let sel = ['#upload-document-files ', '#upload-document-files > span'];
let sel = ['#upload-document-files ', '#upload-document-files > i'];
for (var i=0; i < 2; i++) {
let dzone = new Dropzone(sel[i], {
headers: {

View file

@ -40,7 +40,7 @@
text-transform: uppercase;
vertical-align: super;
> span {
> i {
display: inline-block;
color: map-get($gray-shades, 600);
font-size: 1rem;

View file

@ -31,7 +31,7 @@
{{/each}}
{{#if canEdit}}
<li id="upload-document-files">
<span>Upload</span>
<i class="dicon {{constants.Icon.Plus}}"></i>
</li>
{{/if}}
</ul>