~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to views/resolution-page.twig

  • Committer: GitHub
  • Author(s): Dan Garner
  • Date: 2018-05-31 11:08:02 UTC
  • mfrom: (644.2.25)
  • Revision ID: git-v1:f1f8e8453efa71819c302dd9c5b72b8602028fa2
Merge pull request #379 from PeterMis/bugfix/1.8.10-pack1

Bugfix/1.8.10 pack1

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
                <div class="XiboFilter well">
25
25
                    <div class="FilterDiv" id="Filter">
26
26
                        <form class="form-inline">
27
 
                            {% set values = [{id: 1, value: "Yes"}, {id: 0, value: "No"}] %}
28
 
                            {{ inline.dropdown("enabled", "single", "Enabled", 1, values, "id", "value") }}
 
27
                            {% set title %}{% trans "Enabled" %}{% endset %}
 
28
                            {% set option1 %}{% trans "Yes" %}{% endset %}
 
29
                            {% set option2 %}{% trans "No" %}{% endset %}
 
30
                            {% set values = [{id: 1, value: option1}, {id: 0, value: option2}] %}
 
31
                            {{ inline.dropdown("enabled", "single", title, 1, values, "id", "value") }}
29
32
                        </form>
30
33
                    </div>
31
34
                </div>