Commit 738f67ed authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Only the user can see their own lookouts.

parent 09950d8c
......@@ -129,6 +129,7 @@ function finalPrice_action( target ){
</div>
</div>
{% if seller.user = request.user %}
<div class="row">
<div class="col-md-12">
<h3>Lookouts</h3>
......@@ -143,18 +144,15 @@ function finalPrice_action( target ){
{% for lookout in lookouts %}
{% endfor %}
</table>
</div>
{% else %}
{% if seller.user = request.user %}
You don't
{% else %}
{{ seller.user.first_name }} {{ seller.user.last_name }} doesn't
{% endif %}
have any lookouts posted yet.
You don't have any lookouts posted yet.
{% endif %}
</div>
</div>
{% endif %}
<!-- Final Price Modal -->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment