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:
parent
d6432afdad
commit
595301db64
3 changed files with 3 additions and 3 deletions
|
@ -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: {
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
text-transform: uppercase;
|
||||
vertical-align: super;
|
||||
|
||||
> span {
|
||||
> i {
|
||||
display: inline-block;
|
||||
color: map-get($gray-shades, 600);
|
||||
font-size: 1rem;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue