Show license on Apps cards

This commit is contained in:
lostinlight 2020-08-31 01:13:47 +03:00
parent 3c398bee6f
commit d507897c8a
2 changed files with 8 additions and 0 deletions

View file

@ -93,6 +93,10 @@ layout: layout
<% } %> <% } %>
<h4 class="card__subtitle">Protocols</h4> <h4 class="card__subtitle">Protocols</h4>
<p><%= apps[item].protocols %></p> <p><%= apps[item].protocols %></p>
<% if (apps[item].license) { %>
<h4 class="card__subtitle">License</h4>
<p><%= apps[item].license %></p>
<% } %>
<% if (apps[item].FediAccount) { %> <% if (apps[item].FediAccount) { %>
<h4 class="card__subtitle">Contact</h4> <h4 class="card__subtitle">Contact</h4>
<p><%= apps[item].FediAccount %></p> <p><%= apps[item].FediAccount %></p>

View file

@ -92,6 +92,10 @@ layout: layout
<% } %> <% } %>
<h4 class="card__subtitle">Protocols</h4> <h4 class="card__subtitle">Protocols</h4>
<p><%= apps[item].protocols %></p> <p><%= apps[item].protocols %></p>
<% if (apps[item].license) { %>
<h4 class="card__subtitle">License</h4>
<p><%= apps[item].license %></p>
<% } %>
<% if (apps[item].FediAccount) { %> <% if (apps[item].FediAccount) { %>
<h4 class="card__subtitle">Contact</h4> <h4 class="card__subtitle">Contact</h4>
<p><%= apps[item].FediAccount %></p> <p><%= apps[item].FediAccount %></p>