text: /******************************************************************************\
  |                                                                              |
  |                              email-verification-view.js                      |
  |                                                                              |
  |******************************************************************************|
  |                                                                              |
  |        This defines the email verification view used in the new              |
  |        user registration process.                                            |
  |                                                                              |
  |******************************************************************************|
  |            Copyright (c) 2013 SWAMP - Software Assurance Marketplace         |
  \******************************************************************************/
  
  
  define([
  	'jquery',
  	'underscore',
  	'backbone',
  	'marionette',
  	'text!templates/users/registration/email-verification.tpl'
  ], function($, _, Backbone, Marionette, Template) {
  	return Backbone.Marionette.ItemView.extend({
  
  		//
  		// attributes
  		//
  
  		events: {
  			'click #ok': 'onClickOk'
  		},
  
  		//
  		// rendering methods
  		//
  
  		template: function(data) {
  			return _.template(Template, data);
  		},
  
  		//
  		// event handling methods
  		//
  
  		onClickOk: function() {
  
  			// go to welcome view
  			//
  			Backbone.history.navigate('#', {
  				trigger: true
  			});
  		}
  	});
  });