{% set projectname = project.name %} {# Collection #} {% if collection %} {% set status_url = url_for('network.publish_collection_status', collection=collection, instance=instance, projectname=projectname) %} {% set proof_url = url_for('network.publish_collection_start', collection=collection, instance=instance, projectname=projectname, dry_run=True) %} {% set publish_url = url_for('network.publish_collection_start', collection=collection, instance=instance, projectname=projectname, dry_run=False) %} {# Other Files #} {% else %} {% set status_url = url_for('network.publish_other_files_status', instance=instance, projectname=projectname, other_file_type=other_file_type) %} {% set proof_url = url_for('network.publish_other_files_start', instance=instance, projectname=projectname, other_file_type=other_file_type, dry_run=True) %} {% set publish_url = url_for('network.publish_other_files_start', instance=instance, projectname=projectname, other_file_type=other_file_type, dry_run=False) %} {% endif %}