Skip to content
This repository has been archived by the owner on Jun 12, 2021. It is now read-only.

Commit

Permalink
bug 1173989, exhibit sets can't tell apart 5 and "5". Use "5".
Browse files Browse the repository at this point in the history
Filed simile-widgets/exhibit#137 upstream on the
actual issue, but for now we're working around the problem by comparing
our status numbers to strings.
  • Loading branch information
Pike committed Jun 12, 2015
1 parent 4c08254 commit 6a1945f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/shipping/templates/shipping/milestones.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ <h1>Milestones</h1>
data-ex-href-subcontent="{% url 'shipping.views.milestone.about' "{&#123;.code}}" %}"></a>
</td>
<td>
<span data-ex-if=".status = {{ Milestone.SHIPPED }}">
<span data-ex-if=".status = '{{ Milestone.SHIPPED }}'">
<input type="button" {% if not perms.shipping.can_ship %}
disabled="disabled"{% endif %}
value="tweak" />
<span>
<span data-ex-if=".status = {{ Milestone.UPCOMING }}">
<span data-ex-if=".status = '{{ Milestone.UPCOMING }}'">
<input type="button" {% if not perms.shipping.can_open %}
disabled="disabled"{% endif %}
data-ex-onclick-subcontent="doForm('open','{&#123;.code}}')"
Expand Down

0 comments on commit 6a1945f

Please sign in to comment.