1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-23 05:10:11 +01:00

47 lines
1.2 KiB
HTML
Raw Normal View History

2013-10-30 20:23:28 +02:00
<div class="sidebar">
<a href="#" data-clipboard-target="license-text" class="js-clipboard-button button">Copy license text to clipboard</a>
2013-10-30 20:23:28 +02:00
<div class="how-to-apply">
<h5>How to apply this license</h5>
<p>
2013-07-18 11:08:24 -05:00
{{ 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 }}">Source</a>
</div>
{% endif %}
<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>
2013-10-22 23:55:54 -07:00
{% for using in page.using %}
<li><a href="{{ using[1] }}" target="_blank">{{ using[0] }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
</div><!-- /sidebar -->