adjust submissions logo

This commit is contained in:
Pete Matsyburka
2023-11-22 22:15:10 +02:00
parent 542a443fb8
commit 0814c6d065
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -0,0 +1 @@
<%= render 'shared/logo', width: 40, height: 40 %>
+2 -2
View File
@@ -1,7 +1,7 @@
<div style="max-width: 1600px" class="mx-auto pl-4">
<div class="flex justify-between py-1.5 items-center pr-4 sticky top-0 md:relative z-10 bg-base-100">
<a href="<%= template_path(@submission.template) %>" class="flex space-x-3 py-1">
<span><%= render 'shared/logo', width: 40, height: 40 %></span>
<a href="<%= signed_in? ? template_path(@submission.template) : '/' %>" class="flex space-x-3 py-1">
<span><%= render 'submissions/logo' %></span>
<span class="text-3xl font-semibold focus:text-clip"><%= @submission.template.name %></span>
</a>
<div class="space-x-3 flex items-center">
+2 -2
View File
@@ -63,7 +63,7 @@ module Submissions
composer.new_page
composer.column(columns: 1) do |column|
add_logo(column)
add_logo(column, account)
column.text('Audit Log',
font_size: 16,
@@ -268,7 +268,7 @@ module Submissions
)
end
def add_logo(column)
def add_logo(column, _account = nil)
column.image(PdfIcons.logo_io, width: 40, height: 40, position: :float)
column.formatted_text([{ text: 'DocuSeal',