summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2021-07-22 09:57:17 -0400
committerluxagraf <sng@luxagraf.net>2021-07-22 09:57:17 -0400
commit1b368059ed88437d4007417373024a325063d465 (patch)
treee97c99494b3e0ab50c5842ccae127f9a9069a61a
parente0148de2b8a6cbf8fef2b3e4c66249e58be619b7 (diff)
trad: added delete button to things I'm watching
-rw-r--r--app/trading/templates/trading/list.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/trading/templates/trading/list.html b/app/trading/templates/trading/list.html
index 5caa993..28e5c89 100644
--- a/app/trading/templates/trading/list.html
+++ b/app/trading/templates/trading/list.html
@@ -88,6 +88,9 @@
</div>
{% endif %}
</td>
+ <td>
+ <a href="https://live.luxagraf.net/admin/trading/luxtrade/{{object.pk}}/delete/">remove</a>
+ </td>
</tr>
{% endfor %}
</table>
@@ -144,6 +147,9 @@
</div>
{% endif %}
</td>
+ {%if object.status == 2%}<td>
+ <a href="https://live.luxagraf.net/admin/trading/luxoptionstrade/{{object.pk}}/delete/">remove</a>
+ </td>{% endif %}
</tr>
{% endfor %}
</table>