Fixed bug with summaryText and smalllinks
This commit is contained in:
parent
191fdbcdc7
commit
1b0ae160f5
2 changed files with 12 additions and 5 deletions
|
@ -11,6 +11,11 @@
|
||||||
<div class="imgbox window-body">
|
<div class="imgbox window-body">
|
||||||
<img src="img/<%= filenameProfilePic %> " alt="">
|
<img src="img/<%= filenameProfilePic %> " alt="">
|
||||||
</div>
|
</div>
|
||||||
|
<% if(summaryText !== '') { %>
|
||||||
|
<div class="status-bar">
|
||||||
|
<div class="status-bar-field"><%= summaryText %></div>
|
||||||
|
</div>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
<div class="window link-window">
|
<div class="window link-window">
|
||||||
<div class="title-bar">
|
<div class="title-bar">
|
||||||
|
|
|
@ -18,10 +18,12 @@
|
||||||
<% }) %>
|
<% }) %>
|
||||||
</div>
|
</div>
|
||||||
<div class="smallLinkbox">
|
<div class="smallLinkbox">
|
||||||
<% smallLinks.forEach(link => { %>
|
<% if(smallLinks && smallLinks.length > 0) { %>
|
||||||
<a href="<%= link.hyperlink %>">
|
<% smallLinks.forEach(link => { %>
|
||||||
<i class="fa fa-<%= link.platform.toLowerCase() %>" aria-hidden="true"></i>
|
<a href="<%= link.hyperlink %>">
|
||||||
</a>
|
<i class="fa fa-<%= link.platform.toLowerCase() %>" aria-hidden="true"></i>
|
||||||
<% }) %>
|
</a>
|
||||||
|
<% }) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue