Sha256: a5a43709cde7659d08226459e026c4ef6489a9f7eb80f8876543a1e1f52c070f

Contents?: true

Size: 575 Bytes

Versions: 5

Compression:

Stored size: 575 Bytes

Contents

<li><a id="ansible_tab_header" href="#ansible_callback_enabled" data-toggle="tab"><%= _("Ansible") %></a></li>
<script type="text/javascript">
    $(document).ready(function () {
        var provider_type = $('#job_template_provider_type');
        provider_type.trigger("change", setAnsibleTabVisibilityByProvider);
        provider_type.trigger("change");

        function setAnsibleTabVisibilityByProvider() {
            var tab_header = $("#ansible_tab_header");
            this.value === 'Ansible' ? tab_header.show() : tab_header.hide();
        }
    });
</script>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_ansible-15.0.2 app/views/job_templates/_job_template_callback_tab_headers.html.erb
foreman_ansible-15.0.1 app/views/job_templates/_job_template_callback_tab_headers.html.erb
foreman_ansible-15.0.0 app/views/job_templates/_job_template_callback_tab_headers.html.erb
foreman_ansible-14.2.2 app/views/job_templates/_job_template_callback_tab_headers.html.erb
foreman_ansible-14.2.1 app/views/job_templates/_job_template_callback_tab_headers.html.erb