Details
Description
Summary: If there are no existing Event Templates, the link to "add one" creates a new Event instead of a new Event Template
Steps to reproduce:
1. Download CiviCRM 3.0 Beta and install with Drupal (I used 6.13) using no sample data
2. Login to Drupal and go to CiviCRM, then go to the CiviEvent > Event Templates page.
3. No event templates should be present. If there are any, delete them.
4. Try clicking on the "add one" link in the line of text that says "There are no Event Templates present. You can add one."
5. You are taken to the page to create a new Event - instead of an Event Template
6. If you add "&is_template=1" to the URL, you are now taken to the correct page to create a new Event Template (just like you are once you already have Event Templates and you click on the button to create a new one).
Note: To verify, I removed the Event Templates on the sandbox.civicrm.org site so until that data is recreated you can see this in action there (http://sandbox.civicrm.org/civicrm/admin/eventTemplate&reset=1) as well. (Sorry if I really messed people up by doing that on the sandbox site - I just wanted to make sure it wasn't something weird with my configuration.)
Fix: Add "&is_template=1" to the "add one" link, or remove the "add one" link and just display the button for consistency.
Bad "add one" URL: http://sandbox.civicrm.org/civicrm/event/manage?action=add&reset=1
Good button URL: http://sandbox.civicrm.org/civicrm/event/manage?action=add&is_template=1&reset=1