updates to publish section links (bug 824186)
This commit is contained in:
Родитель
7586e4b17c
Коммит
3cb9caa577
|
@ -1,64 +0,0 @@
|
|||
{% extends 'ecosystem/base.html' %}
|
||||
{% from "ecosystem/macros.html" import navigation with context %}
|
||||
|
||||
{% block title %}
|
||||
{{ hub_page_title(_('Test Installation on Desktop')) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block extrahead %}
|
||||
{{ css('mkt/ecosystem') }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="doc-wrapper">
|
||||
{{ navigation('installation') }}
|
||||
|
||||
<article>
|
||||
<h1>
|
||||
{% trans %}
|
||||
Installing Open Web Apps on Windows, Mac and Linux
|
||||
{% endtrans %}
|
||||
</h1>
|
||||
<p>
|
||||
{% trans %}
|
||||
We're excited to say that we're close to a Firefox Marketplace
|
||||
Aurora release! In keeping with our focus on mobile, we're
|
||||
going to concentrate the Marketplace Aurora on our Android
|
||||
users. We'll be asking users to visit the Marketplace on their
|
||||
Android phones, install the Apps they discover there, and let us
|
||||
know what they think. We'll have more to say about that later
|
||||
this month.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
<p>
|
||||
{% trans %}
|
||||
To ensure that we don't distract our hardworking marketing, support,
|
||||
and testing folks from their Android and Firefox OS work during the
|
||||
Marketplace Aurora, we have decided to temporarily disable the App
|
||||
install buttons on the desktop Marketplace.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
<p>
|
||||
{% trans %}
|
||||
We've heard from many of you that being able to install your Apps on
|
||||
your desktop machines is a useful development tool, and we don't want
|
||||
to stand in the way of you making more awesome Apps. Our solution is
|
||||
a simple bookmarklet that will allow you to continue installing Apps
|
||||
on your desktops.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
<p>
|
||||
{% trans %}
|
||||
You can drag the link below to your bookmarks bar, and use it later
|
||||
to install an App from the Firefox Marketplace on any App detail
|
||||
page.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
<p class="install-bookmarklet">
|
||||
<a href="javascript:(function(){s='querySelector';a=document[s]('body.detail');b=document[s]('button.install');if(a&&b){b.click();}else{alert('No%20app%20found,%20are%20you%20sure%20this%20is%20a%20Marketplace%20App%20Detail%20page?')}}());"
|
||||
class="button bookmarklet"><span>{{ _('Install App!') }}</span></a>
|
||||
<a href="#" class="button fake-bookmarklet">{{ _('Drag Me') }}</a>
|
||||
</p>
|
||||
</article>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -170,14 +170,6 @@
|
|||
{{ _('Marketplace Submission') }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('ecosystem.installation') }}"
|
||||
{% if section == 'installation' %}
|
||||
class="selected"
|
||||
{% endif -%}>
|
||||
{{ _('Test Installation on Desktop') }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('submit.app') }}"
|
||||
rel="external">
|
||||
|
@ -185,6 +177,15 @@
|
|||
</a>
|
||||
</li>
|
||||
</ol>
|
||||
<h2>{{ _('Docs & APIs') }}</h2>
|
||||
<ol>
|
||||
<li>
|
||||
<a href="http://zamboni.readthedocs.org/en/latest/topics/api.html"
|
||||
rel="external">
|
||||
{{ _('Marketplace API') }}
|
||||
</a>
|
||||
</li>
|
||||
</ol>
|
||||
{% endif %}
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -60,11 +60,6 @@ class TestDevHub(amo.tests.TestCase):
|
|||
eq_(r.status_code, 200)
|
||||
self.assertTemplateUsed(r, 'ecosystem/support.html')
|
||||
|
||||
def test_installation(self):
|
||||
r = self.client.get(reverse('ecosystem.installation'))
|
||||
eq_(r.status_code, 200)
|
||||
self.assertTemplateUsed(r, 'ecosystem/installation.html')
|
||||
|
||||
def test_reference_app(self):
|
||||
r = self.client.get(reverse('ecosystem.apps_documentation',
|
||||
args=['face_value']))
|
||||
|
|
|
@ -6,7 +6,6 @@ from . import views
|
|||
urlpatterns = patterns('',
|
||||
url('^$', views.landing, name='ecosystem.landing'),
|
||||
url('^partners$', RedirectView.as_view(url='/developers/#partners')),
|
||||
url('^installation$', views.installation, name='ecosystem.installation'),
|
||||
url('^support$', views.support, name='ecosystem.support'),
|
||||
url('^docs/app_generator$', views.app_generator_documentation,
|
||||
name='ecosystem.app_generator_documentation'),
|
||||
|
|
Загрузка…
Ссылка в новой задаче