Browse Source

Create separate page for contact information

pull/1/head
Hidden Z 11 years ago
parent
commit
33216703d1
  1. 3
      pyi2phosts/templates/base.html
  2. 21
      pyi2phosts/templates/contacts.html
  3. 6
      pyi2phosts/templates/index.html
  4. 1
      pyi2phosts/urls.py

3
pyi2phosts/templates/base.html

@ -26,9 +26,10 @@
<ul> <ul>
<li><a href=/>{% trans "Home" %}</a></li> <li><a href=/>{% trans "Home" %}</a></li>
<li><a href={% url 'faq' %}>FAQ</a></li> <li><a href={% url 'faq' %}>FAQ</a></li>
<li><a href={% url 'browse' %}>{% trans "Browse alive hosts" %}</a></li>
<li><a href={% url 'latest' %}>{% trans "Browse latest hosts" %}</a></li> <li><a href={% url 'latest' %}>{% trans "Browse latest hosts" %}</a></li>
<li><a href={% url 'browse' %}>{% trans "Browse alive hosts" %}</a></li>
<li><a href={% url 'pyi2phosts.postkey.views.addkey' %}>{% trans "Register a domain" %}</a></li> <li><a href={% url 'pyi2phosts.postkey.views.addkey' %}>{% trans "Register a domain" %}</a></li>
<li><a href={% url 'contacts' %}>{% trans "Contacts" %}</a></li>
</ul> </ul>
</div> </div>

21
pyi2phosts/templates/contacts.html

@ -0,0 +1,21 @@
{% extends "base.html" %}
{% load i18n %}
{% block content %}
{% blocktrans %}
<h3>Direct contact methods:</h3>
<ul>
<li>IRC: #i2p-dev, nick "slow". This is the fastest contact method and should be used first.</li>
<li>Email: hiddenz@mail.i2p. You can send your message here, but don't expect a fast reply.</li>
</ul>
{% endblocktrans %}
{% blocktrans %}
<h3>Public discussions about service, feedback, proposals and feature requests</h3>
<ul>
<li><a href="http://hiddenchan.i2p/d/res/4222.html">Thread at hiddenchan.i2p</a>: the best place for discussion (russian and english are allowed)</li>
<li><a href="http://forum.i2p/viewtopic.php?t=5083">Thread at forum.i2p</a>: very rarely readable (english)</li>
<li><a href="http://zzz.i2p/topics/733">py-i2phosts thread at zzz.i2p</a>: thread about py-i2phosts development, rarely readable (english)</li>
</ul>
{% endblocktrans %}
{% endblock %}

6
pyi2phosts/templates/index.html

@ -15,12 +15,6 @@
<p>To find out how we're registering and publishing hosts, look at <p>To find out how we're registering and publishing hosts, look at
<a href={{ faq_url }}>FAQ</a> page. <a href={{ faq_url }}>FAQ</a> page.
</p> </p>
<p>
If you have any questions, feel free to ask <a href="http://forum.i2p/viewtopic.php?t=5083">here</a>
publicly. Private questions can be asked through <a href="http://i2pbote.i2p/">i2pbote</a>
using <em>uxGqmWz4HxLqjPVm7eSGGRqaGInm5hh8lZYubYdUX4Cih4Qhna2tSSMrupbWdDj80zDNoXvBc-le0GsywgVulw</em>
identity.
</p>
{% endblocktrans %} {% endblocktrans %}
{% blocktrans %} {% blocktrans %}

1
pyi2phosts/urls.py

@ -14,6 +14,7 @@ from pyi2phosts.lib.generic import HostsListsView
urlpatterns = patterns('', urlpatterns = patterns('',
url(r'^$', LocalTemplateView.as_view(template_name='index.html'), name='index'), url(r'^$', LocalTemplateView.as_view(template_name='index.html'), name='index'),
url(r'^contacts/$', LocalTemplateView.as_view(template_name='contacts.html'), name='contacts'),
url(r'^faq/$', FaqView.as_view(), name='faq'), url(r'^faq/$', FaqView.as_view(), name='faq'),
url(r'^browse/$', HostsListsView.as_view(), name='browse'), url(r'^browse/$', HostsListsView.as_view(), name='browse'),
url(r'^browse/rss/$', AliveHostsFeed(), name='browse-rss'), url(r'^browse/rss/$', AliveHostsFeed(), name='browse-rss'),

Loading…
Cancel
Save