change language on claim status [accept #27384493]

pull/1/head
eric 2012-04-05 11:58:26 -04:00
parent 6adf21c380
commit be909bba69
2 changed files with 6 additions and 6 deletions

View File

@ -48,8 +48,8 @@ class CeleryTask(models.Model):
class Claim(models.Model): class Claim(models.Model):
STATUSES = (( STATUSES = ((
u'active', u'Claim has been registered and approved.'), u'active', u'Claim has been accepted.'),
(u'pending', u'Claim is pending approval.'), (u'pending', u'Claim is pending acceptance.'),
(u'release', u'Claim has not been accepted.'), (u'release', u'Claim has not been accepted.'),
) )
created = models.DateTimeField(auto_now_add=True) created = models.DateTimeField(auto_now_add=True)

View File

@ -101,9 +101,9 @@ $j(document).ready(function(){
</div> </div>
{% if status == 'ACTIVE' %} {% if status == 'ACTIVE' %}
{% if pledged %} {% if pledged %}
<div class="btn_support modify"><form action="{% url pledge_modify work_id=work.id %}" method="get"><input type="submit" value="Change Pledge"/></form></div> <div class="btn_support modify"><form action="{% url pledge_modify work_id=work.id %}" method="get"><input type="submit" value="Change Pledge" /></form></div>
{% else %} {% else %}
<div class="btn_support"><form action="{% url pledge work_id=work.id %}" method="get"><input type="submit" value="Support"/></form></div> <div class="btn_support"><form action="{% url pledge work_id=work.id %}" method="get"><input type="submit" value="Support" /></form></div>
{% endif %} {% endif %}
{% endif %} {% endif %}
</div> </div>
@ -246,13 +246,13 @@ $j(document).ready(function(){
<h4> Rights Information </h4> <h4> Rights Information </h4>
{% if claimstatus == 'one_active' %} {% if claimstatus == 'one_active' %}
<p>This work has been claimed by {{ rights_holder_name }}. The claim has been registered and approved by Unglue.It staff.</p> <p>This work has been claimed by {{ rights_holder_name }}.</p>
{% else %} {% else %}
{% if claimstatus == 'disputed' %} {% if claimstatus == 'disputed' %}
<p>Rights claims are pending.</p> <p>Rights claims are pending.</p>
{% else %} {% else %}
{% if claimstatus == 'one_pending' %} {% if claimstatus == 'one_pending' %}
<p>This work has been claimed by {{ rights_holder_name }}. The claim is being verified by Unglue.It staff.</p> <p>A claim for this work by {{ rights_holder_name }} is pending.</p>
{% else %} {% else %}
{% if request.user.rights_holder.all.count %} {% if request.user.rights_holder.all.count %}
Is this work yours? Claim it: <br /><br /> Is this work yours? Claim it: <br /><br />