Welcome to Innovation Studio Manager
+Welcome to The <%= CONFIG['app']['title'] %>
Hello, <%= @user.full_name %> (<%= @user.username %>)
-<% if !@user.expiration_date.nil? && @user.expiration_date > Date.today %> -">Your membership will expire on: <%= @user.expiration_date.to_formatted_s(:long_ordinal)[0...-5] %>
-<% else %> -Your membership is expired.
-You can still reserve equipment and sign up for trainings. Please visit Nebraska Innovation Studio to activate your membership.
+<% if SS_ID == 1 %> + <%= erb :'innovationstudio/membership_expiration' %> +<% elsif SS_ID == 8 %> + <%= erb :'engineering_garage/membership_expiration' %> <% end %> +My Reservations
<% if reservations.empty? %>You have no upcoming reservations. You can view upcoming trainings to get certified, or check out the list of tools you can reserve.
@@ -91,61 +91,14 @@ View Full Calendar - -My Alerts
-<%= user_alerts.empty? ? "You are not signed up for any alerts. " : "" %>Check out the alert center to sign up for notifications or click a button below to sign up for all alerts of a category.
--
Alert Name | -Category | -Description | -Remove Subscription | -
---|---|---|---|
- <%= alert_data.name %> - |
-
- <%= alert_data.category_name %> - |
-
- <%= alert_data.description %> - |
- - - - | -
Export Trainings & Events
+<% if SS_ID == 1 %> +Export Trainings & Events
<% if trainer_events.empty? && events.empty? %>There are no scheduled trainings or events to export
<% else %> @@ -200,3 +154,4 @@ Export to CSV <% end %> +<% end %> diff --git a/views/innovationstudio/alert_center.erb b/views/innovationstudio/alert_center.erb new file mode 100644 index 00000000..8173532c --- /dev/null +++ b/views/innovationstudio/alert_center.erb @@ -0,0 +1,60 @@ + diff --git a/views/innovationstudio/email_templates/activation_email.erb b/views/innovationstudio/email_templates/activation_email.erb new file mode 100644 index 00000000..521b8cfc --- /dev/null +++ b/views/innovationstudio/email_templates/activation_email.erb @@ -0,0 +1,29 @@ +Thank you for attending New Member Orientation! + +To activate your user account please go to:
+ +<%= CONFIG['app']['url'] %>login/ (Bookmark this link for future use) then enter the following:
+ +User Name: <%= @user.username %>
+Temp Password: Welcome123
+ +After logging in you must:
+ +Click on “My Account” on the far right side of the red banner. +Go to “Add Vehicle”. Add your vehicle information. +You can add up to 3 vehicles. You must park in the lot shown on the attached map. +If any vehicle information changes you must update your account before attending NIS. +FAILURE TO DO SO WILL RESULT IN UP TO A $60 TICKET EVERY TIME YOU PARK.
+ +TRAININGS AND RESERVATIONS + +You are now able to sign up for any trainings or workshops via this webpage by clicking on the VIEW TRAININGS, VIEW WORKSHOPS, VIEW FULL CALENDAR tabs on the main page or under the MANAGE YOUR STUDIO drop down tab.
+ +After you have been through required equipment training you will be able to reserve that equipment on the RESERVE EQUIPMENT tab on the main page or the drop-down tab. Not all equipment requires training or reservations.
+ +RENEWING YOUR MEMBERSHIP +To renew your membership you must do so in person. We accept credit cards and UNL N Cards or cost object numbers. No checks or cash are accepted. Renew as soon as you enter the studio or you will receive a parking ticket.
+ +Thank you and welcome aboard!
+ +Your Studio Staff
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/attended_orientation_email.erb b/views/innovationstudio/email_templates/attended_orientation_email.erb new file mode 100644 index 00000000..accf942b --- /dev/null +++ b/views/innovationstudio/email_templates/attended_orientation_email.erb @@ -0,0 +1,15 @@ +Thank you for attending New Member Orientation. You may now join Nebraska Innovation Studio at any time.
+ +In the meantime, please use the following username and default password to access information about upcoming trainings and workshops.
+ +<%= CONFIG['app']['url'] %>login/ (Bookmark this link for future use) then enter the following:
+User Name: <%= @user.username %>
+Temp Password: Welcome123
+ ++ Your membership – giving you access to the tools, + trainings, and the accompanying parking privileges + – will not begin until you pay. This needs to be done in person. +
+ +However, with your username and password, you are able to sign up for trainings before you arrive at NIS to pay for your membership.
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/broken_equipment_email.erb b/views/innovationstudio/email_templates/broken_equipment_email.erb new file mode 100644 index 00000000..5931b005 --- /dev/null +++ b/views/innovationstudio/email_templates/broken_equipment_email.erb @@ -0,0 +1,3 @@ +Hi, <%= @user.full_name.rstrip %>. You are receiving this email because your reservation for <%= @resource.name %> on <%= @reservation.start_time.in_time_zone.strftime('%A, %B %d at %l:%M %P') %> has been canceled due to broken equipment. We apologize for this inconvenience.
+ +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/confirmation_reminder_email.erb b/views/innovationstudio/email_templates/confirmation_reminder_email.erb new file mode 100644 index 00000000..75fec568 --- /dev/null +++ b/views/innovationstudio/email_templates/confirmation_reminder_email.erb @@ -0,0 +1,3 @@ +Hi, <%= @user.full_name.rstrip %>. You are receiving this email because you have not confirmed your trainer assignment for one or more events. Please visit your home page to confirm an event.
+ +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/deleted_event_email.erb b/views/innovationstudio/email_templates/deleted_event_email.erb new file mode 100644 index 00000000..245c584c --- /dev/null +++ b/views/innovationstudio/email_templates/deleted_event_email.erb @@ -0,0 +1,5 @@ +Hi, <%= @user.full_name.rstrip %>. You are receiving this email because the following event you are scheduled to train has been deleted:
+ +<%= @event.title %>
+ +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/event_signup_email.erb b/views/innovationstudio/email_templates/event_signup_email.erb new file mode 100644 index 00000000..682d79b2 --- /dev/null +++ b/views/innovationstudio/email_templates/event_signup_email.erb @@ -0,0 +1,7 @@ +Thank you, <%= @user.full_name.rstrip %> for signing up for <%= @event.title %>. Don't forget that this event is
+ +<%= @event.start_time.in_time_zone.strftime('%A, %B %d at %l:%M %P') %>.
+ +We'll see you there!
+ +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/event_signup_nonmember_email.erb b/views/innovationstudio/email_templates/event_signup_nonmember_email.erb new file mode 100644 index 00000000..e9160ac8 --- /dev/null +++ b/views/innovationstudio/email_templates/event_signup_nonmember_email.erb @@ -0,0 +1,7 @@ +Thank you, <%= @name %> for signing up for <%= @event.title %>. Don't forget that this event is
+ +<%= @event.start_time.in_time_zone.strftime('%A, %B %d at %l:%M %P') %>.
+ +We'll see you there!
+ +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/expiring_email.erb b/views/innovationstudio/email_templates/expiring_email.erb new file mode 100644 index 00000000..19a89fd5 --- /dev/null +++ b/views/innovationstudio/email_templates/expiring_email.erb @@ -0,0 +1,8 @@ +Hello, <%= @user.full_name.rstrip %>. Your Innovation Studio account is expiring soon! Our records show that your account expires on +<%= @user.expiration_date.strftime('%m-%d-%Y') %>. +Please visit us to keep your membership active. +
+ +We hope to see you soon!
+ +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/hrc_signup_email.erb b/views/innovationstudio/email_templates/hrc_signup_email.erb new file mode 100644 index 00000000..19a77c9c --- /dev/null +++ b/views/innovationstudio/email_templates/hrc_signup_email.erb @@ -0,0 +1,2 @@ +There was a new sign up for "<%= @event.title %>" that is at <%= @event.start_time.in_time_zone.strftime('%A, %B %d at %l:%M %P') %>.
+The person who signed up is <%= @name and their email is <%= @email %>.
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/modified_event_email.erb b/views/innovationstudio/email_templates/modified_event_email.erb new file mode 100644 index 00000000..7b78c775 --- /dev/null +++ b/views/innovationstudio/email_templates/modified_event_email.erb @@ -0,0 +1,8 @@ +Hi, <%= @user.full_name.rstrip %>. You are receiving this email because an event you are training has been modified:
+ +<%= @event.title %>
+ +You can see the event details on your home page.
+ + +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/new_event_email.erb b/views/innovationstudio/email_templates/new_event_email.erb new file mode 100644 index 00000000..4912c38f --- /dev/null +++ b/views/innovationstudio/email_templates/new_event_email.erb @@ -0,0 +1,7 @@ +Hi, <%= @user.full_name.rstrip %>. You have been assigned as a trainer for <%= @event.title %>. Don't forget that this event is
+ +<%= @event.start_time.in_time_zone.strftime('%A, %B %d at %l:%M %P') %>.
+ +Please visit your home page to confirm your assignment.
+ +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/new_member_email.erb b/views/innovationstudio/email_templates/new_member_email.erb new file mode 100644 index 00000000..2f0f617d --- /dev/null +++ b/views/innovationstudio/email_templates/new_member_email.erb @@ -0,0 +1,11 @@ +Thank you, <%= @name %> for signing up for <%= @event.title %>. Don't forget that the event is
+ +<%= @event.start_time.in_time_zone.strftime('%A, %B %d at %l:%M %P') %>.
+ +Our main entrance is on the northwest side of the Innovation Commons building on 19th St. just off Transformation Drive. Our address is 2021 Transformation Drive, Suite 1500, Entrance B.
+ +For parking, use our new member orientation parking. Vehicles parked at any other location will be ticketed $50.00.
+ +We'll see you there!
+ +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/password_email.erb b/views/innovationstudio/email_templates/password_email.erb new file mode 100644 index 00000000..ebca936e --- /dev/null +++ b/views/innovationstudio/email_templates/password_email.erb @@ -0,0 +1,7 @@ +We received a request to reset your Innovation Studio Manager password. Please click the link below to reset your password.
+ +<%= CONFIG['app']['URL'] %>reset_password/<%= @token %>/
+ +This link will only be active for 24 hours. If you did not request to reset your password, you may safely disregard this email.
+ +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/remove_event_email.erb b/views/innovationstudio/email_templates/remove_event_email.erb new file mode 100644 index 00000000..0d208fab --- /dev/null +++ b/views/innovationstudio/email_templates/remove_event_email.erb @@ -0,0 +1,5 @@ +Hi, <%= @user.full_name.rstrip %>. You are receiving this email because you are no longer a trainer for the following event:
+ +<%= @event.title %>
+ +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/training_signup_email.erb b/views/innovationstudio/email_templates/training_signup_email.erb new file mode 100644 index 00000000..a10f8707 --- /dev/null +++ b/views/innovationstudio/email_templates/training_signup_email.erb @@ -0,0 +1,7 @@ +Thank you, <%= @user.full_name.rstrip %> for signing up for <%= @event.title %>. Don't forget that this training is
+ +<%= @event.start_time.in_time_zone.strftime('%A, %B %d at %l:%M %P') %>.
+ +We'll see you there!
+ +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/vehicle_info_email.erb b/views/innovationstudio/email_templates/vehicle_info_email.erb new file mode 100644 index 00000000..1fb09ef4 --- /dev/null +++ b/views/innovationstudio/email_templates/vehicle_info_email.erb @@ -0,0 +1,5 @@ +Hi, <%= @user.full_name.rstrip %>. You're receiving this email because either your vehicle information has been updated or your account has been activated.
+ +Your most recent vehicle information is as follows:
+<%= @summary %> +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/innovationstudio/email_templates/workshop_signup_email.erb b/views/innovationstudio/email_templates/workshop_signup_email.erb new file mode 100644 index 00000000..9199593c --- /dev/null +++ b/views/innovationstudio/email_templates/workshop_signup_email.erb @@ -0,0 +1,7 @@ +Thank you, <%= @user.full_name.rstrip %> for signing up for <%= @event.title %>. Don't forget that this workshop is
+ +<%= @event.start_time.in_time_zone.strftime('%A, %B %d at %l:%M %P') %>.
+ +We'll see you there!
+ +Nebraska Innovation Studio
\ No newline at end of file diff --git a/views/event_listing_table.erb b/views/innovationstudio/event_listing_table.erb similarity index 100% rename from views/event_listing_table.erb rename to views/innovationstudio/event_listing_table.erb diff --git a/views/innovationstudio/footer.erb b/views/innovationstudio/footer.erb new file mode 100644 index 00000000..cf25efd5 --- /dev/null +++ b/views/innovationstudio/footer.erb @@ -0,0 +1,24 @@ + + \ No newline at end of file diff --git a/views/innovationstudio/membership_expiration.erb b/views/innovationstudio/membership_expiration.erb new file mode 100644 index 00000000..6359e3c3 --- /dev/null +++ b/views/innovationstudio/membership_expiration.erb @@ -0,0 +1,9 @@ +<% if !@user.is_active %> +Your membership is not active.
+Please visit Nebraska Innovation Studio to activate your membership.
+<% elsif !@user.expiration_date.nil? && @user.expiration_date > Date.today %> +">Your membership will expire on: <%= @user.expiration_date.to_formatted_s(:long_ordinal)[0...-5] %>
+<% else %> +Your membership is expired.
+You can still reserve equipment and sign up for trainings. Please visit Nebraska Innovation Studio to activate your membership.
+<% end %> diff --git a/views/innovationstudio/my_alerts.erb b/views/innovationstudio/my_alerts.erb new file mode 100644 index 00000000..6aecf1ac --- /dev/null +++ b/views/innovationstudio/my_alerts.erb @@ -0,0 +1,54 @@ +My Alerts
+<%= user_alerts.empty? ? "You are not signed up for any alerts. " : "" %>Check out the alert center to sign up for notifications or click a button below to sign up for all alerts of a category.
++
Alert Name | +Category | +Description | +Remove Subscription | +
---|---|---|---|
+ <%= alert_data.name %> + |
+
+ <%= alert_data.category_name %> + |
+
+ <%= alert_data.description %> + |
+ + + | +
Upcoming Machine Trainings and Workshops
+ ++ Welcome to the <%= CONFIG['app']['title'] %>! + Before using our equipment, it is necessary to complete training workshops on each + type of equipment. Here, you can sign up for upcoming trainings. Take a look at our upcoming offerings: +
+ +Trainings
+ <%= erb :'innovationstudio/event_listing_table', locals: {:id => 4, :events => events, :events_advanced => 'trainings-table'} %> + + <%= erb :'innovationstudio/workshop_listings', locals: {:events_advanced => events_advanced, :events_creation => events_creation, :events_general => events_general} %> +Advanced Skill-Based Workshops
+<%= erb :'innovationstudio/event_listing_table', locals: {:id => 1, :events => events_advanced, :events_advanced => 'adv-skill-based-workshops-table'} %> + +Creation Workshops
+<%= erb :'innovationstudio/event_listing_table', locals: {:id => 2, :events => events_creation, :events_advanced => 'creation-workshops-table'} %> + +General Workshops
+<%= erb :'innovationstudio/event_listing_table', locals: {:id => 3, :events => events_general, :events_advanced => 'general-workshops-table'} %> diff --git a/views/innovationstudio/workshops.erb b/views/innovationstudio/workshops.erb new file mode 100644 index 00000000..8b6d1199 --- /dev/null +++ b/views/innovationstudio/workshops.erb @@ -0,0 +1,3 @@ +-
<% unless @user.nil? %>
-
- Manage Your Studio
-
-
-
- Trainings -
- Workshops -
- Event Calendar -
- Material Pricing -
- - Reserve Equipment -
- Training Documents +
- Manage Your Studio
-
-
- SOP +
- Trainings +
- Workshops +
- Event Calendar +
- Material Pricing
+
+ - Reserve Equipment + <% if SS_ID == 1 %> +
- Training Documents
+
-
+
- SOP +
+ <% end %>
<% end %>
- <% if @user.nil? %>
- - Maker Requests - - - <% else %> -
- Maker Requests - - + <% if SS_ID == 1 %> + <% if @user.nil? %> +
- Maker Requests + + + <% else %> +
- Maker Requests + + + <% end %> <% end %> <% @@ -41,38 +45,40 @@ =end %> <% unless @user.nil? || !@user.is_admin? %> -
- Admin +
- Admin
-
<% if has_permission?(Permission::MANAGE_USERS) || has_permission?(Permission::SUPER_USER) %>
-
- Users +
- Users <% end %> <% if has_permission?(Permission::MANAGE_EVENTS) || has_permission?(Permission::EVENTS_ADMIN_READ_ONLY) %> -
- Events +
- Events <% end %> <% if has_permission?(Permission::MANAGE_RESOURCES) %> -
- Tools +
- Tools <% end %> <% if has_permission?(Permission::MANAGE_SPACE_HOURS) %> -
- Hours +
- Hours <% end %> <% if has_permission?(Permission::MANAGE_EMAILS) %> -
- Agenda +
- Agenda <% end %> <% if has_permission?(Permission::SUPER_USER) %> -
- Announcements +
- Announcements <% end %> <% if has_permission?(Permission::MANAGE_RESOURCES) %> -
- Edit Material Pricing -
- Edit SOP +
- Edit Material Pricing + <% if SS_ID == 1 %> +
- Edit SOP + <% end %> <% end %> <% if has_permission?(Permission::MANAGE_USERS) || has_permission?(Permission::SUPER_USER) %> -
- Check In Log +
- Check In Log <% end %> <% if has_permission?(Permission::MANAGE_USERS) || has_permission?(Permission::SUPER_USER) %> -
- Activate Members +
- Activate Members <% end %>
diff --git a/views/new_members.erb b/views/new_members.erb
index e18cb5ae..960ff7c5 100644
--- a/views/new_members.erb
+++ b/views/new_members.erb
@@ -1,7 +1,7 @@
New Member Orientations
-Welcome to the Nebraska Innovation Studio! +Welcome to the <%= CONFIG['app']['title'] %>! New members who wish to use the space must attend an hour-long Member Orientation Training. Here are the upcoming dates we are holding orientations:
diff --git a/views/new_members_hrc.erb b/views/new_members_hrc.erb index 516cb551..800548a2 100644 --- a/views/new_members_hrc.erb +++ b/views/new_members_hrc.erb @@ -1,7 +1,7 @@HRC Events
-Welcome to the Nebraska Innovation Studio! +Welcome to the <%= CONFIG['app']['title'] %>!
<% if events.count > 0 %> diff --git a/views/scriptsandstyles.erb b/views/scriptsandstyles.erb deleted file mode 100644 index 54c064dc..00000000 --- a/views/scriptsandstyles.erb +++ /dev/null @@ -1,7 +0,0 @@ -<% UNL_WDN_FRAMEWORK_VERSION = '5.3.10' %> - - - - - - diff --git a/views/trainings.erb b/views/trainings.erb index 5d8e6499..7f38ef71 100644 --- a/views/trainings.erb +++ b/views/trainings.erb @@ -1,17 +1,19 @@Alerts
Check out the alert center to sign up for notifications on upcoming trainings.
-Upcoming Machine Trainings and Workshops
--Welcome to the Nebraska Innovation Studio! -Before using our equipment, it is necessary to complete training workshops on each -type of equipment. Here, you can sign up for upcoming trainings. Take a look at our upcoming offerings: -
- -