From 1926282d0f994a00d802f867a7355acf4761db39 Mon Sep 17 00:00:00 2001 From: nmorduch Date: Sat, 19 Jul 2014 18:04:38 -0400 Subject: [PATCH] Explain survey at event creation Resolves #114 Hopefully appropriately given my track record today. --- brambling/static/brambling/brambling.kickoff.js | 3 +++ brambling/templates/brambling/__base.html | 1 + brambling/templates/brambling/forms/event.html | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/brambling/static/brambling/brambling.kickoff.js b/brambling/static/brambling/brambling.kickoff.js index e29e6f5f..2e1a52d1 100644 --- a/brambling/static/brambling/brambling.kickoff.js +++ b/brambling/static/brambling/brambling.kickoff.js @@ -38,6 +38,9 @@ $(function() { // Add tooltips to elements with class "tipped". $('.tipped').tooltip(); + // Add popovers to elements with class "popover-dismiss". + $('.popped').popover(); + // Bind some brambling-specific events to the countdown timer. $('[data-countdown="timer"]').on("updated.countdown", function (e, data) { var alert, diff --git a/brambling/templates/brambling/__base.html b/brambling/templates/brambling/__base.html index c8ac8e02..6c5659dc 100644 --- a/brambling/templates/brambling/__base.html +++ b/brambling/templates/brambling/__base.html @@ -42,6 +42,7 @@ {% block javascripts %} {{ block.super }} + diff --git a/brambling/templates/brambling/forms/event.html b/brambling/templates/brambling/forms/event.html index f5ba7cea..d3abbbcd 100644 --- a/brambling/templates/brambling/forms/event.html +++ b/brambling/templates/brambling/forms/event.html @@ -77,7 +77,7 @@

Settings

{% endwith %} {% with field=form.collect_survey_data %}
- +
{% endwith %}