diff --git a/tag/templates/tagcloud.mustache b/tag/templates/tagcloud.mustache index def25d7807354..276f5cd1a95a5 100644 --- a/tag/templates/tagcloud.mustache +++ b/tag/templates/tagcloud.mustache @@ -30,11 +30,11 @@ Example context (json): { - "tags": [ - {"id":1,"name":"Cats","viewurl":"http://moodle.org/tag/index.php?tag=Cats","tagtype":"official","count":12,"size":20,"flag":0}, - {"id":1,"name":"Dogs","viewurl":"http://moodle.org/tag/index.php?tag=Dogs","tagtype":"default","size":2,"flag":1}, - {"id":1,"name":"Mice","viewurl":"http://moodle.org/tag/index.php?tag=Mice","tagtype":"default","count":4,"size":8,"flag":0} - ], + "tags": [ + {"id":1,"name":"Cats","viewurl":"http://moodle.org/tag/index.php?tag=Cats","tagtype":"official","count":12,"size":20,"flag":0}, + {"id":1,"name":"Dogs","viewurl":"http://moodle.org/tag/index.php?tag=Dogs","tagtype":"default","size":2,"flag":1}, + {"id":1,"name":"Mice","viewurl":"http://moodle.org/tag/index.php?tag=Mice","tagtype":"default","count":4,"size":8,"flag":0} + ], "tagscount": 3, "totalcount": 5, "overflow": 1 diff --git a/tag/templates/tagfeed.mustache b/tag/templates/tagfeed.mustache index 6f67e7a5c79e9..bea8dba0fc640 100644 --- a/tag/templates/tagfeed.mustache +++ b/tag/templates/tagfeed.mustache @@ -30,11 +30,11 @@ Example context (json): { - "items": [ + "items": [ {"img":"","heading":"First post","details":"Posted by user 1"}, {"img":"","heading":"Second post without details"}, {"heading":"Third post without image","details":"Posted by user 3"} - ] + ] } }} diff --git a/tag/templates/taglist.mustache b/tag/templates/taglist.mustache index 77054b2410771..7353296cdc3d0 100644 --- a/tag/templates/taglist.mustache +++ b/tag/templates/taglist.mustache @@ -32,11 +32,11 @@ Example context (json): { - "tags": [ - {"id":1,"name":"Cats","viewurl":"http://moodle.org/tag/index.php?tag=Cats","tagtype":"official","flag":0}, - {"id":1,"name":"Dogs","viewurl":"http://moodle.org/tag/index.php?tag=Dogs","tagtype":"default","flag":1}, - {"id":1,"name":"Mice","viewurl":"http://moodle.org/tag/index.php?tag=Mice","tagtype":"default","flag":0} - ], + "tags": [ + {"id":1,"name":"Cats","viewurl":"http://moodle.org/tag/index.php?tag=Cats","tagtype":"official","flag":0}, + {"id":1,"name":"Dogs","viewurl":"http://moodle.org/tag/index.php?tag=Dogs","tagtype":"default","flag":1}, + {"id":1,"name":"Mice","viewurl":"http://moodle.org/tag/index.php?tag=Mice","tagtype":"default","flag":0} + ], "label": "Tags", "tagscount": 3, "overflow": 1, @@ -82,4 +82,4 @@ require(['jquery'], function($) { $(this).closest('.tag_list').addClass('hideoverlimit'); }); }); -{{/js}} \ No newline at end of file +{{/js}}