apparently payments > paid apps now

This commit is contained in:
Jen Fong-Adwent 2013-04-18 09:51:17 -04:00
Родитель f6f5befadd
Коммит 1e8620e51e
5 изменённых файлов: 13 добавлений и 13 удалений

Просмотреть файл

@ -2,15 +2,15 @@
{% from "ecosystem/macros.html" import navigation with context %}
{% block title %}
{{ hub_page_title(_('Paid Apps')) }}
{{ hub_page_title(_('Payments')) }}
{% endblock %}
{% block content %}
<div class="doc-wrapper">
{{ navigation('build_paid_apps') }}
{{ navigation('build_payments') }}
<article>
<h1>Paid Apps</h1>
<h1>Payments</h1>
<h2>Receipt Verification</h2>
<ul>
<li>

Просмотреть файл

@ -153,11 +153,11 @@
{{- _('Developing Game Apps') }}</a>
</li>
<li>
<a href="{{ url('ecosystem.build_paid_apps') }}"
{%- if section == 'build_paid_apps' %}
<a href="{{ url('ecosystem.build_payments') }}"
{%- if section == 'build_payments' %}
class="selected"
{% endif %}>
{{- _('Paid Apps') }}</a>
{{- _('Payments') }}</a>
</li>
<li>
<a href="{{ url('ecosystem.build_manifests') }}"

Просмотреть файл

@ -16,7 +16,7 @@ VIEW_PAGES = (
'build_tools', 'build_web_developers', 'design_concept',
'design_fundamentals', 'design_patterns', 'design_ui', 'dev_phone',
'partners', 'publish_deploy', 'publish_hosted', 'publish_packaged',
'publish_review', 'publish_submit', 'support', 'build_paid_apps',
'publish_review', 'publish_submit', 'support', 'build_payments',
)

Просмотреть файл

@ -51,8 +51,8 @@ urlpatterns = patterns('',
name='ecosystem.build_web_developers'),
url('^docs/dev_tools$', views.build_dev_tools,
name='ecosystem.build_dev_tools'),
url('^docs/payments$', views.build_paid_apps,
name='ecosystem.build_paid_apps'),
url('^docs/payments$', views.build_payments,
name='ecosystem.build_payments'),
url('^docs/apps/(?P<page>\w+)?$', views.apps_documentation,
name='ecosystem.apps_documentation'),

Просмотреть файл

@ -483,10 +483,10 @@ def build_dev_tools(request):
{'page': 'build_dev_tools', 'category': 'build'})
def build_paid_apps(request):
"""Build - Paid Apps page."""
return jingo.render(request, 'ecosystem/build_paid_apps.html',
{'page': 'build_paid_apps', 'category': 'build'})
def build_payments(request):
"""Build - Payments page."""
return jingo.render(request, 'ecosystem/build_payments.html',
{'page': 'build_payments', 'category': 'build'})
def apps_documentation(request, page=None):