Skip to content

Commit

Permalink
Fix authentication bug for the status update
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatlinh300401 committed Jul 18, 2024
1 parent 2ae5938 commit 3947a28
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions templates/experiments/experiment_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,6 @@ <h2>{{ experiment.name }} (in Project: <a href="{% url 'project_detail' project_
class="unlink">Initiate
Development</a>
</button> -->
<button class="btn btn-info mr-2"
style="background-color:#076AE0!important">
<a href="{% url 'experiment_status_update' experiment_uuid=experiment.uuid %}"
class="unlink">Update</a>
</button>
{% endif %}
{% if experiment.state_temp == 0 %}
<button class="btn btn-info mr-2" style="background-color:#076AE0!important">
Expand All @@ -221,11 +216,16 @@ <h2>{{ experiment.name }} (in Project: <a href="{% url 'project_detail' project_
{% endif %}
{% endif %}
{% if operator %}
<button class="btn btn-success mr-2"
<!-- <button class="btn btn-success mr-2"
style="background-color:#076AE0!important">
<a href="{% url 'experiment_update_by_ops' experiment_uuid=experiment.uuid %}"
class="unlink">Ops
actions</a>
</button> -->
<button class="btn btn-info mr-2"
style="background-color:#076AE0!important">
<a href="{% url 'experiment_status_update' experiment_uuid=experiment.uuid %}"
class="unlink">Update</a>
</button>
{% endif %}
</div>
Expand Down

0 comments on commit 3947a28

Please sign in to comment.