From adefc431542f7fd590b20951973683824205670f Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Mon, 24 Sep 2012 14:21:15 -0400 Subject: [PATCH 1/2] first pass --- settings/common.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/settings/common.py b/settings/common.py index 23053eb9..917ad16d 100644 --- a/settings/common.py +++ b/settings/common.py @@ -33,6 +33,12 @@ CKEDITOR_RESTRICT_BY_USER = True CKEDITOR_CONFIGS = { 'default': { 'width': 700, + 'toolbar': [ + ['Cut','Copy','Paste', 'PasteFromWord', '-', 'Undo', 'Redo', '-', 'Source'], + ['Bold', 'Italic', '-', 'NumberedList','BulletedList', '-','Blockquote'], + ['Find','Replace','-', 'Scayt'], + ['Link', 'Unlink', '-', 'Image', 'HorizontalRule'] + ], }, } From 1dad4342c9306e772c2ec438fdcf3fd7ff4b1b4e Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Tue, 2 Oct 2012 14:42:39 -0400 Subject: [PATCH 2/2] remove acknowledgements from premium display --- frontend/templates/manage_campaign.html | 7 +++---- frontend/views.py | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/frontend/templates/manage_campaign.html b/frontend/templates/manage_campaign.html index c14f6145..191c14f7 100644 --- a/frontend/templates/manage_campaign.html +++ b/frontend/templates/manage_campaign.html @@ -238,7 +238,6 @@ Please fix the following before launching your campaign: ${{ premium.amount|intcomma }} {{ premium.description }} - {% if premium.type %}
Type: {{ premium.get_type_display }}
{% endif %} {% ifnotequal premium.limit 0 %}
Limit: {{ premium.limit }}{% endifnotequal %} {% ifequal premium.type 'CU' %}
Deactivate? {% endifequal %} @@ -249,9 +248,7 @@ Please fix the following before launching your campaign: {% endif %} -

Editing premiums

-

At this time, you can't edit a premium you've created. But you can deactivate a premium and add a new one to replace it. So be sure to double-check your spelling before adding it.

-

Add a custom premium for this campaign

+

Add a premium for this campaign

{% csrf_token %} Pledge Amount: {{ premium_form.amount.errors }}${{ premium_form.amount }}
@@ -262,6 +259,8 @@ Please fix the following before launching your campaign:
+

Editing premiums

+

At this time, you can't edit a premium you've created. But you can deactivate a premium and add a new one to replace it. So be sure to double-check your spelling before adding it.

{% ifequal campaign_status 'INITIALIZED' %} diff --git a/frontend/views.py b/frontend/views.py index 5cdb3580..354b9ca3 100755 --- a/frontend/views.py +++ b/frontend/views.py @@ -420,7 +420,7 @@ def manage_campaign(request, id): 'form':form, 'problems': campaign.problems, 'alerts': alerts, - 'premiums' : campaign.effective_premiums(), + 'premiums' : campaign.custom_premiums(), 'premium_form' : new_premium_form, 'pubdate': pubdate, 'work': work,