Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorGregory Koberger <gkoberger@mozilla.com>2010-09-01 21:50:21 (GMT)
committer Gregory Koberger <gkoberger@mozilla.com>2010-09-02 17:48:37 (GMT)
commit6514fd962f7f1afa56d1ddd18dd400973b88a3ff (patch)
treef59efff3133ca0fe46c9ad9d3c9481355e62a646 /apps
parentaa8edee43ab47049fa3ae668b14459f2afb1e13c (diff)
Clean up Icon Upload for collections (bug 592581)
Diffstat (limited to 'apps')
-rw-r--r--apps/bandwagon/templates/bandwagon/includes/addedit.html21
1 files changed, 12 insertions, 9 deletions
diff --git a/apps/bandwagon/templates/bandwagon/includes/addedit.html b/apps/bandwagon/templates/bandwagon/includes/addedit.html
index 0e538ab..dec6df7 100644
--- a/apps/bandwagon/templates/bandwagon/includes/addedit.html
+++ b/apps/bandwagon/templates/bandwagon/includes/addedit.html
@@ -24,18 +24,21 @@
</p>
<label>{{ form.listed.label }}</label>
{{ form.listed|safe }}
- <p>
+
+ <br />
+ <label>{{ form.icon.label|safe }}</label> {{ _('(optional)') }}
+
+
+ <div id="icon_upload">
{% if collection %}
- <img src="{{ collection.icon_url }}">
+ <img src="{{ collection.icon_url }}" class="icon_preview" />
{% endif %}
-
{{ form.errors['icon']|safe }}
- {{ form.icon.label|safe }} {{ _('(optional)') }}
{{ form.icon|safe }}
- </p>
- <p>
- {{ _('PNG and JPG supported. Image will be resized to 32x32.') }}
- </p>
-</fieldset>
+ <p class="note">
+ {{ _('PNG and JPG supported. Image will be resized to 32x32.') }}
+ </p>
+ </div>
+ </fieldset>