forked from I2P_Developers/i2p.www
Fixed URLs and added translation tags to blog, downloads and meetings pages
This commit is contained in:
@@ -1,15 +1,20 @@
|
||||
{% extends "global/layout.html" %}
|
||||
{% block title %}Meetings{% endblock %}
|
||||
{% block title %}{% trans %}Meetings{% endtrans %}{% endblock %}
|
||||
{% block headextra %}
|
||||
<link href="{{ url_for('meetings_atom', lang=g.lang) }}" type="application/atom+xml" rel="alternate" title="I2P Meetings ATOM Feed" />
|
||||
<link href="{{ get_url('meetings_atom') }}" type="application/atom+xml" rel="alternate" title="{% trans %}I2P Meetings ATOM Feed{% endtrans %}" />
|
||||
{%- endblock %}
|
||||
{% block content %}
|
||||
<h1>Logs of past I2P meetings</h1>
|
||||
<p>If you have something to discuss, please find the developers on IRC in #i2p-dev.
|
||||
<a href="{{ url_for('blog_index', lang=g.lang) }}">Status updates</a> from developers are also available.
|
||||
</p><div class="underline"></div>
|
||||
<h1>{% trans %}Logs of past I2P meetings{% endtrans %}</h1>
|
||||
|
||||
<p>{% trans blogindex=get_url('blog_index') -%}
|
||||
If you have something to discuss, please find the developers on IRC in #i2p-dev.
|
||||
<a href="{{ blogindex }}">Status updates</a> from developers are also available.
|
||||
{%- endtrans %}</p>
|
||||
|
||||
<div class="underline"></div>
|
||||
|
||||
<ul class="infolist">
|
||||
{%- macro meeting_url(m_id) -%}{{ url_for('meetings_show', lang=g.lang, id=m_id) }}{%- endmacro %}
|
||||
{%- macro meeting_url(m_id) -%}{{ get_url('meetings_show', id=m_id) }}{%- endmacro %}
|
||||
{% for meeting in meetings %}
|
||||
<li><a href="{{ meeting_url(meeting['id']) }}">Meeting {{ meeting['id'] }}</a>{% if meeting['date'] %} - {{ meeting['date'].strftime("%B %d, %Y") }}{% endif %}</li>
|
||||
{% endfor %}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{% extends "global/layout.html" %}
|
||||
{% block title %}I2P Development Meeting {{ id }}{% endblock %}
|
||||
{% block title %}{% trans %}I2P Development Meeting {{ id }}{% endtrans %}{% endblock %}
|
||||
{% block content %}
|
||||
{% autoescape false %}
|
||||
{% if header %}
|
||||
@@ -7,7 +7,7 @@
|
||||
{% endif %}
|
||||
{% endautoescape %}
|
||||
<div class="irclog">
|
||||
<h1>Full IRC Log</h1>
|
||||
<h1>{% trans %}Full IRC Log{% endtrans %}</h1>
|
||||
<pre>
|
||||
{{ log|escape }}
|
||||
{# TODO: pygments #}
|
||||
|
Reference in New Issue
Block a user