Resolve "Fix CC icons in License module" #276

Merged
cedewey merged 1 commit from 100-fix-cc-icons into master 2018-11-14 02:30:45 +00:00
7 changed files with 144 additions and 46 deletions

View file

@ -1,11 +1,14 @@
{ {
"_links": { "_links": {
"self": { "self": {
"href": "http:\/\/default\/taxonomy\/term\/22?_format=hal_json" "href": "http:\/\/agaric-com.test\/taxonomy\/term\/22?_format=hal_json"
}, },
"type": { "type": {
"href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license"
} },
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
}, },
"tid": [ "tid": [
{ {
@ -28,6 +31,12 @@
"target_id": "license" "target_id": "license"
} }
], ],
"status": [
{
"value": true,
"lang": "en"
}
],
"name": [ "name": [
{ {
"value": "Attribution - NonCommercial - No Derivatives", "value": "Attribution - NonCommercial - No Derivatives",
@ -36,9 +45,9 @@
], ],
"description": [ "description": [
{ {
"value": "<a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/\"><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https:\/\/i.creativecommons.org\/l\/by-nc-nd\/4.0\/88x31.png\" \/><\/a><br \/>This work is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/\">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License<\/a>.", "value": "<p>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/\">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License<\/a>.<\/p>\r\n",
"format": "basic_html", "format": "basic_html",
"processed": "<a href=\"http:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/\"><img alt=\"Image removed.\" src=\"\/core\/misc\/icons\/e32700\/error.svg\" title=\"This image has been removed. For security reasons, only images from the local domain are allowed.\" height=\"16\" width=\"16\" class=\"filter-image-invalid\" \/><\/a><br \/>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/\">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License<\/a>.", "processed": "<p>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/\">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License<\/a>.<\/p>",
"lang": "en" "lang": "en"
} }
], ],
@ -47,9 +56,14 @@
"value": 0 "value": 0
} }
], ],
"_embedded": {
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
},
"changed": [ "changed": [
{ {
"value": "2018-09-30T08:58:19+00:00", "value": "2018-11-05T20:39:24+00:00",
"lang": "en", "lang": "en",
"format": "Y-m-d\\TH:i:sP" "format": "Y-m-d\\TH:i:sP"
} }
@ -64,7 +78,7 @@
{ {
"value": { "value": {
"title": "Attribution - NonCommercial - No Derivatives | Drutopia", "title": "Attribution - NonCommercial - No Derivatives | Drutopia",
"canonical_url": "http:\/\/default\/taxonomy\/term\/22", "canonical_url": "http:\/\/agaric-com.test\/taxonomy\/term\/22",
"description": "This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License." "description": "This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License."
} }
} }

View file

@ -1,11 +1,14 @@
{ {
"_links": { "_links": {
"self": { "self": {
"href": "http:\/\/default\/taxonomy\/term\/21?_format=hal_json" "href": "http:\/\/agaric-com.test\/taxonomy\/term\/21?_format=hal_json"
}, },
"type": { "type": {
"href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license"
} },
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
}, },
"tid": [ "tid": [
{ {
@ -28,6 +31,12 @@
"target_id": "license" "target_id": "license"
} }
], ],
"status": [
{
"value": true,
"lang": "en"
}
],
"name": [ "name": [
{ {
"value": "Attribution - NonCommercial - ShareAlike", "value": "Attribution - NonCommercial - ShareAlike",
@ -36,9 +45,9 @@
], ],
"description": [ "description": [
{ {
"value": "<a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https:\/\/i.creativecommons.org\/l\/by-nc-sa\/4.0\/88x31.png\" \/><\/a><br \/>This work is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License<\/a>.", "value": "<p>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License<\/a>.<\/p>\r\n",
"format": "basic_html", "format": "basic_html",
"processed": "<a href=\"http:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\"><img alt=\"Image removed.\" src=\"\/core\/misc\/icons\/e32700\/error.svg\" title=\"This image has been removed. For security reasons, only images from the local domain are allowed.\" height=\"16\" width=\"16\" class=\"filter-image-invalid\" \/><\/a><br \/>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License<\/a>.", "processed": "<p>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License<\/a>.<\/p>",
"lang": "en" "lang": "en"
} }
], ],
@ -47,9 +56,14 @@
"value": 0 "value": 0
} }
], ],
"_embedded": {
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
},
"changed": [ "changed": [
{ {
"value": "2018-09-30T08:57:33+00:00", "value": "2018-11-05T20:39:35+00:00",
"lang": "en", "lang": "en",
"format": "Y-m-d\\TH:i:sP" "format": "Y-m-d\\TH:i:sP"
} }
@ -64,7 +78,7 @@
{ {
"value": { "value": {
"title": "Attribution - NonCommercial - ShareAlike | Drutopia", "title": "Attribution - NonCommercial - ShareAlike | Drutopia",
"canonical_url": "http:\/\/default\/taxonomy\/term\/21", "canonical_url": "http:\/\/agaric-com.test\/taxonomy\/term\/21",
"description": "This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License." "description": "This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License."
} }
} }

View file

@ -1,11 +1,14 @@
{ {
"_links": { "_links": {
"self": { "self": {
"href": "http:\/\/default\/taxonomy\/term\/23?_format=hal_json" "href": "http:\/\/agaric-com.test\/taxonomy\/term\/23?_format=hal_json"
}, },
"type": { "type": {
"href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license"
} },
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
}, },
"tid": [ "tid": [
{ {
@ -28,6 +31,12 @@
"target_id": "license" "target_id": "license"
} }
], ],
"status": [
{
"value": true,
"lang": "en"
}
],
"name": [ "name": [
{ {
"value": "Copyright", "value": "Copyright",
@ -47,6 +56,11 @@
"value": 0 "value": 0
} }
], ],
"_embedded": {
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
},
"changed": [ "changed": [
{ {
"value": "2018-10-02T18:07:50+00:00", "value": "2018-10-02T18:07:50+00:00",
@ -64,7 +78,7 @@
{ {
"value": { "value": {
"title": "Copyright | Drutopia", "title": "Copyright | Drutopia",
"canonical_url": "http:\/\/default\/taxonomy\/term\/23", "canonical_url": "http:\/\/agaric-com.test\/taxonomy\/term\/23",
"description": "\u00a9 This work is copyrighted. Contact the author if you would like to share or repurpose it." "description": "\u00a9 This work is copyrighted. Contact the author if you would like to share or repurpose it."
} }
} }

View file

@ -1,11 +1,14 @@
{ {
"_links": { "_links": {
"self": { "self": {
"href": "http:\/\/default\/taxonomy\/term\/17?_format=hal_json" "href": "http:\/\/agaric-com.test\/taxonomy\/term\/17?_format=hal_json"
}, },
"type": { "type": {
"href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license"
} },
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
}, },
"tid": [ "tid": [
{ {
@ -28,6 +31,12 @@
"target_id": "license" "target_id": "license"
} }
], ],
"status": [
{
"value": true,
"lang": "en"
}
],
"name": [ "name": [
{ {
"value": "Attribution", "value": "Attribution",
@ -36,9 +45,9 @@
], ],
"description": [ "description": [
{ {
"value": "<a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by\/4.0\/\"><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https:\/\/i.creativecommons.org\/l\/by\/4.0\/88x31.png\" \/><\/a><br \/>This work is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by\/4.0\/\">Creative Commons Attribution 4.0 International License<\/a>.\r\n", "value": "<p>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by\/4.0\/\">Creative Commons Attribution 4.0 International License<\/a>.<\/p>\r\n",
"format": "basic_html", "format": "basic_html",
"processed": "<a href=\"http:\/\/creativecommons.org\/licenses\/by\/4.0\/\"><img alt=\"Image removed.\" src=\"\/core\/misc\/icons\/e32700\/error.svg\" title=\"This image has been removed. For security reasons, only images from the local domain are allowed.\" height=\"16\" width=\"16\" class=\"filter-image-invalid\" \/><\/a><br \/>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by\/4.0\/\">Creative Commons Attribution 4.0 International License<\/a>.", "processed": "<p>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by\/4.0\/\">Creative Commons Attribution 4.0 International License<\/a>.<\/p>",
"lang": "en" "lang": "en"
} }
], ],
@ -47,9 +56,14 @@
"value": 0 "value": 0
} }
], ],
"_embedded": {
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
},
"changed": [ "changed": [
{ {
"value": "2018-09-30T08:54:46+00:00", "value": "2018-11-05T21:13:51+00:00",
"lang": "en", "lang": "en",
"format": "Y-m-d\\TH:i:sP" "format": "Y-m-d\\TH:i:sP"
} }
@ -64,7 +78,7 @@
{ {
"value": { "value": {
"title": "Attribution | Drutopia", "title": "Attribution | Drutopia",
"canonical_url": "http:\/\/default\/taxonomy\/term\/17", "canonical_url": "http:\/\/agaric-com.test\/taxonomy\/term\/17",
"description": "This work is licensed under a Creative Commons Attribution 4.0 International License." "description": "This work is licensed under a Creative Commons Attribution 4.0 International License."
} }
} }

View file

@ -1,11 +1,14 @@
{ {
"_links": { "_links": {
"self": { "self": {
"href": "http:\/\/default\/taxonomy\/term\/19?_format=hal_json" "href": "http:\/\/agaric-com.test\/taxonomy\/term\/19?_format=hal_json"
}, },
"type": { "type": {
"href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license"
} },
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
}, },
"tid": [ "tid": [
{ {
@ -28,6 +31,12 @@
"target_id": "license" "target_id": "license"
} }
], ],
"status": [
{
"value": true,
"lang": "en"
}
],
"name": [ "name": [
{ {
"value": "Attribution - No Derivatives", "value": "Attribution - No Derivatives",
@ -36,9 +45,9 @@
], ],
"description": [ "description": [
{ {
"value": "<a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-nd\/4.0\/\"><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https:\/\/i.creativecommons.org\/l\/by-nd\/4.0\/88x31.png\" \/><\/a><br \/>This work is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-nd\/4.0\/\">Creative Commons Attribution-NoDerivatives 4.0 International License<\/a>.", "value": "<p>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-nd\/4.0\/\">Creative Commons Attribution-NoDerivatives 4.0 International License<\/a>.<\/p>\r\n",
"format": "basic_html", "format": "basic_html",
"processed": "<a href=\"http:\/\/creativecommons.org\/licenses\/by-nd\/4.0\/\"><img alt=\"Image removed.\" src=\"\/core\/misc\/icons\/e32700\/error.svg\" title=\"This image has been removed. For security reasons, only images from the local domain are allowed.\" height=\"16\" width=\"16\" class=\"filter-image-invalid\" \/><\/a><br \/>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-nd\/4.0\/\">Creative Commons Attribution-NoDerivatives 4.0 International License<\/a>.", "processed": "<p>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-nd\/4.0\/\">Creative Commons Attribution-NoDerivatives 4.0 International License<\/a>.<\/p>",
"lang": "en" "lang": "en"
} }
], ],
@ -47,9 +56,14 @@
"value": 0 "value": 0
} }
], ],
"_embedded": {
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
},
"changed": [ "changed": [
{ {
"value": "2018-09-30T08:56:18+00:00", "value": "2018-11-05T20:38:58+00:00",
"lang": "en", "lang": "en",
"format": "Y-m-d\\TH:i:sP" "format": "Y-m-d\\TH:i:sP"
} }
@ -64,7 +78,7 @@
{ {
"value": { "value": {
"title": "Attribution - No Derivatives | Drutopia", "title": "Attribution - No Derivatives | Drutopia",
"canonical_url": "http:\/\/default\/taxonomy\/term\/19", "canonical_url": "http:\/\/agaric-com.test\/taxonomy\/term\/19",
"description": "This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License." "description": "This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License."
} }
} }

View file

@ -1,11 +1,14 @@
{ {
"_links": { "_links": {
"self": { "self": {
"href": "http:\/\/default\/taxonomy\/term\/18?_format=hal_json" "href": "http:\/\/agaric-com.test\/taxonomy\/term\/18?_format=hal_json"
}, },
"type": { "type": {
"href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license"
} },
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
}, },
"tid": [ "tid": [
{ {
@ -28,6 +31,12 @@
"target_id": "license" "target_id": "license"
} }
], ],
"status": [
{
"value": true,
"lang": "en"
}
],
"name": [ "name": [
{ {
"value": "Attribution-ShareAlike", "value": "Attribution-ShareAlike",
@ -36,9 +45,9 @@
], ],
"description": [ "description": [
{ {
"value": "<a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\"><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https:\/\/i.creativecommons.org\/l\/by-sa\/4.0\/88x31.png\" \/><\/a><br \/>This work is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">Creative Commons Attribution-ShareAlike 4.0 International License<\/a>.", "value": "<p>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">Creative Commons Attribution-ShareAlike 4.0 International License<\/a>.<\/p>\r\n",
"format": "basic_html", "format": "basic_html",
"processed": "<a href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\"><img alt=\"Image removed.\" src=\"\/core\/misc\/icons\/e32700\/error.svg\" title=\"This image has been removed. For security reasons, only images from the local domain are allowed.\" height=\"16\" width=\"16\" class=\"filter-image-invalid\" \/><\/a><br \/>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">Creative Commons Attribution-ShareAlike 4.0 International License<\/a>.", "processed": "<p>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">Creative Commons Attribution-ShareAlike 4.0 International License<\/a>.<\/p>",
"lang": "en" "lang": "en"
} }
], ],
@ -47,9 +56,14 @@
"value": 0 "value": 0
} }
], ],
"_embedded": {
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
},
"changed": [ "changed": [
{ {
"value": "2018-09-30T08:55:26+00:00", "value": "2018-11-05T20:39:47+00:00",
"lang": "en", "lang": "en",
"format": "Y-m-d\\TH:i:sP" "format": "Y-m-d\\TH:i:sP"
} }
@ -64,7 +78,7 @@
{ {
"value": { "value": {
"title": "Attribution-ShareAlike | Drutopia", "title": "Attribution-ShareAlike | Drutopia",
"canonical_url": "http:\/\/default\/taxonomy\/term\/18", "canonical_url": "http:\/\/agaric-com.test\/taxonomy\/term\/18",
"description": "This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License." "description": "This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License."
} }
} }

View file

@ -1,11 +1,14 @@
{ {
"_links": { "_links": {
"self": { "self": {
"href": "http:\/\/default\/taxonomy\/term\/20?_format=hal_json" "href": "http:\/\/agaric-com.test\/taxonomy\/term\/20?_format=hal_json"
}, },
"type": { "type": {
"href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license"
} },
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
}, },
"tid": [ "tid": [
{ {
@ -28,6 +31,12 @@
"target_id": "license" "target_id": "license"
} }
], ],
"status": [
{
"value": true,
"lang": "en"
}
],
"name": [ "name": [
{ {
"value": "Attribution - NonCommercial", "value": "Attribution - NonCommercial",
@ -36,9 +45,9 @@
], ],
"description": [ "description": [
{ {
"value": "<a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-nc\/4.0\/\"><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https:\/\/i.creativecommons.org\/l\/by-nc\/4.0\/88x31.png\" \/><\/a><br \/>This work is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-nc\/4.0\/\">Creative Commons Attribution-NonCommercial 4.0 International License<\/a>.", "value": "<p>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-nc\/4.0\/\">Creative Commons Attribution-NonCommercial 4.0 International License<\/a>.<\/p>\r\n",
"format": "basic_html", "format": "basic_html",
"processed": "<a href=\"http:\/\/creativecommons.org\/licenses\/by-nc\/4.0\/\"><img alt=\"Image removed.\" src=\"\/core\/misc\/icons\/e32700\/error.svg\" title=\"This image has been removed. For security reasons, only images from the local domain are allowed.\" height=\"16\" width=\"16\" class=\"filter-image-invalid\" \/><\/a><br \/>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-nc\/4.0\/\">Creative Commons Attribution-NonCommercial 4.0 International License<\/a>.", "processed": "<p>This work is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by-nc\/4.0\/\">Creative Commons Attribution-NonCommercial 4.0 International License<\/a>.<\/p>",
"lang": "en" "lang": "en"
} }
], ],
@ -47,9 +56,14 @@
"value": 0 "value": 0
} }
], ],
"_embedded": {
"http:\/\/drupal.org\/rest\/relation\/taxonomy_term\/license\/parent": [
null
]
},
"changed": [ "changed": [
{ {
"value": "2018-09-30T08:56:53+00:00", "value": "2018-11-05T20:39:10+00:00",
"lang": "en", "lang": "en",
"format": "Y-m-d\\TH:i:sP" "format": "Y-m-d\\TH:i:sP"
} }
@ -64,7 +78,7 @@
{ {
"value": { "value": {
"title": "Attribution - NonCommercial | Drutopia", "title": "Attribution - NonCommercial | Drutopia",
"canonical_url": "http:\/\/default\/taxonomy\/term\/20", "canonical_url": "http:\/\/agaric-com.test\/taxonomy\/term\/20",
"description": "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." "description": "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License."
} }
} }