1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-28 07:31:45 +01:00

57 lines
1.7 KiB
HTML
Raw Normal View History

2013-07-13 10:38:53 -04:00
{% include header.html %}
2013-12-09 20:05:34 +02:00
<div class="clearfix">
2013-10-30 20:23:28 +02:00
<div class="license-body">
{% if page.nickname %}
<p class="license-nickname">
{{ page.nickname }}
</p>
{% endif %}
<p>
{{ page.description }}
</p>
<div class="license-page-details">
<table class="license-rules">
<tr>
{% assign types = "permissions|conditions|limitations" | split: "|" %}
{% for type in types %}
<th class="label">{{ type | capitalize }}</th>
{% endfor %}
</tr>
<tr>
{% for type in types %}
<td>
<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>
</td>
{% endfor %}
</tr>
</table>
</div>
<pre id="license-text">{{ content | replace:"<", "&lt;" | replace:">", "&gt;" }}</pre>
2013-12-09 20:05:34 +02:00
</div> <!-- /license-body -->
{% include sidebar.html %}
2013-12-09 20:05:34 +02:00
</div> <!-- /clearfix -->
2013-07-17 11:57:57 -05:00
{% include footer.html %}