File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<% - include (' head.ejs' ) %>
2- <img src =" <%= tenant.logo %>" alt =" <%= tenant.name %>" >
3- <h1 > <%= title || ' Error' %> </h1 >
4- <p ><%= message %> </p >
2+ <% if (( typeof tenant !== ' undefined ' ) && tenant && tenant . logo && tenant . name ) { % >< img src= " <%= tenant.logo %>" alt= " <%= tenant.name %>" >< % } % >
3+ <% if ( typeof title !== ' undefined ' ) { % >< h1> < %= title || ' Error' % >< / h1>< % } % >
4+ <% if ( typeof message !== ' undefined ' ) { % >< p>< %= message % >< / p>< % } % >
55<% - include (' foot.ejs' ) %>
Original file line number Diff line number Diff line change 11 </div >
2+ <% if (typeof tenant !== ' undefined' ) { % >
23 < p class = " fixed" > © < %= new Date ().getFullYear () % > CommTrackr< / p>
34 < p class = " fixed2" > Changes saved< / p>
5+ < % } else { % >
6+ < p class = " fixed" > Internal error< / p>
7+ < % } %>
48 </main >
9+ <% if (typeof tenant !== ' undefined' ) { % >
510 < script>
611 const appPath = ' <%= tenant.domain %><%= tenant.path %>' ;
712 < / script>
813 < script src= " <%= tenant.domain %><%= tenant.path %>/scripts.js" type= " module" >< / script>
14+ < % } %>
915</body >
1016
1117</html >
Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22<html lang =" en" >
33
4+ <% if (typeof tenant !== ' undefined' ) { % >
45< head>
56 < meta charset= " UTF-8" >
67 < meta name= " viewport" content= " width=device-width, initial-scale=1.0" >
2223 < link rel= " apple-touch-icon" href= " <%= tenant.logo %>" >
2324 < link rel= " stylesheet" href= " <%= tenant.domain %><%= tenant.path %>/styles.css" >
2425< / head>
26+ < % } %>
2527
2628<body >
2729 <main >
You can’t perform that action at this time.
0 commit comments