Permalink
Browse files

Enable version switcher

  • Loading branch information...
pamil committed Feb 5, 2019
1 parent a45a132 commit 2195bd5dc0496ad74abfdb053b509c4353bf105a
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 2195bd5

Please sign in to comment.