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">
|
||||
<img src="img/<%= filenameProfilePic %> " alt="">
|
||||
</div>
|
||||
<% if(summaryText !== '') { %>
|
||||
<div class="status-bar">
|
||||
<div class="status-bar-field"><%= summaryText %></div>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
<div class="window link-window">
|
||||
<div class="title-bar">
|
||||
|
|
|
@ -18,10 +18,12 @@
|
|||
<% }) %>
|
||||
</div>
|
||||
<div class="smallLinkbox">
|
||||
<% if(smallLinks && smallLinks.length > 0) { %>
|
||||
<% smallLinks.forEach(link => { %>
|
||||
<a href="<%= link.hyperlink %>">
|
||||
<i class="fa fa-<%= link.platform.toLowerCase() %>" aria-hidden="true"></i>
|
||||
</a>
|
||||
<% }) %>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue