mirror of https://github.com/zulip/zulip.git
landing-page: Replace /about with /team and /history in links.
This commit is contained in:
parent
425738fa24
commit
d27002ba21
|
@ -8,7 +8,7 @@
|
|||
<li><a href="/plans/">{{ _("Plans & 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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'),
|
||||
|
||||
|
|
Loading…
Reference in New Issue