1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01:00

49 lines
2.4 KiB
HTML
Raw Normal View History

2013-10-30 20:23:28 +02:00
<div class="sidebar">
<a href="#" data-clipboard-target="#license-text" data-proofer-ignore="true" class="js-clipboard-button button">Copy license text to clipboard</a>
2018-10-19 08:23:57 +02:00
<h3 id="suggest-this-license">Suggest this license</h3>
<div class="repository-suggestion">
2018-10-19 08:23:57 +02:00
<p>Make a pull request to suggest this license fo a project that is <a href="/no-permission/">not licensed</a>. Please be polite: see if a license has already been suggested, try to suggest a license fitting for the project's <a href="/community/">community</a>, and keep your communicaton with project maintainers friendly.</p>
<div class="input-wrapper">
2018-10-19 08:23:57 +02:00
<input type="text" data-license-id="{{ page.spdx-id }}" placeholder="Enter GitHub repository URL" id="repository-url" title="status" />
<div class="status-indicator"></div>
</div>
2018-10-14 20:21:54 -03:00
</div>
<div class="how-to-apply">
<h3>How to apply this license</h3>
<p>
{{ page.how | markdownify | remove: '<p>' | remove: '</p>' }}
</p>
{% if page.note %}
<p class="note">
<strong>Note: </strong> {{ page.note | markdownify | remove: '<p>' | remove: '</p>' }}
</p>
{% endif %}
2016-05-30 18:34:51 -07:00
{% assign xgpl = false %}
{% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %}
<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>
</div>
<div class="source">
<a href="https://spdx.org/licenses/{{ page.spdx-id }}.html">
<span class="license-sprite"></span>
Source
</a>
</div>
{% if page.using %}
<div class="projects-with-license">
<h3>Who's using this license?</h3>
<ul>
{% for using in page.using %}
{% for hash in using %}
<li><a href="{{ hash[1] }}" target="_blank">{{ hash[0] }}</a></li>
{% endfor %}
{% endfor %}
</ul>
</div>
{% endif %}
</div> <!-- /sidebar -->