Commit b818628e by Nilu

C screens : Logo very small

No text for company name – if logo is symbol only then can’t tell company name
If job has a Client & the Client does not have a logo then the logo of the Hiring Team should be used discussed
parent 829965a4
......@@ -503,7 +503,7 @@ public class Job extends BaseJob
public BinaryContent getLogo()
{
if(isClientAvailable())
if(isClientAvailable() && getClient().getClientLogo() != null)
{
return getClient().getClientLogo();
}
......@@ -515,6 +515,20 @@ public class Job extends BaseJob
return null;
}
public String getTeamName()
{
if(isClientAvailable())
{
return getClient().getClientName();
}
else if(getHiringTeam() != null)
{
return getHiringTeam().getHiringTeamName();
}
return null;
}
public List<JobStatus> getAvailableStatus()
{
......
......@@ -116,14 +116,15 @@
if(logo != null)
{
int logoHeight = 45;
int logoHeight = 180;
%>
<div class="verify-aust-logo">
<tagfile:img src="<%= ThumbnailUtils.filterImage(DiskFileBinaryContent.getRelativeURL(logo), "KEEP", new ScaleWithin (0, logoHeight)) %>" />
<tagfile:img src="<%= ThumbnailUtils.filterImage(DiskFileBinaryContent.getRelativeURL(logo), "KEEP", new ScaleWithin (logoHeight, 0)) %>" />
</div>
<%
}
%>
<div class="pl-confirm text-center"><%= job.getTeamName() %></div>
<div class="pl-confirm text-center">Please confirm your details to continue</div>
<div class="main-box-layout main-verify-step-2">
<div class="form-group text-left">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment