Skip to content

Commit 479c27f

Browse files
committed
Display preview button on the same line as "use this"
1 parent 983efab commit 479c27f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

experiments/templates/experiments/report.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
<button type="submit" class="button button-small button-primary">
3939
{% trans 'Use this' %}
4040
</button>
41+
<a class="button button-small button-primary" title="{% trans 'Preview' %}"
42+
href="{% url 'experiments:preview_for_report' variation.pk %}">
43+
<span class="icon icon-view"></span>
44+
</a>
4145
</form>
42-
<a class="button button-small button-primary" title="{% trans 'Preview' %}"
43-
href="{% url 'experiments:preview_for_report' variation.pk %}">
44-
<span class="icon icon-view"></span>
45-
</a>
4646
</td>
4747
{% if variation == winning_variation %}
4848
<td class="icon icon-tick">{% trans 'Selected' %}</td>

0 commit comments

Comments
 (0)