##// END OF EJS Templates
Show id of the post you reply to in the form title
neko259 -
r1289:15cdb526 default
parent child Browse files
Show More
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -7,7 +7,7 b' 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: 2015-08-19 11:23+0300\n"
10 "POT-Creation-Date: 2015-08-21 11:01+0300\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"
@@ -103,13 +103,11 b' msgid "Invalid additional thread list"'
103 msgstr "Неверный список дополнительных тем"
103 msgstr "Неверный список дополнительных тем"
104
104
105 #: forms.py:245
105 #: forms.py:245
106 #| msgid "Either text or image must be entered."
107 msgid "Either text or file must be entered."
106 msgid "Either text or file must be entered."
108 msgstr "Текст или файл должны быть введены."
107 msgstr "Текст или файл должны быть введены."
109
108
110 #: forms.py:283
109 #: forms.py:283
111 #, python-format
110 #, python-format
112 #| msgid "Image must be less than %s bytes"
113 msgid "File must be less than %s bytes"
111 msgid "File must be less than %s bytes"
114 msgstr "Файл должен быть менее %s байт"
112 msgstr "Файл должен быть менее %s байт"
115
113
@@ -322,7 +320,7 b' msgstr "\xd0\x98\xd0\xb7\xd0\xbc\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x82\xd1\x8c"'
322 msgid "Edit thread"
320 msgid "Edit thread"
323 msgstr "Изменить тему"
321 msgstr "Изменить тему"
324
322
325 #: templates/boards/post.html:91
323 #: templates/boards/post.html:92
326 msgid "Replies"
324 msgid "Replies"
327 msgstr "Ответы"
325 msgstr "Ответы"
328
326
@@ -440,6 +438,11 b' msgstr "\xd1\x81\xd0\xbe\xd0\xbe\xd0\xb1\xd1\x89\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb9 \xd0\xb4\xd0\xbe \xd0\xb1\xd0\xb0\xd0\xbc\xd0\xbf\xd0\xbb\xd0\xb8\xd0\xbc\xd0\xb8\xd1\x82\xd0\xb0"'
440 msgid "Reply to thread"
438 msgid "Reply to thread"
441 msgstr "Ответить в тему"
439 msgstr "Ответить в тему"
442
440
441 #: templates/boards/thread_normal.html:31
442 #| msgid "messages"
443 msgid "to message "
444 msgstr "на сообщение"
445
443 #: templates/boards/thread_normal.html:46
446 #: templates/boards/thread_normal.html:46
444 msgid "Close form"
447 msgid "Close form"
445 msgstr "Закрыть форму"
448 msgstr "Закрыть форму"
@@ -447,4 +450,3 b' msgstr "\xd0\x97\xd0\xb0\xd0\xba\xd1\x80\xd1\x8b\xd1\x82\xd1\x8c \xd1\x84\xd0\xbe\xd1\x80\xd0\xbc\xd1\x83"'
447 #: templates/search/search.html:17
450 #: templates/search/search.html:17
448 msgid "Ok"
451 msgid "Ok"
449 msgstr "Ок"
452 msgstr "Ок"
450
@@ -126,3 +126,7 b' textarea, input {'
126 .tag-image {
126 .tag-image {
127 margin-right: 5px;
127 margin-right: 5px;
128 }
128 }
129
130 .reply-to-message {
131 display: none;
132 }
@@ -24,6 +24,9 b''
24 */
24 */
25
25
26 var CLOSE_BUTTON = '#form-close-button';
26 var CLOSE_BUTTON = '#form-close-button';
27 var REPLY_TO_MSG = '.reply-to-message';
28 var REPLY_TO_MSG_ID = '#reply-to-message-id';
29
27 var $html = $("html, body");
30 var $html = $("html, body");
28
31
29 function moveCaretToEnd(el) {
32 function moveCaretToEnd(el) {
@@ -46,6 +49,7 b' function resetFormPosition() {'
46 form.insertAfter($('.thread'));
49 form.insertAfter($('.thread'));
47
50
48 $(CLOSE_BUTTON).hide();
51 $(CLOSE_BUTTON).hide();
52 $(REPLY_TO_MSG).hide();
49 }
53 }
50
54
51 function showFormAfter(blockToInsertAfter) {
55 function showFormAfter(blockToInsertAfter) {
@@ -54,6 +58,8 b' function showFormAfter(blockToInsertAfte'
54
58
55 $(CLOSE_BUTTON).show();
59 $(CLOSE_BUTTON).show();
56 form.show();
60 form.show();
61 $(REPLY_TO_MSG_ID).text(blockToInsertAfter.attr('id'));
62 $(REPLY_TO_MSG).show();
57 }
63 }
58
64
59 function addQuickReply(postId) {
65 function addQuickReply(postId) {
@@ -28,7 +28,7 b''
28 {% if not thread.archived %}
28 {% if not thread.archived %}
29 <div class="post-form-w">
29 <div class="post-form-w">
30 <script src="{% static 'js/panel.js' %}"></script>
30 <script src="{% static 'js/panel.js' %}"></script>
31 <div class="form-title">{% trans "Reply to thread" %} #{{ opening_post.id }}</div>
31 <div class="form-title">{% trans "Reply to thread" %} #{{ opening_post.id }}<span class="reply-to-message"> {% trans "to message " %} #<span id="reply-to-message-id"></span></span></div>
32 <div class="post-form" id="compact-form">
32 <div class="post-form" id="compact-form">
33 <div class="swappable-form-full">
33 <div class="swappable-form-full">
34 <form enctype="multipart/form-data" method="post" id="form">{% csrf_token %}
34 <form enctype="multipart/form-data" method="post" id="form">{% csrf_token %}
General Comments 0
You need to be logged in to leave comments. Login now