From d2762ae4ee24ac31cfca2c53288e8a448e227086 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Mon, 24 Apr 2017 14:56:40 +0200 Subject: [PATCH] Added patreon and github links to drawer --- rpg-docs/client/views/layout/layout.html | 14 ++++++++++---- rpg-docs/client/views/layout/layout.js | 6 ++++++ .../dicecloud-icons/dicecloud-icons.html | 6 ++++++ 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/rpg-docs/client/views/layout/layout.html b/rpg-docs/client/views/layout/layout.html index 0fce8c75..031f4b65 100644 --- a/rpg-docs/client/views/layout/layout.html +++ b/rpg-docs/client/views/layout/layout.html @@ -57,10 +57,16 @@ Send Feedback - - - - Change Log + + + + Patreon + + + + + + Github
diff --git a/rpg-docs/client/views/layout/layout.js b/rpg-docs/client/views/layout/layout.js index c23893ba..0d24a237 100644 --- a/rpg-docs/client/views/layout/layout.js +++ b/rpg-docs/client/views/layout/layout.js @@ -36,4 +36,10 @@ Template.appDrawer.events({ }); closeDrawer(instance); }, + "click .patreon": function(event, instance){ + ga("send", "event", "externalLink", "patreon"); + }, + "click .github": function(event, instance){ + ga("send", "event", "externalLink", "github"); + }, }); diff --git a/rpg-docs/public/custom_components/dicecloud-icons/dicecloud-icons.html b/rpg-docs/public/custom_components/dicecloud-icons/dicecloud-icons.html index 5a6b5ac2..d9700a08 100644 --- a/rpg-docs/public/custom_components/dicecloud-icons/dicecloud-icons.html +++ b/rpg-docs/public/custom_components/dicecloud-icons/dicecloud-icons.html @@ -5,5 +5,11 @@ + + + + + +