1
0
Fork 0
forked from svrjs/svrjs

Add unknown licenses, but display "Unknown" as a license type

This commit is contained in:
Dorian Niemiec 2024-08-27 16:04:43 +02:00
parent 2783516c86
commit de08646bba

View file

@ -1,6 +1,5 @@
<% if ( license ) { %>
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;"> <div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
<div style="float: right;">License: <%= license %></div> <div style="float: right;">License: <%= license ? license : "Unknown" %></div>
<div style="font-size: 20px;"> <div style="font-size: 20px;">
<b><%= moduleName %></b><% if (author) { %> (by <%= author %>)<% } %> <b><%= moduleName %></b><% if (author) { %> (by <%= author %>)<% } %>
</div> </div>
@ -9,4 +8,3 @@
<b>Required by <%= name %>.</b><% } %> <b>Required by <%= name %>.</b><% } %>
</div> </div>
</div> </div>
<% } %>