2013-04-09 12:41:25 -04:00
|
|
|
<div class='sidebar'>
|
|
|
|
|
|
|
|
<a href="#" data-clipboard-target="license-text" class="js-clipboard-button button">Copy license text to clipboard</a>
|
2013-09-25 08:58:07 -04:00
|
|
|
<div class='how-to-apply'>
|
2013-04-09 12:41:25 -04:00
|
|
|
<h5>How to apply this license</h5>
|
|
|
|
<p>
|
2013-07-18 11:08:24 -05:00
|
|
|
{{ page.how }}
|
2013-04-09 12:41:25 -04:00
|
|
|
</p>
|
|
|
|
{% if page.note %}
|
|
|
|
<p class="note">
|
|
|
|
<strong>Note: </strong> {{ page.note }}
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<div class="source">
|
|
|
|
<a href="{{ page.source}}">Source</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="license-rules license-rules-sidebar">
|
|
|
|
|
|
|
|
{% assign types = "required|permitted|forbidden" | split: "|" %}
|
|
|
|
{% for type in types %}
|
|
|
|
<h3>{{ type | capitalize }}</h3>
|
|
|
|
<ul class="license-{{ type }}">
|
|
|
|
{% for req in page[type] %}
|
|
|
|
<li class="{{ req }}">{{ site.rules[type][req].label }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% if page.using %}
|
|
|
|
<div class="projects-with-license">
|
|
|
|
<h3>Who's using this license?</h3>
|
|
|
|
<ul>
|
|
|
|
{% for using_hash in page.using %}
|
2013-04-16 14:10:15 -04:00
|
|
|
{% for using in using_hash %}
|
2013-04-16 14:11:22 -04:00
|
|
|
<li><a href="{{ using[1] }}" target="_blank">{{ using[0] }}</a></li>
|
2013-04-16 14:10:15 -04:00
|
|
|
{% endfor %}
|
2013-04-09 12:41:25 -04:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2013-09-25 08:58:07 -04:00
|
|
|
|
2013-07-17 17:30:55 -05:00
|
|
|
</div><!-- /sidebar -->
|