Skip to content

Commit a8bd188

Browse files
feat(nimbus): add localizations to summary page (#13827)
Becuase * We should display the localizations info on the summary page because the branches page is no longer available after launch This commit * Adds localization info to the summary page fixes #13070
1 parent ee13371 commit a8bd188

File tree

1 file changed

+24
-0
lines changed
  • experimenter/experimenter/nimbus_ui/templates/nimbus_experiments

1 file changed

+24
-0
lines changed

experimenter/experimenter/nimbus_ui/templates/nimbus_experiments/detail.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,30 @@ <h4>Branches ({{ experiment.branches.all.count }})</h4>
381381

382382
{% endfor %}
383383
</div>
384+
<!-- Localizations Card -->
385+
{% if experiment.is_localized %}
386+
<div class="card mb-3">
387+
<div class="card-header">
388+
<h4>Localizations</h4>
389+
</div>
390+
<div class="card-body">
391+
<table class="table table-striped">
392+
<tbody>
393+
<tr>
394+
<th>Is Localized</th>
395+
<td colspan="3">{{ experiment.is_localized }}</td>
396+
</tr>
397+
<tr>
398+
<th>Localizations JSON</th>
399+
<td colspan="3">
400+
<textarea class="readonly-json">{{ experiment.localizations|default:"null" }}</textarea>
401+
</td>
402+
</tr>
403+
</tbody>
404+
</table>
405+
</div>
406+
</div>
407+
{% endif %}
384408
<!-- QA Card -->
385409
{% include "nimbus_experiments/qa_card.html" %}
386410

0 commit comments

Comments
 (0)