{% for b in gits %}
{% for server in servers %}
{% if server.0|string() == b.server_id|string() %}
{{ server.0 }}{{ server.1 }}
{% for s in services %}
{% if s.service_id == b.service_id %}
{{ s.service_id }}{{ s.service }}
{% endif %}
{% endfor %}
{% set values = {'hourly':'hourly','daily':'daily','weekly':'weekly', 'monthly':'monthly'} %}
{% for v, des in values|dictsort(false, 'value') %}
{% if v == b.period %}
{{ des }}
{% endif %}
{% endfor %}
{% if b.repo %}
{{ b.repo }}
{% endif %}
{% if b.branch %}
{{ b.branch }}
{% endif %}
{% for ssh in sshs %}
{% if ssh.enable == 1 %}
{% if ssh.id == b.cred_id %}
{{ ssh.id }}{{ ssh.name }}
{% endif %}
{% endif %}
{% endfor %}
{% if b.description %}
{{b.description}}
{% endif %}