Skip to content

Commit 56cc48f

Browse files
committed
cancel button for rich editor
1 parent 772049c commit 56cc48f

File tree

20 files changed

+1148
-286
lines changed

20 files changed

+1148
-286
lines changed

djity/application_skeleton/{package_name}/templates/{package_name}/{module_name}.html_tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if( dj.context.perm.edit )
3131

3232
{{% block body %}}
3333

34-
<p>Your message is : <span id="{module_name}-message">{{{{message}}}}</span> </p>
34+
<p>Your message is : <span id="{module_name}-message">{{{{message|safe}}}}</span> </p>
3535

3636
<p>You can edit message : click it!</p>
3737

djity/locale/en/LC_MESSAGES/django.po

Lines changed: 61 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -8,45 +8,45 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2011-05-05 17:06+0200\n"
11+
"POT-Creation-Date: 2011-05-13 11:36+0200\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language: \n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding: 8bit\n"
18-
"Language: \n"
1919

20-
#: portal/ajax.py:19
20+
#: portal/ajax.py:20
2121
msgid "You are now disconnected."
2222
msgstr ""
2323

24-
#: portal/ajax.py:41
24+
#: portal/ajax.py:42
2525
#, python-format
2626
msgid "Your account is created ! your are connected as %s."
2727
msgstr ""
2828

29-
#: portal/ajax.py:42
29+
#: portal/ajax.py:43
3030
msgid "We are creating your account... please wait."
3131
msgstr ""
3232

33-
#: portal/ajax.py:81
33+
#: portal/ajax.py:83
3434
msgid "Your password has been changed."
3535
msgstr ""
3636

37-
#: portal/ajax.py:96
37+
#: portal/ajax.py:98
3838
msgid "Authentication failed."
3939
msgstr ""
4040

41-
#: portal/ajax.py:99
41+
#: portal/ajax.py:101
4242
msgid "This account is disabled."
4343
msgstr ""
4444

45-
#: portal/ajax.py:102
45+
#: portal/ajax.py:104
4646
msgid "You were successfully connected !"
4747
msgstr ""
4848

49-
#: portal/ajax.py:103
49+
#: portal/ajax.py:105
5050
msgid "Connecting... please wait."
5151
msgstr ""
5252

@@ -68,72 +68,72 @@ msgstr ""
6868
msgid "Change in portlet saved."
6969
msgstr ""
7070

71-
#: project/ajax.py:35
71+
#: project/ajax.py:36
7272
msgid "Project title saved."
7373
msgstr ""
7474

75-
#: project/ajax.py:79
75+
#: project/ajax.py:80
7676
#, python-format
7777
msgid ""
7878
"Tab creation failed. There is no table %s in the database, contact the "
7979
"administrator."
8080
msgstr ""
8181

82-
#: project/ajax.py:112
82+
#: project/ajax.py:113
8383
#, python-format
8484
msgid "Your new project %s was created !"
8585
msgstr ""
8686

87-
#: project/ajax.py:143
87+
#: project/ajax.py:144
8888
#, python-format
8989
msgid "User %s is no longer a member of this project."
9090
msgstr ""
9191

92-
#: project/ajax.py:153
92+
#: project/ajax.py:154
9393
msgid "Members of this project updated."
9494
msgstr ""
9595

96-
#: project/ajax.py:158
96+
#: project/ajax.py:159
9797
msgid "You can't remove yourself from the managers of the current project."
9898
msgstr ""
9999

100-
#: project/ajax.py:162
100+
#: project/ajax.py:163
101101
msgid "At least one manager is required."
102102
msgstr ""
103103

104-
#: project/ajax.py:174
104+
#: project/ajax.py:175
105105
msgid "Root project can't inherit members."
106106
msgstr ""
107107

108-
#: project/ajax.py:178
108+
#: project/ajax.py:179
109109
#, python-format
110110
msgid "This project inherits members of %s project."
111111
msgstr ""
112112

113-
#: project/ajax.py:180
113+
#: project/ajax.py:181
114114
#, python-format
115115
msgid "This project doesn't inherit members of %s project."
116116
msgstr ""
117117

118-
#: project/ajax.py:194
118+
#: project/ajax.py:195
119119
msgid "New subscriptions to this project are now forbidden."
120120
msgstr ""
121121

122-
#: project/ajax.py:196
122+
#: project/ajax.py:197
123123
msgid "New subscriptions to this project are now allowed."
124124
msgstr ""
125125

126-
#: project/ajax.py:216
126+
#: project/ajax.py:217
127127
msgid ""
128128
"Your subscription is registered. Wait for validation from a manager of this "
129129
"project."
130130
msgstr ""
131131

132-
#: project/ajax.py:219
132+
#: project/ajax.py:220
133133
msgid "You are no longer a member of this project."
134134
msgstr ""
135135

136-
#: project/views.py:38 templates/djity/base.html:147
136+
#: project/views.py:38 templates/djity/base.html:145
137137
msgid "Login"
138138
msgstr ""
139139

@@ -153,11 +153,15 @@ msgid ""
153153
"You can subscribe using the button on the top left corner."
154154
msgstr ""
155155

156-
#: simplepage/ajax.py:21
156+
#: simplepage/ajax.py:22
157157
msgid "Change in page saved."
158158
msgstr ""
159159

160-
#: simplepage/views.py:32
160+
#: simplepage/ajax.py:24
161+
msgid "No change in the page."
162+
msgstr ""
163+
164+
#: simplepage/views.py:25
161165
msgid "The current page is empty, you can write some content."
162166
msgstr ""
163167

