Permalink
Browse files

Add some help text to explain to end users what the different buttons…

… do.
  • Loading branch information...
1 parent 545ff0e commit 116087a28fdda356d8b2ac74404823fb3f50ec5e @richardbarran richardbarran committed Aug 9, 2012
@@ -16,11 +16,13 @@ class FacebookLikeBoxPlugin(BasePlugin):
model = models.FacebookLikeBox
name = 'Facebook Like Box Plugin'
render_template = 'cmsplugin_facebook/likebox.html'
+ change_form_template = 'cmsplugin_facebook/likebox_change_form.html'
class FacebookLikeButtonPlugin(BasePlugin):
model = models.FacebookLikeButton
name = 'Facebook Like Button Plugin'
render_template = 'cmsplugin_facebook/likebutton.html'
+ change_form_template = 'cmsplugin_facebook/likebutton_change_form.html'
plugin_pool.register_plugin(FacebookLikeBoxPlugin)
plugin_pool.register_plugin(FacebookLikeButtonPlugin)
@@ -0,0 +1,7 @@
+{% extends 'admin/cms/page/plugin_change_form.html' %}
+
+{% block top %}
+ {# Description below taken from the Facebook site. #}
+ <p>The Like Box enables users to like your Facebook Page and view its stream directly from your website.</p>
+ {{ block.super }}
+{% endblock %}
@@ -0,0 +1,7 @@
+{% extends 'admin/cms/page/plugin_change_form.html' %}
+
+{% block top %}
+ {# Description below taken from the Facebook site. #}
+ <p>The Like button lets users share pages from your site back to their Facebook profile with one click.</p>
+ {{ block.super }}
+{% endblock %}

0 comments on commit 116087a

Please sign in to comment.