added license to video

This commit is contained in:
Jesús 2019-04-26 22:49:42 -05:00
parent 93064a23dd
commit 911368e427
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
6 changed files with 141 additions and 13 deletions

View File

@ -2,6 +2,7 @@ Author: Free Software Foundation
Category: GNU Category: GNU
Date: 2008-09-02 21:04:48 Date: 2008-09-02 21:04:48
Image: 2008/09/happy-gnu.jpg Image: 2008/09/happy-gnu.jpg
License: CC BY-ND 3.0
Slug: happy-birthday-to-gnu Slug: happy-birthday-to-gnu
Tags: GNU Tags: GNU
Time: 5:51 Time: 5:51

View File

@ -3,6 +3,7 @@ Category: Cine
Date: 2017-02-01 00:03 Date: 2017-02-01 00:03
Image: 2017/02/locutus-gnu.jpg Image: 2017/02/locutus-gnu.jpg
Lang: es Lang: es
License: Public Domain
Modified: 2019-02-10 12:23 Modified: 2019-02-10 12:23
Og_video: https://archive.org/download/libreweb/locutus.webm Og_video: https://archive.org/download/libreweb/locutus.webm
Slug: locutus-de-gnu Slug: locutus-de-gnu

View File

@ -2,6 +2,7 @@ Author: Jesús E.
Category: Opinión Category: Opinión
Date: 2018-06-09 10:07 Date: 2018-06-09 10:07
Image: 2018/06/rms-dominio-digital.jpg Image: 2018/06/rms-dominio-digital.jpg
License: CC BY-ND 4.0
Og_video: https://archive.org/download/libreweb/StallmanenDominioDigital.webm Og_video: https://archive.org/download/libreweb/StallmanenDominioDigital.webm
Slug: rms-en-dominio-digital Slug: rms-en-dominio-digital
Tags: GNU/Linux Tags: GNU/Linux
@ -29,7 +30,7 @@ la Entrevista en vídeo.
Argentina entre 1996 y 2011.En el año 2018 volvió en formato de radio. Argentina entre 1996 y 2011.En el año 2018 volvió en formato de radio.
Sus integrantes son **Claudio Regis** (Conductor) y **Daniela Gastaminza**, Sus integrantes son **Claudio Regis** (Conductor) y **Daniela Gastaminza**,
**Alejandro Ponike** y **Daniel "Chacal"** Sentinelli (columnistas). **Alejandro Ponike** y **Daniel "Chacal" Sentinelli** (columnistas).
</details> </details>
[rms]: https://es.wikipedia.org/wiki/Richard_Stallman [rms]: https://es.wikipedia.org/wiki/Richard_Stallman

View File

@ -3,6 +3,7 @@ Category: Cine
Date: 2017-07-16 12:15 Date: 2017-07-16 12:15
Image: 2017/07/sin-parar.jpg Image: 2017/07/sin-parar.jpg
Lang: es Lang: es
License: CC BY-SA 3.0
Modified: 2019-02-10 11:46:44 Modified: 2019-02-10 11:46:44
Og_video: https://archive.org/download/libreweb/sin-parar.webm Og_video: https://archive.org/download/libreweb/sin-parar.webm
Slug: sin-parar Slug: sin-parar
@ -24,14 +25,3 @@ generación tras generación hay alguien encargado de revisarlo
minuciosamente [...] y que pueda seguir funcionando en todo el mundo sin minuciosamente [...] y que pueda seguir funcionando en todo el mundo sin
parar». Así comienza este cortometraje educativo sobre el sistema parar». Así comienza este cortometraje educativo sobre el sistema
capitalista. ¿Seguirá funcionando siempre **sin parar**? capitalista. ¿Seguirá funcionando siempre **sin parar**?
<details markdown="span">
<summary>Mostrar Más</summary>
El vídeo se encuentra bajo la licencia <a href="http://creativecommons.org/licenses/by-sa/3.0/"
target="_blank" rel="noopener noreferrer">
<abbr title="Attribution-ShareAlike 3.0 Unported">CC BY-SA 3.0</abbr></a> y fue
obtenido de
[la instancia de Mediagoblin de Roaming Initiative][sinparar]{:target="_blank" rel="noopener noreferrer"}
</details>
[sinparar]: http://roaming-initiative.com/mediagoblin/u/rafapoverello/m/sin-parar/

