From 1c64c03bd096ac6c92bee4361926611be3d22259 Mon Sep 17 00:00:00 2001
From: =?utf8?q?=C5=81ukasz=20Rekucki?=
Date: Fri, 4 Sep 2009 13:06:59 +0200
Subject: [PATCH 1/1] Przyciski do zmiany czcionki.
---
apps/toolbar/templates/toolbar/toolbar.html | 2 +-
dump_toolbar.sh | 1 +
fixtures/przyciski.xml | 11 +++++++++-
.../templates/explorer/panels/xmleditor.html | 22 +------------------
4 files changed, 13 insertions(+), 23 deletions(-)
create mode 100755 dump_toolbar.sh
diff --git a/apps/toolbar/templates/toolbar/toolbar.html b/apps/toolbar/templates/toolbar/toolbar.html
index 29528c16..21135305 100644
--- a/apps/toolbar/templates/toolbar/toolbar.html
+++ b/apps/toolbar/templates/toolbar/toolbar.html
@@ -21,7 +21,7 @@
ui:action-params="{{ button.params|escape }}"
{% if button.key %}ui:hotkey="{{ button.key|keycode }}"{% endif %}
{% if button.tooltip %}ui:tooltip="{{ button.tooltip }}"{% endif %} >
- {{ button.label }}
+ {{ button.label|safe }}
{% endfor %}
diff --git a/dump_toolbar.sh b/dump_toolbar.sh
new file mode 100755
index 00000000..3bac9fe6
--- /dev/null
+++ b/dump_toolbar.sh
@@ -0,0 +1 @@
+./project/manage.py dumpdata --format=xml toolbar > fixtures/przyciski.xml
diff --git a/fixtures/przyciski.xml b/fixtures/przyciski.xml
index a8ad2c19..287a0cc9 100644
--- a/fixtures/przyciski.xml
+++ b/fixtures/przyciski.xml
@@ -1,5 +1,5 @@
-