Skip to content

Commit

Permalink
Merge pull request #1364 from kyoshino/bug-930152-page-title-prefix
Browse files Browse the repository at this point in the history
Bug 930152 - Remove "Mozilla" prefix from Bedrock base template
  • Loading branch information
sgarrity committed Nov 5, 2013
2 parents 6723a13 + 4ca24e1 commit 1e20912
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion bedrock/base/templates/404.html
Expand Up @@ -4,7 +4,6 @@

{% extends "base-resp.html" %}

{% block page_title_prefix %}{% endblock %}
{% block page_title %}404: Page Not Found{% endblock %}

{% block extrahead %}
Expand Down
2 changes: 1 addition & 1 deletion bedrock/base/templates/base-resp.html
Expand Up @@ -14,7 +14,7 @@
{% block shared_meta %}
{#- Please sync this block with the base.html template.
Because of blocks, we cannot use an include here. -#}
<title>{% block page_title_full %}{% block page_title_prefix %}Mozilla — {% endblock %}{% block page_title %}{% endblock %}{% endblock page_title_full %}{% block page_title_suffix %} — Mozilla{% endblock %}</title>
<title>{% block page_title_full %}{% block page_title_prefix %}{% endblock %}{% block page_title %}{% endblock %}{% endblock page_title_full %}{% block page_title_suffix %} — Mozilla{% endblock %}</title>
<meta name="description" content="{% block page_desc %}{% endblock %}">
<meta property="og:type" content="website">
<meta property="og:site_name" content="{{ _('Mozilla') }}">
Expand Down
2 changes: 1 addition & 1 deletion bedrock/base/templates/base.html
Expand Up @@ -13,7 +13,7 @@
{% block shared_meta %}
{#- Please sync this block with the base-resp.html template.
Because of blocks, we cannot use an include here. -#}
<title>{% block page_title_full %}{% block page_title_prefix %}Mozilla — {% endblock %}{% block page_title %}{% endblock %}{% endblock page_title_full %}{% block page_title_suffix %} — Mozilla{% endblock %}</title>
<title>{% block page_title_full %}{% block page_title_prefix %}{% endblock %}{% block page_title %}{% endblock %}{% endblock page_title_full %}{% block page_title_suffix %} — Mozilla{% endblock %}</title>
<meta name="description" content="{% block page_desc %}{% endblock %}">
<meta property="og:type" content="website">
<meta property="og:site_name" content="{{ _('Mozilla') }}">
Expand Down
1 change: 0 additions & 1 deletion bedrock/firefox/templates/firefox/partners/index.html
Expand Up @@ -4,7 +4,6 @@

{% extends "base-resp.html" %}

{% block page_title_prefix %}{% endblock %}
{% block page_title %}{{ _('Firefox OS, Marketplace, Android — Partners') }}{% endblock %}
{% block page_desc %}{{ _('We’re enabling operators, phone manufacturers and developers to manage, customize and improve relationships with their customers directly through our mobile products: Firefox OS, Firefox Marketplace and Firefox for Android.') }}{% endblock %}
{% block page_image %}{{ media('img/firefox/firefox-256.jpg') }}{% endblock %}
Expand Down
1 change: 0 additions & 1 deletion bedrock/foundation/templates/foundation/base-resp.html
Expand Up @@ -4,7 +4,6 @@

{% extends "base-resp.html" %}

{% block page_title_prefix %}{% endblock %}
{% block page_title_suffix %}{% endblock %}

{% block extrahead %}
Expand Down
1 change: 0 additions & 1 deletion bedrock/marketplace/templates/marketplace/marketplace.html
Expand Up @@ -5,7 +5,6 @@
{% extends "base-resp.html" %}
{% from "macros.html" import email_newsletter_form with context %}

{% block page_title_prefix %}{% endblock %}
{% block page_title %}{{_('Firefox Marketplace')}}{% endblock %}
{% block page_image %}{{ media('img/mozorg/partnerships/icon-marketplace.png') }}{% endblock %}

Expand Down
1 change: 0 additions & 1 deletion bedrock/mozorg/templates/mozorg/products.html
Expand Up @@ -4,7 +4,6 @@

{% extends "mozorg/base-resp.html" %}

{% block page_title_prefix %}{% endblock %}
{% block page_title %}{{ _('Mozilla Products — Built by us, for the Web') }}{% endblock %}
{% block body_id %}products-page{% endblock %}

Expand Down
@@ -1,6 +1,5 @@
{% extends "mozorg/base-resp.html" %}

{% block page_title_prefix %}{% endblock %}
{% block page_title %}{{ _('Featured Mozilla-Based Applications') }}{% endblock %}
{% block body_id %}projects{% endblock %}

Expand Down
1 change: 0 additions & 1 deletion bedrock/persona/templates/persona/about.html
Expand Up @@ -4,7 +4,6 @@

{% extends "base-resp.html" %}

{% block page_title_prefix %}{% endblock %}
{% block page_title %}{{ _('About Mozilla Persona') }}{% endblock %}
{% block page_image %}{{ media('img/mozorg/partnerships/icon-persona.png') }}{% endblock %}

Expand Down
1 change: 0 additions & 1 deletion bedrock/persona/templates/persona/persona.html
Expand Up @@ -4,7 +4,6 @@

{% extends "base-resp.html" %}

{% block page_title_prefix %}{% endblock %}
{% block page_title %}{{ _('Mozilla Persona — simple sign-in with email') }}{% endblock %}
{% block page_image %}{{ media('img/mozorg/partnerships/icon-persona.png') }}{% endblock %}

Expand Down
1 change: 0 additions & 1 deletion bedrock/persona/templates/persona/privacy-policy.html
Expand Up @@ -4,7 +4,6 @@

{% extends "base-resp.html" %}

{% block page_title_prefix %}{% endblock %}
{% block page_title %}{{ _('Mozilla Persona Terms of Service') }}{% endblock %}
{% block page_image %}{{ media('img/mozorg/partnerships/icon-persona.png') }}{% endblock %}

Expand Down
1 change: 0 additions & 1 deletion bedrock/persona/templates/persona/terms-of-service.html
Expand Up @@ -4,7 +4,6 @@

{% extends "base-resp.html" %}

{% block page_title_prefix %}{% endblock %}
{% block page_title %}{{ _('Mozilla Persona Terms of Service') }}{% endblock %}
{% block page_image %}{{ media('img/mozorg/partnerships/icon-persona.png') }}{% endblock %}

Expand Down

0 comments on commit 1e20912

Please sign in to comment.