forked from svrjs/svrjs
Add unknown licenses, but display "Unknown" as a license type
This commit is contained in:
parent
2783516c86
commit
de08646bba
1 changed files with 1 additions and 3 deletions
|
@ -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="float: right;">License: <%= license %></div>
|
||||
<div style="float: right;">License: <%= license ? license : "Unknown" %></div>
|
||||
<div style="font-size: 20px;">
|
||||
<b><%= moduleName %></b><% if (author) { %> (by <%= author %>)<% } %>
|
||||
</div>
|
||||
|
@ -9,4 +8,3 @@
|
|||
<b>Required by <%= name %>.</b><% } %>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
|
|
Reference in a new issue