- msg = current_project ? "Created new collection in the project #{current_project.name}." :
- "Created new collection in your Home project."
+ msg = current_project_writable ?
+ "Created new collection in the project #{current_project.name}." :
+ "Created new collection in your Home project."