Skip to content

Commit

Permalink
feat(nimbus): Add cloned experiment/rollout link on new summary page (#…
Browse files Browse the repository at this point in the history
…11853)

Because

* The new summary page should display the link for the original
experiment/rollout if it was cloned

This commit

* Adds a link to the original experiment/rollout on the new summary page

Fixes #11727


![image](https://github.com/user-attachments/assets/969c4f0d-edac-49f0-b4e0-83d44667a50d)
  • Loading branch information
RJAK11 authored Nov 27, 2024
1 parent 1a141c9 commit 8983f35
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,15 @@ <h4 class="mb-0">{{ experiment.name }}</h4>
<span class="{{ experiment.qa_status_badge_class }}">
QA Status: {{ experiment.qa_status|default:"Not Set"|title }}
</span>
<p class="text-secondary">{{ experiment.slug }}</p>
<p class="text-secondary mb-0">{{ experiment.slug }}</p>
{% if experiment.parent %}
<p class="text-secondary small">
Cloned from
<a href="{% url 'nimbus-new-detail' experiment.parent.slug %}"
target="_blank"
rel="noopener noreferrer">{{ experiment.parent.name }}</a>
</p>
{% endif %}
</div>
{% include "nimbus_experiments/timeline.html" %}

Expand Down

0 comments on commit 8983f35

Please sign in to comment.