Permalink
Browse files

Merge branch '1.4'

* 1.4:
  Enable version switcher
  • Loading branch information...
pamil committed Feb 5, 2019
2 parents bb07abb + 2195bd5 commit 11f6492ffb115c719f8924039da9525282ce5269
Showing with 1 addition and 2 deletions.
  1. +1 −2 templates/_version_switcher.html.twig
@@ -34,8 +34,7 @@

<div class="version-switch">
<label for="version-switch">Sylius version:</label>
{# Remove "disabled" when the second demo is published #}
<select id="version-switch" disabled>
<select id="version-switch">
<option value="//demo.sylius.com"{% if is_stable %} selected{% endif %}>stable{{ is_stable ? version_descriptor : '' }}</option>
<option value="//master.demo.sylius.com"{% if not is_stable %} selected{% endif %}>master{{ is_stable ? '' : version_descriptor }}</option>
</select>

0 comments on commit 11f6492

Please sign in to comment.