Skip to content

Commit

Permalink
added status "new" in product s details
Browse files Browse the repository at this point in the history
  • Loading branch information
Łukasz Lechowicz committed Feb 19, 2012
1 parent ee02cdd commit ec78449
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions templates/product/details.html
@@ -1,7 +1,7 @@
{% extends 'main.html' %}
{% load service_extras %}
{% block title %} {{ block.super }} - {{ product }} {% endblock %}
{% block content %}
{% block content %}
{% block content-header %}
<h2 class="{% if product.client.is_subscriber %}subscriber-color{% endif %}">Zgłoszenie {{ product.get_signature }} ({{ product.get_owner_name }})</h2>
{% endblock %}
Expand Down Expand Up @@ -64,7 +64,7 @@ <h2>Historia</h2>
<a id="delete-comment{{ comment.id }}" href="{% url comment-del comment.id %}">usuń</a>
<script type="text/javascript">
$("#delete-comment" + {{ comment.id }}).fancybox();
</script>
</script>
{% else %}
-
{% endif %}
Expand All @@ -76,9 +76,19 @@ <h2>Historia</h2>
<td colspan="5">brak komentarzy</td>
</tr>
{% endfor %}
<tr style="background-color:#eee;">
<td> - </td>
<td class="center">-</td>
<td class="center">-</td>
<td class="center">-</td>
<td class="center">{{ product.NEW }}</td>
<td class="center">{{ product.created }} przez {{ product.user }}</td>
<td class="center">
</td>
</tr>
</table>
{% endif %}

<div class="return-link">
{% if product.status != product.CLOSED %}
<a class="button" id="ajax-comment-add-bottom" href="{% url comment-add product.id %}">komentarz/zmiana statusu</a>
Expand Down

0 comments on commit ec78449

Please sign in to comment.