2013-10-30 20:23:28 +02:00
< div class = "sidebar" >
2013-04-09 12:41:25 -04:00
2015-10-25 15:17:13 +10:30
< a href = "#" data-clipboard-target = "#license-text" data-proofer-ignore = "true" class = "js-clipboard-button button" > Copy license text to clipboard< / a >
2018-10-09 18:27:26 +00:00
< h3 > Suggest this license< / h3 >
2018-10-14 20:21:54 -03:00
< div class = "repository-suggestion" >
< input type = "text" data-license-id = "{{ page.spdx-id }}" placeholder = "Type a repository URL" id = "repository-url" title = "status" / >
< div class = "status-indicator" > < / div >
< / div >
2017-12-31 10:03:56 -08:00
2013-10-31 12:32:36 +02:00
< div class = "how-to-apply" >
2016-04-04 10:58:44 -07:00
< h3 > How to apply this license< / h3 >
2013-10-31 12:32:36 +02:00
< p >
2016-03-10 20:09:35 -08:00
{{ page.how | markdownify | remove: '< p > ' | remove: '< / p > ' }}
2013-10-31 12:32:36 +02:00
< / p >
{% if page.note %}
< p class = "note" >
2016-03-10 20:09:35 -08:00
< strong > Note: < / strong > {{ page.note | markdownify | remove: '< p > ' | remove: '< / p > ' }}
2013-10-31 12:32:36 +02:00
< / p >
2013-10-23 07:37:32 +02:00
{% endif %}
2016-05-30 18:34:51 -07:00
{% assign xgpl = false %}
{% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %}
2018-05-22 13:39:44 -07:00
< p class = "note" > < strong > Optional: < / strong > Add < strong > < code > {{ page.spdx-id }}{% if xgpl %}-or-later{% endif %}< / code > < / strong > {% if xgpl %} (or < strong > < code > {{ page.spdx-id }}-only< / code > < / strong > to disallow future versions){% endif %} to your project's package description, if applicable (e.g., < a href = "https://docs.npmjs.com/files/package.json#license" > Node.js< / a > , < a href = "https://guides.rubygems.org/specification-reference/#license=" > Ruby< / a > , and < a href = "https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata" > Rust< / a > ). This will ensure the license is displayed in package directories.< / p >
2013-10-31 12:32:36 +02:00
< / div >
2016-05-30 18:20:45 -07:00
2013-10-31 12:32:36 +02:00
{% if page.source %}
< div class = "source" >
2018-08-04 14:07:24 -07:00
< a href = "https://spdx.org/licenses/{{ page.spdx-id }}.html" >
2013-12-15 09:21:24 +02:00
< span class = "license-sprite" > < / span >
Source
< / a >
2013-10-31 12:32:36 +02:00
< / div >
{% endif %}
2013-04-09 12:41:25 -04:00
2013-10-31 12:32:36 +02:00
{% if page.using %}
< div class = "projects-with-license" >
< h3 > Who's using this license?< / h3 >
< ul >
{% for using in page.using %}
2015-11-02 16:34:17 +00:00
{% for hash in using %}
< li > < a href = "{{ hash[1] }}" target = "_blank" > {{ hash[0] }}< / a > < / li >
{% endfor %}
2013-10-31 12:32:36 +02:00
{% endfor %}
< / ul >
< / div >
{% endif %}
2013-09-25 08:58:07 -04:00
2013-10-31 12:32:36 +02:00
< / div > <!-- /sidebar -->