Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
fix "Submit an App" buttons to redirect correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
cvan committed Aug 30, 2012
1 parent 2bcfef8 commit 6231800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mkt/ecosystem/templates/ecosystem/header.html
Expand Up @@ -9,7 +9,7 @@ <h1 class="logo"><a href="{{ url('ecosystem.landing') }}">
</a>
<a href="{{ url('ecosystem.partners') }}">{{ _('Partners') }}</a>
<a href="{{ url('ecosystem.support') }}">{{ _('Support') }}</a>
<a href="{{ url('submit.app') }}" class="browserid">{{ _('Submit an App') }}</a>
<a href="{{ get_login_link(url('submit.app')) }}"{% if not request.user.is_authenticated() %} class="browserid"{% endif %}>{{ _('Submit an App') }}</a>
</nav>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion mkt/ecosystem/templates/ecosystem/landing.html
Expand Up @@ -25,7 +25,7 @@ <h1>{{ _('Developer Hub') }}</h1>
<a href="{{ url('submit.app') }}" class="button">
{% else %}
<a href="{{ get_login_link(url('submit.app')) }}"
class="button browserid">
class="button{{ ' browserid' if not request.user.is_authenticated() }}">
{%- endif -%}
{{ _('Submit an App') }}</a>
</div>
Expand Down

0 comments on commit 6231800

Please sign in to comment.