diff --git a/README.md b/README.md index 66371bc..2548567 100644 --- a/README.md +++ b/README.md @@ -579,6 +579,7 @@ Module declaration, on `config.json`: "post": "http://server.url/resources/", "types": "http://server.url/types/", "keywords": "http://server.url/keywords/", + "circles": "http://server.url/circles", "postTypes": "http://server.url/types/", "postKeywords": "http://server.url/keywords/", "uploads": "http://server.url/upload/" diff --git a/src/views/page-resources.pug b/src/views/page-resources.pug index f90d0f2..cf86075 100644 --- a/src/views/page-resources.pug +++ b/src/views/page-resources.pug @@ -5,7 +5,7 @@ div.whitespace-normal post-data-type-src=`${component.endpoints.postTypes}` range-resource-keyword=`${component.endpoints.keywords}` post-data-keyword-src=`${component.endpoints.postKeywords}` - range-resource-circle=`${getComponent('circles').endpoints.get}/` + circles=`${component.endpoints.circles}` associated-circle-label="" data-trans=`associated-circle-label=${component.parameters && component.parameters.associatedName ? component.parameters.associatedName : 'circle.extensions.associated'}` upload-dir=`${component.endpoints.uploads}` diff --git a/src/views/partials/circle/page-circle-resources.pug b/src/views/partials/circle/page-circle-resources.pug index cd46f6b..0020e82 100644 --- a/src/views/partials/circle/page-circle-resources.pug +++ b/src/views/partials/circle/page-circle-resources.pug @@ -6,7 +6,7 @@ solid-resource( post-data-type-src=`${extension.endpoints.postTypes}` range-resource-keyword=`${extension.endpoints.keywords}` post-data-keyword-src=`${extension.endpoints.postKeywords}` - range-resource-circle=`${getComponent('circles').endpoints.get}/` + circles=`${extension.endpoints.cicle}` associated-circle-label="" data-trans=`associated-circle-label=${extension.parameters && extension.parameters.associatedName ? extension.parameters.associatedName : 'circle.extensions.associated'}` upload-dir=`${extension.endpoints.uploads}`