{% load i18n %} {% if perms.netbox_branching.sync_branch and not branch.is_stale %} {% trans "Sync" %} {% else %} {% trans "Sync" %} {% endif %}