@@ -184,87 +188,87 @@ msgstr ""
184188
msgid "Warning"
185189
msgstr ""
186190

187-
#: templates/djity/base.html:107
191+
#: templates/djity/base.html:105
188192
msgid "New project"
189193
msgstr ""
190194

191-
#: templates/djity/base.html:109 templates/djity/base.html.py:200
195+
#: templates/djity/base.html:107 templates/djity/base.html.py:198
192196
msgid "Manage users"
193197
msgstr ""
194198

195-
#: templates/djity/base.html:109
199+
#: templates/djity/base.html:107
196200
msgid "Awaiting members"
197201
msgstr ""
198202

199-
#: templates/djity/base.html:110
203+
#: templates/djity/base.html:108
200204
msgid "Manage style"
201205
msgstr ""
202206

203-
#: templates/djity/base.html:135
207+
#: templates/djity/base.html:133
204208
msgid "Add new tab"
205209
msgstr ""
206210

207-
#: templates/djity/base.html:149
211+
#: templates/djity/base.html:147
208212
msgid "User"
209213
msgstr ""
210214

211-
#: templates/djity/base.html:151 templates/djity/portal/profile_form.html:15
215+
#: templates/djity/base.html:149 templates/djity/portal/profile_form.html:15
212216
#: templates/djity/portal/registration_form.html:29
213217
msgid "Password"
214218
msgstr ""
215219

216-
#: templates/djity/base.html:159
220+
#: templates/djity/base.html:157
217221
msgid "Remove tab ?"
218222
msgstr ""
219223

220-
#: templates/djity/base.html:161 templates/djity/base.html.py:167
224+
#: templates/djity/base.html:159 templates/djity/base.html.py:165
221225
#, python-format
222226
msgid ""
223227
"Tab %(module_name)s will be permanently deleted and cannot be recovered. Are "
224228
"you sure?"
225229
msgstr ""
226230

227-
#: templates/djity/base.html:165
231+
#: templates/djity/base.html:163
228232
msgid "Remove tab and delete project ?"
229233
msgstr ""
230234

231-
#: templates/djity/base.html:170
235+
#: templates/djity/base.html:168
232236
#, python-format
233237
msgid ""
234238
"This is the last tab of the project %(project_name)s.\tIt will be "
235239
"permanently deleted along with all its data (theme, memberships, etc.) and "
236240
"cannot be recovered. Are you sure?"
237241
msgstr ""
238242

239-
#: templates/djity/base.html:176
243+
#: templates/djity/base.html:174
240244
msgid "Edit tab parameters"
241245
msgstr ""
242246

243-
#: templates/djity/base.html:186
247+
#: templates/djity/base.html:184
244248
msgid "Create new Tab"
245249
msgstr ""
246250

247-
#: templates/djity/base.html:194
251+
#: templates/djity/base.html:192
248252
msgid "Create project"
249253
msgstr ""
250254

251-
#: templates/djity/base.html:195
255+
#: templates/djity/base.html:193
252256
msgid "Permanent label"
253257
msgstr ""
254258

255-
#: templates/djity/base.html:210
259+
#: templates/djity/base.html:208
256260
msgid "handle"
257261
msgstr ""
258262

259-
#: templates/djity/base.html:214
263+
#: templates/djity/base.html:212
260264
msgid "Your browser doesn't support iframes"
261265
msgstr ""
262266

263-
#: templates/djity/base.html:220
267+
#: templates/djity/base.html:218
264268
msgid "Connection needed"
265269
msgstr ""
266270

267-
#: templates/djity/base.html:221
271+
#: templates/djity/base.html:219
268272
msgid "You need to be connected to request subscrition."
269273
msgstr ""
270274

@@ -317,43 +321,43 @@ msgstr ""
317321
msgid "Configure\ttab"
318322
msgstr ""
319323

320-
#: templates/djity/style/themeroller.html:28
324+
#: templates/djity/style/themeroller.html:29
321325
msgid "Parameters"
322326
msgstr ""
323327

324-
#: templates/djity/style/themeroller.html:29
328+
#: templates/djity/style/themeroller.html:30
325329
msgid "Code"
326330
msgstr ""
327331

328-
#: templates/djity/style/themeroller.html:30
332+
#: templates/djity/style/themeroller.html:31
329333
msgid "Up/Down"
330334
msgstr ""
331335

332-
#: templates/djity/style/themeroller.html:63
336+
#: templates/djity/style/themeroller.html:74
333337
msgid "Link to the current CSS."
334338
msgstr ""
335339

336-
#: templates/djity/style/themeroller.html:68
337-
msgid "Inherit style from the parent project"
340+
#: templates/djity/style/themeroller.html:79
341+
msgid "Inherit style from parent"
338342
msgstr ""
339343

340-
#: templates/djity/style/themeroller.html:69
344+
#: templates/djity/style/themeroller.html:80
341345
msgid "Get back to the default style"
342346
msgstr ""
343347

344-
#: templates/djity/style/themeroller.html:70
348+
#: templates/djity/style/themeroller.html:81
345349
msgid "Download active set of parameters"
346350
msgstr ""
347351

348-
#: templates/djity/style/themeroller.html:72
352+
#: templates/djity/style/themeroller.html:83
349353
msgid "Upload parameters"
350354
msgstr ""
351355

352-
#: templates/djity/style/themeroller.html:76
356+
#: templates/djity/style/themeroller.html:87
353357
msgid "Apply"
354358
msgstr ""
355359

356-
#: templates/djity/style/themeroller.html:77
360+
#: templates/djity/style/themeroller.html:88
357361
msgid "Save"
358362
msgstr ""
359363

378 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)