View File

@ -76,11 +76,67 @@
<div class="col-md-8"> <div class="col-md-8">
<!-- dinamic article content --> <!-- dinamic article content -->
<div class="ml-3"> <div class="ml-3 mb-3">
{{ article.content }} {{ article.content }}
</div> </div>
<!-- End dinamic article content --> <!-- 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 --> <!-- Author -->
<div class="ml-3"> <div class="ml-3">
<hr class="hr-author"> <hr class="hr-author">

View File

@ -117,6 +117,85 @@ SOCIAL = {
'pump': '#' 'pump': '#'
} }
LICENSE = {
'allrights': {
'name': 'All rights reserved'
},
'ccby4': {
'name': 'CC BY 4.0',
'fullname': 'Attribution 4.0 International',
'url': 'https://creativecommons.org/licenses/by/4.0/'
},
'ccbysa4': {
'name': 'CC BY-SA 4.0',
'fullname': 'Attribution-ShareAlike 4.0 International',
'url': 'https://creativecommons.org/licenses/by-sa/4.0/'
},
'ccbynd4': {
'name': 'CC BY-ND 4.0',
'fullname': 'Attribution-NoDerivatives 4.0 International',
'url': 'https://creativecommons.org/licenses/by-nd/4.0/'
},
'ccbync4': {
'name': 'CC BY-NC 4.0',
'fullname': 'Attribution-NonCommercial 4.0 International',
'url': 'https://creativecommons.org/licenses/by-nc/4.0/'
},
'ccbyncsa4': {
'name': 'CC BY-NC-SA 4.0',
'fullname': 'Attribution-NonCommercial-ShareAlike 4.0 International',
'url': 'https://creativecommons.org/licenses/by-nc-sa/4.0/'
},
'ccbyncnd4': {
'name': 'CC BY-NC-ND 4.0',
'fullname': 'Attribution-NonCommercial-NoDerivatives 4.0 International',
'url': 'https://creativecommons.org/licenses/by-nc-nd/4.0/'
},
'ccby3': {
'name': 'CC BY 3.0',
'fullname': 'Attribution 3.0 International',
'url': 'https://creativecommons.org/licenses/by/3.0/'
},
'ccbysa3': {
'name': 'CC BY-SA 3.0',
'fullname': 'Attribution-ShareAlike 3.0 International',
'url': 'https://creativecommons.org/licenses/by-sa/3.0/'
},
'ccbynd3': {
'name': 'CC BY-ND 3.0',
'fullname': 'Attribution-NoDerivatives 3.0 International',
'url': 'https://creativecommons.org/licenses/by-nd/3.0/'
},
'ccbync3': {
'name': 'CC BY-NC 3.0',
'fullname': 'Attribution-NonCommercial 3.0 International',
'url': 'https://creativecommons.org/licenses/by-nc/3.0/'
},
'ccbyncsa3': {
'name': 'CC BY-NC-SA 3.0',
'fullname': 'Attribution-NonCommercial-ShareAlike 3.0 International',
'url': 'https://creativecommons.org/licenses/by-nc-sa/3.0/'
},
'ccbyncnd3': {
'name': 'CC BY-NC-ND 3.0',
'fullname': 'Attribution-NonCommercial-NoDerivatives 3.0 International',
'url': 'https://creativecommons.org/licenses/by-nc-nd/3.0/'
},
'cc01': {
'name': 'CC0 1.0',
'fullname': 'CC0 1.0 Universal - Public Domain Dedication',
'url': 'https://creativecommons.org/publicdomain/zero/1.0/'
},
'publicdomain': {
'name': 'Public Domain',
'url': 'https://creativecommons.org/publicdomain/mark/1.0/'
}
}
ANOTHER_READ_MORE_LINK = 'Continúa leyendo <span class="screen-reader-text">{title}</span>' ANOTHER_READ_MORE_LINK = 'Continúa leyendo <span class="screen-reader-text">{title}</span>'
ANOTHER_READ_MORE_LINK_FORMAT = ' <a class="more-link" href="{url}#read_more_link">{text}</a>' ANOTHER_READ_MORE_LINK_FORMAT = ' <a class="more-link" href="{url}#read_more_link">{text}</a>'