adjust submissions logo
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
<%= render 'shared/logo', width: 40, height: 40 %>
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
<div style="max-width: 1600px" class="mx-auto pl-4">
|
<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">
|
<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">
|
<a href="<%= signed_in? ? template_path(@submission.template) : '/' %>" class="flex space-x-3 py-1">
|
||||||
<span><%= render 'shared/logo', width: 40, height: 40 %></span>
|
<span><%= render 'submissions/logo' %></span>
|
||||||
<span class="text-3xl font-semibold focus:text-clip"><%= @submission.template.name %></span>
|
<span class="text-3xl font-semibold focus:text-clip"><%= @submission.template.name %></span>
|
||||||
</a>
|
</a>
|
||||||
<div class="space-x-3 flex items-center">
|
<div class="space-x-3 flex items-center">
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ module Submissions
|
|||||||
composer.new_page
|
composer.new_page
|
||||||
|
|
||||||
composer.column(columns: 1) do |column|
|
composer.column(columns: 1) do |column|
|
||||||
add_logo(column)
|
add_logo(column, account)
|
||||||
|
|
||||||
column.text('Audit Log',
|
column.text('Audit Log',
|
||||||
font_size: 16,
|
font_size: 16,
|
||||||
@@ -268,7 +268,7 @@ module Submissions
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
def add_logo(column)
|
def add_logo(column, _account = nil)
|
||||||
column.image(PdfIcons.logo_io, width: 40, height: 40, position: :float)
|
column.image(PdfIcons.logo_io, width: 40, height: 40, position: :float)
|
||||||
|
|
||||||
column.formatted_text([{ text: 'DocuSeal',
|
column.formatted_text([{ text: 'DocuSeal',
|
||||||
|
|||||||
Reference in New Issue
Block a user