mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 04:40:09 +01:00
810eeb5618
and are structured grant (permissions) conditioned on (conditions) with limitations Permissions coming first combats mistaken but apparently widespread impression that licenses impose conditions, even such that without a license, there would be no conditions/work would be in the public domain. Requirements->Conditions emphasizes that they are pertinent if one wants to take advantage of permissions. Forbiddens->Limitations is more accurate: in most cases licenses don't give permission to hold licensors liable, in some cases to use licensors' trademarks or patents, but a licensee does not lose the permissions granted by the license if the licensee holds licensor liable, etc. Also emphasizes that there are limitatations on the license grant, not that the license imposes prohibitions. The most concise place to see both the rename and reorder is in _includes/license-overview.html I did not reorder the appearance of the groups of properties in license source files (.txt files in _licenses) as those orderings are not used to render anything on the webiste. Might do so later.
59 lines
1.5 KiB
HTML
59 lines
1.5 KiB
HTML
<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>
|
|
<div class="how-to-apply">
|
|
<h5>How to apply this license</h5>
|
|
<p>
|
|
{{ page.how }}
|
|
</p>
|
|
{% if page.note %}
|
|
<p class="note">
|
|
<strong>Note: </strong> {{ page.note }}
|
|
</p>
|
|
{% endif %}
|
|
</div>
|
|
{% if page.source %}
|
|
<div class="source">
|
|
<a href="{{ page.source }}">
|
|
<span class="license-sprite"></span>
|
|
Source
|
|
</a>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="license-rules license-rules-sidebar">
|
|
|
|
{% assign types = "permissions|conditions|limitations" | split: "|" %}
|
|
{% for type in types %}
|
|
<h3>{{ type | capitalize }}</h3>
|
|
<ul class="license-{{ type }}">
|
|
{% assign rules = site.data.rules[type] | sort: "label" %}
|
|
{% for rule_obj in rules %}
|
|
{% assign req = rule_obj.tag %}
|
|
{% if page[type] contains req %}
|
|
<li class="{{ req }}">
|
|
<span class="license-sprite"></span>
|
|
{{ rule_obj.label }}
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endfor %}
|
|
|
|
</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 -->
|