{% if dataset.get_log_path().exists() and current_user.is_authenticated %} Log file {% endif %}