Fix/add translations and fix round attachments.

This commit is contained in:
Matias De lellis
2020-06-14 19:54:31 -03:00
parent 20e9512fa3
commit 666144b413
6 changed files with 26 additions and 13 deletions

View File

@@ -739,12 +739,12 @@ View.prototype = {
return;
}
sAttachts.parent().css('height', (500/sAttachts.length) + 'px');
sAttachts.first().children().first().css('border-top-left-radius', '8px');
sAttachts.first().children().first().children().css('border-top-left-radius', '8px');
sAttachts.each(function(index) {
$(this).css('width', (100/sAttachts.length) + '%');
$(this).css('left', (100/sAttachts.length)*index + '%');
});
sAttachts.last().children().first().css('border-top-right-radius', '8px');
sAttachts.last().children().first().children().css('border-top-right-radius', '8px');
},
_resizeAttachtsGrid: function() {
var attachtsgrids = $('#notes-grid-div .note-attachts');

View File

@@ -91,7 +91,7 @@
<button id='share-button'><?php p($l->t('Share'));?></button>
-->
<button id='attach-button' class='round-tool-button'>
<div class="icon-picture" title="{{t "quicknotes" "Add image"}}"></div>
<div class="icon-picture" title="{{t "quicknotes" "Attach file"}}"></div>
</button>
<button id='tag-button' class='round-tool-button'>
<div class="icon-tag" title="{{t "quicknotes" "Tags"}}"></div>