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

Commit

Permalink
do not make "Published" listed twice (bug 757298)
Browse files Browse the repository at this point in the history
  • Loading branch information
cvan committed May 22, 2012
1 parent 8666392 commit fd47c06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
13 changes: 2 additions & 11 deletions mkt/detail/templates/detail/app.html
Expand Up @@ -230,17 +230,8 @@ <h3>{{ _('Published') }}</h3>
<p>
{{ product.created|timelabel }}
</p>
{% endif %}
</li>
<li class="published">
<h3>{{ _('Published') }}</h3>
<p>
<time isotime="{{ product.created|isotime }}"
title="{{ product.created|isotime }}">
{{ product.created|timesince }}
</time>
</p>
</li>
</li>
{% endif %}
{% if abuse_form %}
<li class="abuse">
<h3>{{ _('Report Abuse') }}</h3>
Expand Down
2 changes: 1 addition & 1 deletion mkt/templates/mkt/base.html
Expand Up @@ -43,7 +43,7 @@
data-media-url="{{ MEDIA_URL }}"
data-login-url="{{ url('users.browserid_login') }}"
data-collect-timings="{{ url('mkt.timing.record') }}:{{ collect_timings_percent }}"
data-recaptcha="{{ settings.RECAPTCHA_PUBLIC_KEY }}"
{% if not logged %}data-recaptcha="{{ settings.RECAPTCHA_PUBLIC_KEY }}"{% endif %}
{% block bodyattrs %}{% endblock %}>

{% block siteheader %}
Expand Down

1 comment on commit fd47c06

@andymckay
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there a test for that?

Please sign in to comment.