diff --git a/public/s/js/settings.js b/public/s/js/settings.js index 7be5f2d..c91f5f3 100644 --- a/public/s/js/settings.js +++ b/public/s/js/settings.js @@ -622,7 +622,7 @@ } const croppedFile = new File([blob], file.name.replace(/\.[^/.]+$/, "") + ".webp", { type: 'image/webp' }); cleanup(); - resolve({ file: croppedFile, file_orig: file, banner_position: 'center', banner_size: 'cover' }); + resolve({ file: croppedFile, file_orig: file, banner_position: 'center top', banner_size: 'cover' }); }, 'image/webp', 0.9); }); diff --git a/views/user-partial.html b/views/user-partial.html index 2d1004e..d5d8202 100644 --- a/views/user-partial.html +++ b/views/user-partial.html @@ -40,6 +40,9 @@ @endif + @if(session && session.id === user.user_id) + + @endif
@@ -76,8 +79,6 @@ @endif @endif - @else - @endif
@endif