##// END OF EJS Templates
Edit thread with django admin
neko259 -
r877:13cde2b8 default
parent child Browse files
Show More
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -1,365 +1,367 b''
1 # SOME DESCRIPTIVE TITLE.
1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
2 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 # This file is distributed under the same license as the PACKAGE package.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
5 #
6 msgid ""
6 msgid ""
7 msgstr ""
7 msgstr ""
8 "Project-Id-Version: PACKAGE VERSION\n"
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "Report-Msgid-Bugs-To: \n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2014-08-19 15:51+0300\n"
10 "POT-Creation-Date: 2014-11-18 16:31+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
14 "Language: ru\n"
14 "Language: ru\n"
15 "MIME-Version: 1.0\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
18 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
19 "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
19 "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
20
20
21 #: authors.py:9
21 #: authors.py:9
22 msgid "author"
22 msgid "author"
23 msgstr "автор"
23 msgstr "автор"
24
24
25 #: authors.py:10
25 #: authors.py:10
26 msgid "developer"
26 msgid "developer"
27 msgstr "разработчик"
27 msgstr "разработчик"
28
28
29 #: authors.py:11
29 #: authors.py:11
30 msgid "javascript developer"
30 msgid "javascript developer"
31 msgstr "разработчик javascript"
31 msgstr "разработчик javascript"
32
32
33 #: authors.py:12
33 #: authors.py:12
34 msgid "designer"
34 msgid "designer"
35 msgstr "дизайнер"
35 msgstr "дизайнер"
36
36
37 #: forms.py:22
37 #: forms.py:22
38 msgid "Type message here. Use formatting panel for more advanced usage."
38 msgid "Type message here. Use formatting panel for more advanced usage."
39 msgstr ""
39 msgstr ""
40 "Вводите сообщение сюда. Используйте панель для более сложного форматирования."
40 "Вводите сообщение сюда. Используйте панель для более сложного форматирования."
41
41
42 #: forms.py:23
42 #: forms.py:23
43 msgid "tag1 several_words_tag"
43 msgid "tag1 several_words_tag"
44 msgstr "тег1 тег_из_нескольких_слов"
44 msgstr "тег1 тег_из_нескольких_слов"
45
45
46 #: forms.py:25
46 #: forms.py:25
47 msgid "Such image was already posted"
47 msgid "Such image was already posted"
48 msgstr "Такое изображение уже было загружено"
48 msgstr "Такое изображение уже было загружено"
49
49
50 #: forms.py:27
50 #: forms.py:27
51 msgid "Title"
51 msgid "Title"
52 msgstr "Заголовок"
52 msgstr "Заголовок"
53
53
54 #: forms.py:28
54 #: forms.py:28
55 msgid "Text"
55 msgid "Text"
56 msgstr "Текст"
56 msgstr "Текст"
57
57
58 #: forms.py:29
58 #: forms.py:29
59 msgid "Tag"
59 msgid "Tag"
60 msgstr "Тег"
60 msgstr "Тег"
61
61
62 #: forms.py:30 templates/boards/base.html:36 templates/search/search.html:9
62 #: forms.py:30 templates/boards/base.html:40 templates/search/search.html:9
63 #: templates/search/search.html.py:13
63 #: templates/search/search.html.py:13
64 msgid "Search"
64 msgid "Search"
65 msgstr "Поиск"
65 msgstr "Поиск"
66
66
67 #: forms.py:107
67 #: forms.py:107
68 msgid "Image"
68 msgid "Image"
69 msgstr "Изображение"
69 msgstr "Изображение"
70
70
71 #: forms.py:112
71 #: forms.py:112
72 msgid "e-mail"
72 msgid "e-mail"
73 msgstr ""
73 msgstr ""
74
74
75 #: forms.py:123
75 #: forms.py:123
76 #, python-format
76 #, python-format
77 msgid "Title must have less than %s characters"
77 msgid "Title must have less than %s characters"
78 msgstr "Заголовок должен иметь меньше %s символов"
78 msgstr "Заголовок должен иметь меньше %s символов"
79
79
80 #: forms.py:132
80 #: forms.py:132
81 #, python-format
81 #, python-format
82 msgid "Text must have less than %s characters"
82 msgid "Text must have less than %s characters"
83 msgstr "Текст должен быть короче %s символов"
83 msgstr "Текст должен быть короче %s символов"
84
84
85 #: forms.py:143
85 #: forms.py:143
86 #, python-format
86 #, python-format
87 msgid "Image must be less than %s bytes"
87 msgid "Image must be less than %s bytes"
88 msgstr "Изображение должно быть менее %s байт"
88 msgstr "Изображение должно быть менее %s байт"
89
89
90 #: forms.py:178
90 #: forms.py:178
91 msgid "Either text or image must be entered."
91 msgid "Either text or image must be entered."
92 msgstr "Текст или картинка должны быть введены."
92 msgstr "Текст или картинка должны быть введены."
93
93
94 #: forms.py:198
94 #: forms.py:194
95 #, python-format
95 #, python-format
96 msgid "Wait %s seconds after last posting"
96 msgid "Wait %s seconds after last posting"
97 msgstr "Подождите %s секунд после последнего постинга"
97 msgstr "Подождите %s секунд после последнего постинга"
98
98
99 #: forms.py:214 templates/boards/tags.html:7 templates/boards/rss/post.html:10
99 #: forms.py:210 templates/boards/rss/post.html:10 templates/boards/tags.html:7
100 msgid "Tags"
100 msgid "Tags"
101 msgstr "Теги"
101 msgstr "Теги"
102
102
103 #: forms.py:221 forms.py:247
103 #: forms.py:217 forms.py:243
104 msgid "Inappropriate characters in tags."
104 msgid "Inappropriate characters in tags."
105 msgstr "Недопустимые символы в тегах."
105 msgstr "Недопустимые символы в тегах."
106
106
107 #: forms.py:234
107 #: forms.py:230
108 msgid "Theme"
108 msgid "Theme"
109 msgstr "Тема"
109 msgstr "Тема"
110
110
111 #: forms.py:270
111 #: forms.py:266
112 msgid "Invalid master password"
112 msgid "Invalid master password"
113 msgstr "Неверный мастер-пароль"
113 msgstr "Неверный мастер-пароль"
114
114
115 #: forms.py:284
115 #: forms.py:280
116 #, python-format
116 #, python-format
117 msgid "Wait %s minutes after last login"
117 msgid "Wait %s minutes after last login"
118 msgstr "Подождите %s минут после последнего входа"
118 msgstr "Подождите %s минут после последнего входа"
119
119
120 #: templates/boards/404.html:6
120 #: templates/boards/404.html:6
121 msgid "Not found"
121 msgid "Not found"
122 msgstr "Не найдено"
122 msgstr "Не найдено"
123
123
124 #: templates/boards/404.html:12
124 #: templates/boards/404.html:12
125 msgid "This page does not exist"
125 msgid "This page does not exist"
126 msgstr "Этой страницы не существует"
126 msgstr "Этой страницы не существует"
127
127
128 #: templates/boards/authors.html:6 templates/boards/authors.html.py:12
128 #: templates/boards/authors.html:6 templates/boards/authors.html.py:12
129 msgid "Authors"
129 msgid "Authors"
130 msgstr "Авторы"
130 msgstr "Авторы"
131
131
132 #: templates/boards/authors.html:26
132 #: templates/boards/authors.html:26
133 msgid "Distributed under the"
133 msgid "Distributed under the"
134 msgstr "Распространяется под"
134 msgstr "Распространяется под"
135
135
136 #: templates/boards/authors.html:28
136 #: templates/boards/authors.html:28
137 msgid "license"
137 msgid "license"
138 msgstr "лицензией"
138 msgstr "лицензией"
139
139
140 #: templates/boards/authors.html:30
140 #: templates/boards/authors.html:30
141 msgid "Repository"
141 msgid "Repository"
142 msgstr "Репозиторий"
142 msgstr "Репозиторий"
143
143
144 #: templates/boards/base.html:12
144 #: templates/boards/base.html:16
145 msgid "Feed"
145 msgid "Feed"
146 msgstr "Лента"
146 msgstr "Лента"
147
147
148 #: templates/boards/base.html:29
148 #: templates/boards/base.html:33
149 msgid "All threads"
149 msgid "All threads"
150 msgstr "Все темы"
150 msgstr "Все темы"
151
151
152 #: templates/boards/base.html:34
152 #: templates/boards/base.html:38
153 msgid "Tag management"
153 msgid "Tag management"
154 msgstr "Управление тегами"
154 msgstr "Управление тегами"
155
155
156 #: templates/boards/base.html:37 templates/boards/settings.html:7
156 #: templates/boards/base.html:41 templates/boards/settings.html:7
157 msgid "Settings"
157 msgid "Settings"
158 msgstr "Настройки"
158 msgstr "Настройки"
159
159
160 #: templates/boards/base.html:50
160 #: templates/boards/base.html:56
161 msgid "Admin"
161 msgid "Admin"
162 msgstr ""
162 msgstr ""
163
163
164 #: templates/boards/base.html:52
164 #: templates/boards/base.html:58
165 #, python-format
165 #, python-format
166 msgid "Speed: %(ppd)s posts per day"
166 msgid "Speed: %(ppd)s posts per day"
167 msgstr "Скорость: %(ppd)s сообщений в день"
167 msgstr "Скорость: %(ppd)s сообщений в день"
168
168
169 #: templates/boards/base.html:54
169 #: templates/boards/base.html:60
170 msgid "Up"
170 msgid "Up"
171 msgstr "Вверх"
171 msgstr "Вверх"
172
172
173 #: templates/boards/login.html:6 templates/boards/login.html.py:16
173 #: templates/boards/login.html:6 templates/boards/login.html.py:16
174 msgid "Login"
174 msgid "Login"
175 msgstr "Вход"
175 msgstr "Вход"
176
176
177 #: templates/boards/login.html:19
177 #: templates/boards/login.html:19
178 msgid "Insert your user id above"
178 msgid "Insert your user id above"
179 msgstr "Вставьте свой ID пользователя выше"
179 msgstr "Вставьте свой ID пользователя выше"
180
180
181 #: templates/boards/post.html:21 templates/boards/staticpages/help.html:17
181 #: templates/boards/post.html:21 templates/boards/staticpages/help.html:17
182 msgid "Quote"
182 msgid "Quote"
183 msgstr "Цитата"
183 msgstr "Цитата"
184
184
185 #: templates/boards/post.html:31
185 #: templates/boards/post.html:31
186 msgid "Open"
186 msgid "Open"
187 msgstr "Открыть"
187 msgstr "Открыть"
188
188
189 #: templates/boards/post.html:33
189 #: templates/boards/post.html:33
190 msgid "Reply"
190 msgid "Reply"
191 msgstr "Ответ"
191 msgstr "Ответ"
192
192
193 #: templates/boards/post.html:40
193 #: templates/boards/post.html:40
194 msgid "Edit"
194 msgid "Edit"
195 msgstr "Изменить"
195 msgstr "Изменить"
196
196
197 #: templates/boards/post.html:42
197 #: templates/boards/post.html:42
198 msgid "Delete"
198 msgid "Edit thread"
199 msgstr "Удалить"
199 msgstr "Изменить тему"
200
200
201 #: templates/boards/post.html:45
201 #: templates/boards/post.html:73
202 msgid "Ban IP"
203 msgstr "Заблокировать IP"
204
205 #: templates/boards/post.html:76
206 msgid "Replies"
202 msgid "Replies"
207 msgstr "Ответы"
203 msgstr "Ответы"
208
204
209 #: templates/boards/post.html:86 templates/boards/thread.html:88
205 #: templates/boards/post.html:83 templates/boards/thread.html:100
210 #: templates/boards/thread_gallery.html:59
206 #: templates/boards/thread_gallery.html:59
211 msgid "messages"
207 msgid "messages"
212 msgstr "сообщений"
208 msgstr "сообщений"
213
209
214 #: templates/boards/post.html:87 templates/boards/thread.html:89
210 #: templates/boards/post.html:84 templates/boards/thread.html:101
215 #: templates/boards/thread_gallery.html:60
211 #: templates/boards/thread_gallery.html:60
216 msgid "images"
212 msgid "images"
217 msgstr "изображений"
213 msgstr "изображений"
218
214
219 #: templates/boards/post_admin.html:19
215 #: templates/boards/post_admin.html:19
220 msgid "Tags:"
216 msgid "Tags:"
221 msgstr "Теги:"
217 msgstr "Теги:"
222
218
223 #: templates/boards/post_admin.html:30
219 #: templates/boards/post_admin.html:30
224 msgid "Add tag"
220 msgid "Add tag"
225 msgstr "Добавить тег"
221 msgstr "Добавить тег"
226
222
227 #: templates/boards/posting_general.html:56
223 #: templates/boards/posting_general.html:56
228 msgid "Show tag"
224 msgid "Show tag"
229 msgstr "Показывать тег"
225 msgstr "Показывать тег"
230
226
231 #: templates/boards/posting_general.html:60
227 #: templates/boards/posting_general.html:60
232 msgid "Hide tag"
228 msgid "Hide tag"
233 msgstr "Скрывать тег"
229 msgstr "Скрывать тег"
234
230
235 #: templates/boards/posting_general.html:79 templates/search/search.html:22
231 #: templates/boards/posting_general.html:79 templates/search/search.html:22
236 msgid "Previous page"
232 msgid "Previous page"
237 msgstr "Предыдущая страница"
233 msgstr "Предыдущая страница"
238
234
239 #: templates/boards/posting_general.html:94
235 #: templates/boards/posting_general.html:94
240 #, python-format
236 #, python-format
241 msgid "Skipped %(count)s replies. Open thread to see all replies."
237 msgid "Skipped %(count)s replies. Open thread to see all replies."
242 msgstr "Пропущено %(count)s ответов. Откройте тред, чтобы увидеть все ответы."
238 msgstr "Пропущено %(count)s ответов. Откройте тред, чтобы увидеть все ответы."
243
239
244 #: templates/boards/posting_general.html:121 templates/search/search.html:33
240 #: templates/boards/posting_general.html:121 templates/search/search.html:33
245 msgid "Next page"
241 msgid "Next page"
246 msgstr "Следующая страница"
242 msgstr "Следующая страница"
247
243
248 #: templates/boards/posting_general.html:126
244 #: templates/boards/posting_general.html:126
249 msgid "No threads exist. Create the first one!"
245 msgid "No threads exist. Create the first one!"
250 msgstr "Нет тем. Создайте первую!"
246 msgstr "Нет тем. Создайте первую!"
251
247
252 #: templates/boards/posting_general.html:132
248 #: templates/boards/posting_general.html:132
253 msgid "Create new thread"
249 msgid "Create new thread"
254 msgstr "Создать новую тему"
250 msgstr "Создать новую тему"
255
251
256 #: templates/boards/posting_general.html:137 templates/boards/preview.html:16
252 #: templates/boards/posting_general.html:137 templates/boards/preview.html:16
257 #: templates/boards/thread.html:58
253 #: templates/boards/thread.html:59
258 msgid "Post"
254 msgid "Post"
259 msgstr "Отправить"
255 msgstr "Отправить"
260
256
261 #: templates/boards/posting_general.html:142
257 #: templates/boards/posting_general.html:142
262 msgid "Tags must be delimited by spaces. Text or image is required."
258 msgid "Tags must be delimited by spaces. Text or image is required."
263 msgstr ""
259 msgstr ""
264 "Теги должны быть разделены пробелами. Текст или изображение обязательны."
260 "Теги должны быть разделены пробелами. Текст или изображение обязательны."
265
261
266 #: templates/boards/posting_general.html:145 templates/boards/thread.html:66
262 #: templates/boards/posting_general.html:145 templates/boards/thread.html:67
267 msgid "Text syntax"
263 msgid "Text syntax"
268 msgstr "Синтаксис текста"
264 msgstr "Синтаксис текста"
269
265
270 #: templates/boards/posting_general.html:157
266 #: templates/boards/posting_general.html:157
271 msgid "Pages:"
267 msgid "Pages:"
272 msgstr "Страницы: "
268 msgstr "Страницы: "
273
269
274 #: templates/boards/preview.html:6 templates/boards/staticpages/help.html:19
270 #: templates/boards/preview.html:6 templates/boards/staticpages/help.html:19
275 msgid "Preview"
271 msgid "Preview"
276 msgstr "Предпросмотр"
272 msgstr "Предпросмотр"
277
273
274 #: templates/boards/rss/post.html:5
275 msgid "Post image"
276 msgstr "Изображение сообщения"
277
278 #: templates/boards/settings.html:15
278 #: templates/boards/settings.html:15
279 msgid "You are moderator."
279 msgid "You are moderator."
280 msgstr "Вы модератор."
280 msgstr "Вы модератор."
281
281
282 #: templates/boards/settings.html:19
282 #: templates/boards/settings.html:19
283 msgid "Hidden tags:"
283 msgid "Hidden tags:"
284 msgstr "Скрытые теги:"
284 msgstr "Скрытые теги:"
285
285
286 #: templates/boards/settings.html:26
286 #: templates/boards/settings.html:26
287 msgid "No hidden tags."
287 msgid "No hidden tags."
288 msgstr "Нет скрытых тегов."
288 msgstr "Нет скрытых тегов."
289
289
290 #: templates/boards/settings.html:35
290 #: templates/boards/settings.html:35
291 msgid "Save"
291 msgid "Save"
292 msgstr "Сохранить"
292 msgstr "Сохранить"
293
293
294 #: templates/boards/tags.html:22
295 msgid "No tags found."
296 msgstr "Теги не найдены."
297
298 #: templates/boards/thread.html:20 templates/boards/thread_gallery.html:19
299 msgid "Normal mode"
300 msgstr "Нормальный режим"
301
302 #: templates/boards/thread.html:21 templates/boards/thread_gallery.html:20
303 msgid "Gallery mode"
304 msgstr "Режим галереи"
305
306 #: templates/boards/thread.html:29
307 msgid "posts to bumplimit"
308 msgstr "сообщений до бамплимита"
309
310 #: templates/boards/thread.html:50
311 msgid "Reply to thread"
312 msgstr "Ответить в тему"
313
314 #: templates/boards/thread.html:63
315 msgid "Switch mode"
316 msgstr "Переключить режим"
317
318 #: templates/boards/thread.html:90 templates/boards/thread_gallery.html:61
319 msgid "Last update: "
320 msgstr "Последнее обновление: "
321
322 #: templates/boards/rss/post.html:5
323 msgid "Post image"
324 msgstr "Изображение сообщения"
325
326 #: templates/boards/staticpages/banned.html:6
294 #: templates/boards/staticpages/banned.html:6
327 msgid "Banned"
295 msgid "Banned"
328 msgstr "Заблокирован"
296 msgstr "Заблокирован"
329
297
330 #: templates/boards/staticpages/banned.html:11
298 #: templates/boards/staticpages/banned.html:11
331 msgid "Your IP address has been banned. Contact the administrator"
299 msgid "Your IP address has been banned. Contact the administrator"
332 msgstr "Ваш IP адрес был заблокирован. Свяжитесь с администратором"
300 msgstr "Ваш IP адрес был заблокирован. Свяжитесь с администратором"
333
301
334 #: templates/boards/staticpages/help.html:6
302 #: templates/boards/staticpages/help.html:6
335 #: templates/boards/staticpages/help.html:10
303 #: templates/boards/staticpages/help.html:10
336 msgid "Syntax"
304 msgid "Syntax"
337 msgstr "Синтаксис"
305 msgstr "Синтаксис"
338
306
339 #: templates/boards/staticpages/help.html:11
307 #: templates/boards/staticpages/help.html:11
340 msgid "Italic text"
308 msgid "Italic text"
341 msgstr "Курсивный текст"
309 msgstr "Курсивный текст"
342
310
343 #: templates/boards/staticpages/help.html:12
311 #: templates/boards/staticpages/help.html:12
344 msgid "Bold text"
312 msgid "Bold text"
345 msgstr "Полужирный текст"
313 msgstr "Полужирный текст"
346
314
347 #: templates/boards/staticpages/help.html:13
315 #: templates/boards/staticpages/help.html:13
348 msgid "Spoiler"
316 msgid "Spoiler"
349 msgstr "Спойлер"
317 msgstr "Спойлер"
350
318
351 #: templates/boards/staticpages/help.html:14
319 #: templates/boards/staticpages/help.html:14
352 msgid "Link to a post"
320 msgid "Link to a post"
353 msgstr "Ссылка на сообщение"
321 msgstr "Ссылка на сообщение"
354
322
355 #: templates/boards/staticpages/help.html:15
323 #: templates/boards/staticpages/help.html:15
356 msgid "Strikethrough text"
324 msgid "Strikethrough text"
357 msgstr "Зачеркнутый текст"
325 msgstr "Зачеркнутый текст"
358
326
359 #: templates/boards/staticpages/help.html:16
327 #: templates/boards/staticpages/help.html:16
360 msgid "Comment"
328 msgid "Comment"
361 msgstr "Комментарий"
329 msgstr "Комментарий"
362
330
363 #: templates/boards/staticpages/help.html:19
331 #: templates/boards/staticpages/help.html:19
364 msgid "You can try pasting the text and previewing the result here:"
332 msgid "You can try pasting the text and previewing the result here:"
365 msgstr "Вы можете попробовать вставить текст и проверить результат здесь:"
333 msgstr "Вы можете попробовать вставить текст и проверить результат здесь:"
334
335 #: templates/boards/tags.html:22
336 msgid "No tags found."
337 msgstr "Теги не найдены."
338
339 #: templates/boards/thread.html:21 templates/boards/thread_gallery.html:19
340 msgid "Normal mode"
341 msgstr "Нормальный режим"
342
343 #: templates/boards/thread.html:22 templates/boards/thread_gallery.html:20
344 msgid "Gallery mode"
345 msgstr "Режим галереи"
346
347 #: templates/boards/thread.html:30
348 msgid "posts to bumplimit"
349 msgstr "сообщений до бамплимита"
350
351 #: templates/boards/thread.html:51
352 msgid "Reply to thread"
353 msgstr "Ответить в тему"
354
355 #: templates/boards/thread.html:64
356 msgid "Switch mode"
357 msgstr "Переключить режим"
358
359 #: templates/boards/thread.html:102 templates/boards/thread_gallery.html:61
360 msgid "Last update: "
361 msgstr "Последнее обновление: "
362
363 #~ msgid "Delete"
364 #~ msgstr "Удалить"
365
366 #~ msgid "Ban IP"
367 #~ msgstr "Заблокировать IP"
@@ -1,96 +1,96 b''
1 {% load i18n %}
1 {% load i18n %}
2 {% load board %}
2 {% load board %}
3 {% load cache %}
3 {% load cache %}
4
4
5 {% get_current_language as LANGUAGE_CODE %}
5 {% get_current_language as LANGUAGE_CODE %}
6
6
7 {% spaceless %}
7 {% spaceless %}
8 {% cache 600 post post.id post.last_edit_time thread.archived bumpable truncated moderator LANGUAGE_CODE need_open_link %}
8 {% cache 600 post post.id post.last_edit_time thread.archived bumpable truncated moderator LANGUAGE_CODE need_open_link %}
9 {% if thread.archived %}
9 {% if thread.archived %}
10 <div class="post archive_post" id="{{ post.id }}">
10 <div class="post archive_post" id="{{ post.id }}">
11 {% elif bumpable %}
11 {% elif bumpable %}
12 <div class="post" id="{{ post.id }}">
12 <div class="post" id="{{ post.id }}">
13 {% else %}
13 {% else %}
14 <div class="post dead_post" id="{{ post.id }}">
14 <div class="post dead_post" id="{{ post.id }}">
15 {% endif %}
15 {% endif %}
16
16
17 <div class="post-info">
17 <div class="post-info">
18 <a class="post_id" href="{% post_object_url post thread=thread %}"
18 <a class="post_id" href="{% post_object_url post thread=thread %}"
19 {% if not truncated and not thread.archived %}
19 {% if not truncated and not thread.archived %}
20 onclick="javascript:addQuickReply('{{ post.id }}'); return false;"
20 onclick="javascript:addQuickReply('{{ post.id }}'); return false;"
21 title="{% trans 'Quote' %}"
21 title="{% trans 'Quote' %}"
22 {% endif %}
22 {% endif %}
23 >({{ post.id }}) </a>
23 >({{ post.id }}) </a>
24 <span class="title">{{ post.title }} </span>
24 <span class="title">{{ post.title }} </span>
25 <span class="pub_time">{{ post.pub_time }}</span>
25 <span class="pub_time">{{ post.pub_time }}</span>
26 {% if thread.archived %}
26 {% if thread.archived %}
27 — {{ thread.bump_time }}
27 — {{ thread.bump_time }}
28 {% endif %}
28 {% endif %}
29 {% if is_opening and need_open_link %}
29 {% if is_opening and need_open_link %}
30 {% if thread.archived %}
30 {% if thread.archived %}
31 [<a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a>]
31 [<a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a>]
32 {% else %}
32 {% else %}
33 [<a class="link" href="{% url 'thread' post.id %}#form">{% trans "Reply" %}</a>]
33 [<a class="link" href="{% url 'thread' post.id %}#form">{% trans "Reply" %}</a>]
34 {% endif %}
34 {% endif %}
35 {% endif %}
35 {% endif %}
36
36
37 {% if moderator %}
37 {% if moderator %}
38 <span class="moderator_info">
38 <span class="moderator_info">
39 [<a href="{% url 'admin:boards_post_change' post.id %}"
39 [<a href="{% url 'admin:boards_post_change' post.id %}"
40 >{% trans 'Edit' %}</a>]
40 >{% trans 'Edit' %}</a>]
41 [<a href="{% url 'ban' post_id=post.id %}?next={{ request.path }}"
41 [<a href="{% url 'admin:boards_thread_change' thread.id %}"
42 >{% trans 'Ban IP' %}</a>]
42 >{% trans 'Edit thread' %}</a>]
43 </span>
43 </span>
44 {% endif %}
44 {% endif %}
45 </div>
45 </div>
46 {% if post.images.exists %}
46 {% if post.images.exists %}
47 {% with post.images.all.0 as image %}
47 {% with post.images.all.0 as image %}
48 <div class="image">
48 <div class="image">
49 <a
49 <a
50 class="thumb"
50 class="thumb"
51 href="{{ image.image.url }}"><img
51 href="{{ image.image.url }}"><img
52 src="{{ image.image.url_200x150 }}"
52 src="{{ image.image.url_200x150 }}"
53 alt="{{ post.id }}"
53 alt="{{ post.id }}"
54 width="{{ image.pre_width }}"
54 width="{{ image.pre_width }}"
55 height="{{ image.pre_height }}"
55 height="{{ image.pre_height }}"
56 data-width="{{ image.width }}"
56 data-width="{{ image.width }}"
57 data-height="{{ image.height }}"/>
57 data-height="{{ image.height }}"/>
58 </a>
58 </a>
59 </div>
59 </div>
60 {% endwith %}
60 {% endwith %}
61 {% endif %}
61 {% endif %}
62 <div class="message">
62 <div class="message">
63 {% autoescape off %}
63 {% autoescape off %}
64 {% if truncated %}
64 {% if truncated %}
65 {{ post.text.rendered|truncatewords_html:50 }}
65 {{ post.text.rendered|truncatewords_html:50 }}
66 {% else %}
66 {% else %}
67 {{ post.text.rendered }}
67 {{ post.text.rendered }}
68 {% endif %}
68 {% endif %}
69 {% endautoescape %}
69 {% endautoescape %}
70 {% if post.is_referenced %}
70 {% if post.is_referenced %}
71 <div class="refmap">
71 <div class="refmap">
72 {% autoescape off %}
72 {% autoescape off %}
73 {% trans "Replies" %}: {{ post.refmap }}
73 {% trans "Replies" %}: {{ post.refmap }}
74 {% endautoescape %}
74 {% endautoescape %}
75 </div>
75 </div>
76 {% endif %}
76 {% endif %}
77 </div>
77 </div>
78 {% endcache %}
78 {% endcache %}
79 {% if is_opening %}
79 {% if is_opening %}
80 {% cache 600 post_thread thread.id thread.last_edit_time LANGUAGE_CODE need_open_link %}
80 {% cache 600 post_thread thread.id thread.last_edit_time LANGUAGE_CODE need_open_link %}
81 <div class="metadata">
81 <div class="metadata">
82 {% if is_opening and need_open_link %}
82 {% if is_opening and need_open_link %}
83 {{ thread.get_reply_count }} {% trans 'messages' %},
83 {{ thread.get_reply_count }} {% trans 'messages' %},
84 {{ thread.get_images_count }} {% trans 'images' %}.
84 {{ thread.get_images_count }} {% trans 'images' %}.
85 {% endif %}
85 {% endif %}
86 <span class="tags">
86 <span class="tags">
87 {% for tag in thread.get_tags %}
87 {% for tag in thread.get_tags %}
88 <a class="tag" href="{% url 'tag' tag.name %}">
88 <a class="tag" href="{% url 'tag' tag.name %}">
89 #{{ tag.name }}</a>{% if not forloop.last %},{% endif %}
89 #{{ tag.name }}</a>{% if not forloop.last %},{% endif %}
90 {% endfor %}
90 {% endfor %}
91 </span>
91 </span>
92 </div>
92 </div>
93 {% endcache %}
93 {% endcache %}
94 {% endif %}
94 {% endif %}
95 </div>
95 </div>
96 {% endspaceless %}
96 {% endspaceless %}
General Comments 0
You need to be logged in to leave comments. Login now