From 8a4a8ed363155fa16016594e3e29f4a76c7c710e Mon Sep 17 00:00:00 2001 From: Hugo Melo Date: Tue, 3 Nov 2015 12:22:35 -0200 Subject: [PATCH] Hide gamification dashboard and menu with score --- lib/juventude_plugin.rb | 3 +++ public/style.css | 11 +++++++++++ 2 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 public/style.css diff --git a/lib/juventude_plugin.rb b/lib/juventude_plugin.rb index 60bc0ca..5e51e9b 100644 --- a/lib/juventude_plugin.rb +++ b/lib/juventude_plugin.rb @@ -17,4 +17,7 @@ class JuventudePlugin < Noosfero::Plugin end + def stylesheet? + true + end end diff --git a/public/style.css b/public/style.css new file mode 100644 index 0000000..581c896 --- /dev/null +++ b/public/style.css @@ -0,0 +1,11 @@ +#user .logged-in .gamification-plugin.user-info-template { + margin-left: 0 !important + padding: 0 !important +} +#user .logged-in .gamification-plugin.user-info-template * { + display: none; +} + +.action-gamification_plugin_profile-dashboard { + display: none; +} -- libgit2 0.21.2