landing-page: Replace /about with /team and /history in links.

This commit is contained in:
Tim Abbott 2017-10-31 12:08:32 -07:00
parent 425738fa24
commit d27002ba21
7 changed files with 14 additions and 9 deletions

View File

@ -8,7 +8,7 @@
<li><a href="/plans/">{{ _("Plans &amp; pricing") }}</a></li>
{% if about_link_disabled %}
{% else %}
<li><a href="/about/">{{ _("About") }}</a></li>
<li><a href="/team/">{{ _("Team") }}</a></li>
{% endif %}
</ul>
</section>

View File

@ -32,7 +32,7 @@
<h1>The Team</h1>
<h2>Zulip Core Team</h2>
<p>
Over 305 people have contributed to the Zulip codebase, from
Over 350 people have contributed to the Zulip codebase, from
high school students to 30 year industry veterans, from people
launching new careers to people looking for community. Meet
the leadership below.
@ -97,7 +97,11 @@
<div class="contributors">
<h2>Contributors</h2>
<p>
Here, we recognize the top 100 contributors to
Zulip is built from the work of many enthusiastic
developers from all around the world.
</p>
<p>
Below, we recognize the top 100 contributors to
the Zulip server project on GitHub.
</p>

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""
Fetch contributors data from Github using their API, convert it to structured
JSON data for the /about page authors section.
JSON data for the /team page contributors section.
"""
# check for the venv

View File

@ -107,7 +107,7 @@ subprocess.check_call(['cp', '-aT', 'static/locale',
os.path.join(settings.STATIC_ROOT, 'locale')],
stdout=fp, stderr=fp)
# Generate /about page markdown for authors
# Generate /team page markdown for authors
authors_cmd = ['./tools/update-authors-json']
if os.environ.get("TRAVIS"):
authors_cmd.append("--use-fixture")

View File

@ -56,9 +56,10 @@ class DocPageTest(ZulipTestCase):
self._test('/api-new/', 'We hear you like APIs')
self._test('/api-new/api-keys', 'you can use its email and API key')
self._test('/api-new/installation-instructions', 'Python Installation')
self._test('/about/', 'Cambridge, Massachusetts')
self._test('/team/', '30 year industry veterans')
self._test('/history/', 'Cambridge, Massachusetts')
# Test the i18n version of one of these pages.
self._test('/en/about/', 'Cambridge, Massachusetts')
self._test('/en/history/', 'Cambridge, Massachusetts')
self._test('/apps/', 'Apps for every platform.')
self._test('/features/', 'Beautiful messaging')
self._test('/hello/', 'productive group chat')
@ -183,7 +184,7 @@ class AboutPageTest(ZulipTestCase):
def test_endpoint(self):
# type: () -> None
result = self.client_get('/about/')
result = self.client_get('/team/')
self.assert_in_success_response(
['Contributors', 'commits', '@timabbott'],
result

View File

@ -425,7 +425,7 @@ i18n_urls = [
name="zerver.views.integrations.integration_doc"),
url(r'^integrations/(.*)', IntegrationView.as_view()),
url(r'^team/$', zerver.views.users.team_view),
url(r'^about/$', TemplateView.as_view(template_name='zerver/about.html')),
url(r'^history/$', TemplateView.as_view(template_name='zerver/history.html')),
url(r'^apps/(.*)', zerver.views.home.apps_view, name='zerver.views.home.apps_view'),
url(r'^plans/$', TemplateView.as_view(template_name='zerver/plans.html'), name='plans'),