Show More
@@ -0,0 +1,14 b'' | |||||
|
1 | __author__ = 'neko259' | |||
|
2 | ||||
|
3 | authors = { | |||
|
4 | 'neko259': { | |||
|
5 | 'name': 'Pavel Ryapolov', | |||
|
6 | 'contacts': ['neko259@gmail.com'], | |||
|
7 | 'roles': ['author', 'developer'], | |||
|
8 | }, | |||
|
9 | 'ilyas': { | |||
|
10 | 'name': 'Ilyas Babayev', | |||
|
11 | 'contacts': ['zamesilyasa@gmail.com'], | |||
|
12 | 'roles': ['author', 'developer'], | |||
|
13 | } | |||
|
14 | } No newline at end of file |
@@ -0,0 +1,30 b'' | |||||
|
1 | {% extends "boards/base.html" %} | |||
|
2 | ||||
|
3 | {% load i18n %} | |||
|
4 | ||||
|
5 | {% block head %} | |||
|
6 | <title>{% trans "Authors" %}</title> | |||
|
7 | {% endblock %} | |||
|
8 | ||||
|
9 | {% block content %} | |||
|
10 | <div class="post"> | |||
|
11 | <h2>Authors</h2> | |||
|
12 | {% for nick, values in authors.items %} | |||
|
13 | <p> | |||
|
14 | <b>{{ nick }}</b> ({{ values.name }}): | |||
|
15 | {% for value in values.contacts %} | |||
|
16 | <a href="mailto:{{ value }}">{{ value }}</a> | |||
|
17 | {% endfor %} - | |||
|
18 | {% for role in values.roles %} | |||
|
19 | {% trans role %} | |||
|
20 | {% endfor %} | |||
|
21 | </p> | |||
|
22 | {% endfor %} | |||
|
23 | <br /> | |||
|
24 | <p>{% trans "Distributed under the" %} | |||
|
25 | <a href="http://www.gnu.org/licenses/gpl.html" >GNU GPLv3</a> | |||
|
26 | {% trans "license" %}</p> | |||
|
27 | <p><a href="https://bitbucket.org/neko259/neboard"> | |||
|
28 | {% trans "Repository" %}</a></p> | |||
|
29 | </div> | |||
|
30 | {% endblock %} No newline at end of file |
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: 2013-0 |
|
10 | "POT-Creation-Date: 2013-08-04 14:04+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" | |
@@ -18,6 +18,22 b' msgstr ""' | |||||
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 | #: templates/boards/authors.html:6 | |||
|
22 | msgid "Authors" | |||
|
23 | msgstr "Авторы" | |||
|
24 | ||||
|
25 | #: templates/boards/authors.html:24 | |||
|
26 | msgid "Distributed under the" | |||
|
27 | msgstr "Распространяется под" | |||
|
28 | ||||
|
29 | #: templates/boards/authors.html:26 | |||
|
30 | msgid "license" | |||
|
31 | msgstr "лицензией" | |||
|
32 | ||||
|
33 | #: templates/boards/authors.html:28 | |||
|
34 | msgid "Repository" | |||
|
35 | msgstr "Репозиторий" | |||
|
36 | ||||
21 | #: templates/boards/base.html:12 |
|
37 | #: templates/boards/base.html:12 | |
22 | msgid "Feed" |
|
38 | msgid "Feed" | |
23 | msgstr "Лента" |
|
39 | msgstr "Лента" | |
@@ -41,7 +57,6 b' msgstr "\xd0\xa2\xd0\xb5\xd0\xb3: "' | |||||
41 | #: templates/boards/posting_general.html:35 |
|
57 | #: templates/boards/posting_general.html:35 | |
42 | #: templates/boards/posting_general.html:79 templates/boards/thread.html:27 |
|
58 | #: templates/boards/posting_general.html:79 templates/boards/thread.html:27 | |
43 | #: templates/boards/rss/post.html:5 |
|
59 | #: templates/boards/rss/post.html:5 | |
44 | #, fuzzy |
|
|||
45 | msgid "Post image" |
|
60 | msgid "Post image" | |
46 | msgstr "Изображение сообщения" |
|
61 | msgstr "Изображение сообщения" | |
47 |
|
62 | |||
@@ -49,16 +64,16 b' msgstr "\xd0\x98\xd0\xb7\xd0\xbe\xd0\xb1\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd1\x81\xd0\xbe\xd0\xbe\xd0\xb1\xd1\x89\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f"' | |||||
49 | msgid "Reply" |
|
64 | msgid "Reply" | |
50 | msgstr "Ответ" |
|
65 | msgstr "Ответ" | |
51 |
|
66 | |||
52 |
#: templates/boards/posting_general.html:53 templates/boards/thread.html:1 |
|
67 | #: templates/boards/posting_general.html:53 templates/boards/thread.html:111 | |
53 | msgid "replies" |
|
68 | msgid "replies" | |
54 | msgstr "ответов" |
|
69 | msgstr "ответов" | |
55 |
|
70 | |||
56 |
#: templates/boards/posting_general.html:54 templates/boards/thread.html:1 |
|
71 | #: templates/boards/posting_general.html:54 templates/boards/thread.html:112 | |
57 | msgid "images" |
|
72 | msgid "images" | |
58 | msgstr "изображений" |
|
73 | msgstr "изображений" | |
59 |
|
74 | |||
60 | #: templates/boards/posting_general.html:56 |
|
75 | #: templates/boards/posting_general.html:56 | |
61 |
#: templates/boards/posting_general.html:127 templates/boards/thread.html: |
|
76 | #: templates/boards/posting_general.html:127 templates/boards/thread.html:51 | |
62 | #: templates/boards/rss/post.html:10 |
|
77 | #: templates/boards/rss/post.html:10 | |
63 | msgid "Tags" |
|
78 | msgid "Tags" | |
64 | msgstr "Теги" |
|
79 | msgstr "Теги" | |
@@ -67,28 +82,28 b' msgstr "\xd0\xa2\xd0\xb5\xd0\xb3\xd0\xb8"' | |||||
67 | msgid "Create new thread" |
|
82 | msgid "Create new thread" | |
68 | msgstr "Создать новую тему" |
|
83 | msgstr "Создать новую тему" | |
69 |
|
84 | |||
70 |
#: templates/boards/posting_general.html:112 templates/boards/thread.html:7 |
|
85 | #: templates/boards/posting_general.html:112 templates/boards/thread.html:73 | |
71 | msgid "Title" |
|
86 | msgid "Title" | |
72 | msgstr "Заголовок" |
|
87 | msgstr "Заголовок" | |
73 |
|
88 | |||
74 |
#: templates/boards/posting_general.html:117 templates/boards/thread.html:7 |
|
89 | #: templates/boards/posting_general.html:117 templates/boards/thread.html:78 | |
75 | msgid "Text" |
|
90 | msgid "Text" | |
76 | msgstr "Текст" |
|
91 | msgstr "Текст" | |
77 |
|
92 | |||
78 |
#: templates/boards/posting_general.html:122 templates/boards/thread.html:8 |
|
93 | #: templates/boards/posting_general.html:122 templates/boards/thread.html:83 | |
79 | msgid "Image" |
|
94 | msgid "Image" | |
80 | msgstr "Изображение" |
|
95 | msgstr "Изображение" | |
81 |
|
96 | |||
82 |
#: templates/boards/posting_general.html:13 |
|
97 | #: templates/boards/posting_general.html:137 templates/boards/thread.html:94 | |
83 | msgid "Post" |
|
98 | msgid "Post" | |
84 | msgstr "Отправить" |
|
99 | msgstr "Отправить" | |
85 |
|
100 | |||
86 |
#: templates/boards/posting_general.html:13 |
|
101 | #: templates/boards/posting_general.html:139 | |
87 | msgid "Tags must be delimited by spaces. Text or image is required." |
|
102 | msgid "Tags must be delimited by spaces. Text or image is required." | |
88 | msgstr "" |
|
103 | msgstr "" | |
89 | "Теги должны быть разделены пробелами. Текст или изображение обязательны." |
|
104 | "Теги должны быть разделены пробелами. Текст или изображение обязательны." | |
90 |
|
105 | |||
91 |
#: templates/boards/posting_general.html:14 |
|
106 | #: templates/boards/posting_general.html:142 templates/boards/thread.html:96 | |
92 | msgid "Basic markdown syntax." |
|
107 | msgid "Basic markdown syntax." | |
93 | msgstr "Базовый синтаксис markdown." |
|
108 | msgstr "Базовый синтаксис markdown." | |
94 |
|
109 | |||
@@ -112,31 +127,31 b' msgstr "\xd1\x82\xd0\xb5\xd0\xb3\xd0\xbe\xd0\xb2"' | |||||
112 | msgid "Get!" |
|
127 | msgid "Get!" | |
113 | msgstr "Гет!" |
|
128 | msgstr "Гет!" | |
114 |
|
129 | |||
115 |
#: templates/boards/thread.html: |
|
130 | #: templates/boards/thread.html:70 | |
116 | msgid "Reply to thread" |
|
131 | msgid "Reply to thread" | |
117 | msgstr "Ответить в тему" |
|
132 | msgstr "Ответить в тему" | |
118 |
|
133 | |||
119 |
#: templates/boards/thread.html:9 |
|
134 | #: templates/boards/thread.html:97 | |
120 | msgid "Example: " |
|
135 | msgid "Example: " | |
121 | msgstr "Пример: " |
|
136 | msgstr "Пример: " | |
122 |
|
137 | |||
123 |
#: templates/boards/thread.html:9 |
|
138 | #: templates/boards/thread.html:97 | |
124 | msgid "italic" |
|
139 | msgid "italic" | |
125 | msgstr "курсив" |
|
140 | msgstr "курсив" | |
126 |
|
141 | |||
127 |
#: templates/boards/thread.html:9 |
|
142 | #: templates/boards/thread.html:98 | |
128 | msgid "bold" |
|
143 | msgid "bold" | |
129 | msgstr "полужирный" |
|
144 | msgstr "полужирный" | |
130 |
|
145 | |||
131 |
#: templates/boards/thread.html:9 |
|
146 | #: templates/boards/thread.html:99 | |
132 | msgid "Quotes can be inserted with" |
|
147 | msgid "Quotes can be inserted with" | |
133 | msgstr "Цитаты могут быть вставлены при помощи" |
|
148 | msgstr "Цитаты могут быть вставлены при помощи" | |
134 |
|
149 | |||
135 |
#: templates/boards/thread.html: |
|
150 | #: templates/boards/thread.html:100 | |
136 | msgid "Links to answers can be inserted with" |
|
151 | msgid "Links to answers can be inserted with" | |
137 | msgstr "Ссылки на ответы могут быть вставлены с помощью" |
|
152 | msgstr "Ссылки на ответы могут быть вставлены с помощью" | |
138 |
|
153 | |||
139 |
#: templates/boards/thread.html:11 |
|
154 | #: templates/boards/thread.html:113 | |
140 | msgid "Last update: " |
|
155 | msgid "Last update: " | |
141 | msgstr "Последнее обновление: " |
|
156 | msgstr "Последнее обновление: " | |
142 |
|
157 | |||
@@ -145,3 +160,9 b' msgstr "\xd0\x9f\xd0\xbe\xd1\x81\xd0\xbb\xd0\xb5\xd0\xb4\xd0\xbd\xd0\xb5\xd0\xb5 \xd0\xbe\xd0\xb1\xd0\xbd\xd0\xbe\xd0\xb2\xd0\xbb\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5: "' | |||||
145 |
|
160 | |||
146 | #~ msgid "gets" |
|
161 | #~ msgid "gets" | |
147 | #~ msgstr "гетов" |
|
162 | #~ msgstr "гетов" | |
|
163 | ||||
|
164 | msgid "author" | |||
|
165 | msgstr "автор" | |||
|
166 | ||||
|
167 | msgid "developer" | |||
|
168 | msgstr "разработчик" No newline at end of file |
@@ -148,8 +148,7 b'' | |||||
148 | {% block metapanel %} |
|
148 | {% block metapanel %} | |
149 |
|
149 | |||
150 | <span class="metapanel"> |
|
150 | <span class="metapanel"> | |
151 | <b><a href="https://bitbucket.org/neko259/neboard/">Neboard</a> |
|
151 | <b><a href="{% url "authors" %}">Neboard</a> pre1.0</b> | |
152 | pre1.0</b> |
|
|||
153 | {% trans "Pages:" %} |
|
152 | {% trans "Pages:" %} | |
154 | {% for page in pages %} |
|
153 | {% for page in pages %} | |
155 | [<a href=" |
|
154 | [<a href=" |
@@ -24,7 +24,8 b" urlpatterns = patterns(''," | |||||
24 | url(r'^settings$', views.settings, name='settings'), |
|
24 | url(r'^settings$', views.settings, name='settings'), | |
25 | url(r'^tags$', views.all_tags, name='tags'), |
|
25 | url(r'^tags$', views.all_tags, name='tags'), | |
26 | url(r'^captcha/', include('captcha.urls')), |
|
26 | url(r'^captcha/', include('captcha.urls')), | |
27 | url(r'^jump/(?P<post_id>\w+)', views.jump_to_post, name='jumper'), |
|
27 | url(r'^jump/(?P<post_id>\w+)/$', views.jump_to_post, name='jumper'), | |
|
28 | url(r'^authors/$', views.authors, name='authors'), | |||
28 |
|
29 | |||
29 | # RSS feeds |
|
30 | # RSS feeds | |
30 | url(r'^rss/$', AllThreadsFeed()), |
|
31 | url(r'^rss/$', AllThreadsFeed()), |
@@ -10,6 +10,7 b' from boards.forms import ThreadForm, Pos' | |||||
10 | ThreadCaptchaForm, PostCaptchaForm |
|
10 | ThreadCaptchaForm, PostCaptchaForm | |
11 |
|
11 | |||
12 | from boards.models import Post, Admin, Tag |
|
12 | from boards.models import Post, Admin, Tag | |
|
13 | from boards import authors | |||
13 | import neboard |
|
14 | import neboard | |
14 |
|
15 | |||
15 |
|
16 | |||
@@ -214,6 +215,13 b' def jump_to_post(request, post_id):' | |||||
214 | + '#' + str(post.id)) |
|
215 | + '#' + str(post.id)) | |
215 |
|
216 | |||
216 |
|
217 | |||
|
218 | def authors(request): | |||
|
219 | context = _init_default_context(request) | |||
|
220 | context['authors'] = boards.authors.authors | |||
|
221 | ||||
|
222 | return render(request, 'boards/authors.html', context) | |||
|
223 | ||||
|
224 | ||||
217 | def _get_theme(request): |
|
225 | def _get_theme(request): | |
218 | """Get user's CSS theme""" |
|
226 | """Get user's CSS theme""" | |
219 |
|
227 |
General Comments 0
You need to be logged in to leave comments.
Login now