From f66aba031c3ea13a78ad108ed402282a0091f567 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 17 Jul 2018 10:23:35 +0200 Subject: [PATCH] Display likes block. --- assets/js/pages/groups/sections/header.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/assets/js/pages/groups/sections/header.js b/assets/js/pages/groups/sections/header.js index 95f1b2dc..27ca09b9 100644 --- a/assets/js/pages/groups/sections/header.js +++ b/assets/js/pages/groups/sections/header.js @@ -169,6 +169,18 @@ ComunicWeb.pages.groups.sections.header = { openPage("groups/" + info.id + "/settings"); }); } + + //Display likes block + ComunicWeb.components.like.button.display( + "group", + info.id, + info.number_likes, + info.is_liking, + createElem2({ + appendTo: thirdColumn, + type: "div" + }) + ); }, }; \ No newline at end of file