added license to video

This commit is contained in:
Jesús
2019-04-26 22:49:42 -05:00
parent 93064a23dd
commit 911368e427
6 changed files with 141 additions and 13 deletions

View File

@@ -76,11 +76,67 @@
<div class="col-md-8">
<!-- dinamic article content -->
<div class="ml-3">
<div class="ml-3 mb-3">
{{ article.content }}
</div>
<!-- End dinamic article content -->
<!-- License -->
<div class="d-flex align-items-center ml-3">
<h6 class="mr-3 font-weight-bold">{{ _('Licencia') }}</h6>
{% if article.license == LICENSE['allrights']['name'] %}
<!-- allrights -->
<a>{{ article.license }}</a>
<!-- cc - version 4 -->
{% elif article.license == LICENSE['ccby4']['name']%}
<!-- ccby4 -->
<a href="{{ LICENSE['ccby4']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['ccby4']['fullname'] }}">{{ article.license }}</abbr></a>
{% elif article.license == LICENSE['ccbysa4']['name']%}
<!-- ccbysa4 -->
<a href="{{ LICENSE['ccbysa4']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['ccbysa4']['fullname'] }}">{{ article.license }}</abbr></a>
{% elif article.license == LICENSE['ccbynd4']['name']%}
<!-- ccbynd4 -->
<a href="{{ LICENSE['ccbynd4']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['ccbynd4']['fullname'] }}">{{ article.license }}</abbr></a>
{% elif article.license == LICENSE['ccbync4']['name']%}
<!-- ccbync4 -->
<a href="{{ LICENSE['ccbync4']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['ccbync4']['fullname'] }}">{{ article.license }}</abbr></a>
{% elif article.license == LICENSE['ccbyncsa4']['name']%}
<!-- ccbyncsa4 -->
<a href="{{ LICENSE['ccbyncsa4']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['ccbyncsa4']['fullname'] }}">{{ article.license }}</abbr></a>
{% elif article.license == LICENSE['ccbyncnd4']['name']%}
<!-- ccbyncnd4 -->
<a href="{{ LICENSE['ccbyncnd4']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['ccbyncnd4']['fullname'] }}">{{ article.license }}</abbr></a>
<!-- cc - version 3 -->
{% elif article.license == LICENSE['ccby3']['name']%}
<!-- ccby3 -->
<a href="{{ LICENSE['ccby3']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['ccby3']['fullname'] }}">{{ article.license }}</abbr></a>
{% elif article.license == LICENSE['ccbysa3']['name']%}
<!-- ccbysa3 -->
<a href="{{ LICENSE['ccbysa3']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['ccbysa3']['fullname'] }}">{{ article.license }}</abbr></a>
{% elif article.license == LICENSE['ccbynd3']['name']%}
<!-- ccbynd3 -->
<a href="{{ LICENSE['ccbynd3']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['ccbynd3']['fullname'] }}">{{ article.license }}</abbr></a>
{% elif article.license == LICENSE['ccbync3']['name']%}
<!-- ccbync3 -->
<a href="{{ LICENSE['ccbync3']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['ccbync3']['fullname'] }}">{{ article.license }}</abbr></a>
{% elif article.license == LICENSE['ccbyncsa3']['name']%}
<!-- ccbyncsa3 -->
<a href="{{ LICENSE['ccbyncsa3']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['ccbyncsa3']['fullname'] }}">{{ article.license }}</abbr></a>
{% elif article.license == LICENSE['ccbyncnd3']['name']%}
<!-- ccbyncnd3 -->
<a href="{{ LICENSE['ccbyncnd3']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['ccbyncnd3']['fullname'] }}">{{ article.license }}</abbr></a>
{% elif article.license == LICENSE['cc01']['name']%}
<!-- cc01 -->
<a href="{{ LICENSE['cc01']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['cc01']['fullname'] }}">{{ article.license }}</abbr></a>
{% elif article.license == LICENSE['publicdomain']['name']%}
<!-- publicdomanin -->
<a href="{{ LICENSE['publicdomain']['url'] }}" rel="noopener noreferrer" target="_blank"><abbr title="{{ LICENSE['publicdomain']['fullname'] }}">{{ article.license }}</abbr></a>
{% else %}
<a href="https://creativecommons.org/licenses/by-sa/4.0/" rel="noopener noreferrer" target="_blank"><abbr title="Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>
{% endif %}
</div>
<!-- /License -->
<!-- Author -->
<div class="ml-3">
<hr class="hr-author">