~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to views/module-form-settings.twig

  • Committer: Dan Garner
  • Date: 2015-09-29 15:16:59 UTC
  • mto: (454.2.11) (471.2.2)
  • mto: This revision was merged to the branch mainline in revision 468.
  • Revision ID: git-v1:ae24387a7b1397750b6ec86d0f286373da05eb16
Fixed Display Version Information Form (not showing media name)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
        <div class="col-md-12">
25
25
            <form id="moduleEditForm" class="XiboForm form-horizontal" method="put" action="{{ urlFor("module.settings", {id: module.module.moduleId}) }}">
26
26
 
27
 
                {% set title %}{% trans "Default Duration" %}{% endset %}
28
 
                {% set helpText %}{% trans "The default duration for Widgets of this Module when the user has elected to not set a specific duration." %}{% endset %}
29
 
                {{ forms.input("defaultDuration", title, module.module.defaultDuration, helpText) }}
30
 
 
31
27
                {% set title %}{% trans "Valid Extensions" %}{% endset %}
32
28
                {% set helpText %}{% trans "The Extensions allowed on files uploaded using this module. Comma Separated." %}{% endset %}
33
 
                {{ forms.input("validExtensions", title, module.module.validExtensions, helpText) }}
 
29
                {{ forms.text("validExtensions", title, module.module.validExtensions, helpText) }}
34
30
 
35
31
                {% set title %}{% trans "Image Uri" %}{% endset %}
36
32
                {% set helpText %}{% trans "The Image to display for this module. This should be a path relative to the root of the installation." %}{% endset %}
37
 
                {% if moduleConfigLocked %}
38
 
                    {{ forms.disabled("imageUri", title, module.module.imageUri, helpText) }}
39
 
                {% else %}
40
 
                    {{ forms.input("imageUri", title, module.module.imageUri, helpText) }}
41
 
                {% endif %}
 
33
                {{ forms.text("imageUri", title, module.module.imageUri, helpText) }}
42
34
 
43
35
                {% set title %}{% trans "Preview Enabled?" %}{% endset %}
44
36
                {% set helpText %}{% trans "When Preview is Enabled users will be able to see a preview in the layout designer." %}{% endset %}