Skip to content

Commit

Permalink
Merge pull request #285 from fnf-org/mfl/help-links
Browse files Browse the repository at this point in the history
added links for support
  • Loading branch information
beingmattlevy authored Aug 26, 2024
2 parents d2be814 + e589c4f commit 9db0e59
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.9
1.3.10
8 changes: 5 additions & 3 deletions app/views/devise/shared/_links.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@
%p= link_to "Sign in", new_session_path(resource_name)
- if devise_mapping.registerable? && controller_name != 'registrations'
%p= link_to "Register an account", new_registration_path(resource_name)
%p= link_to "Register an account.", new_registration_path(resource_name)
- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations'
%p= link_to "Forgot your password?", new_password_path(resource_name)
- if devise_mapping.confirmable? && controller_name != 'confirmations'
%p= link_to "Resend account email confirmation instructions", new_confirmation_path(resource_name)
%p= link_to "Resend account email confirmation instructions.", new_confirmation_path(resource_name)
- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks'
%p= link_to "My account is locked! Please send me instructions to unlock my account!", new_unlock_path(resource_name)
%p= link_to "My account is locked. Send me instructions to unlock my account.", new_unlock_path(resource_name)
- if devise_mapping.omniauthable?
- resource_class.omniauth_providers.each do |provider|
%p= button_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider), data: { turbo: false }

= mail_to '[email protected]', 'Help! - Email the Ticket Booth support team.', subject: 'Ticket Booth Support'
3 changes: 3 additions & 0 deletions app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,7 @@
| Rails #{Rails.version}
| Ruby #{RUBY_VERSION}
| #{Rails.env.to_s.capitalize} Env
|
= mail_to '[email protected]', 'Ticket Booth Support', subject: 'Ticket Booth Support'


1 change: 1 addition & 0 deletions app/views/ticket_requests/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
%h4 Ticket Request for #{@user.name}
- else
%h5 Please log-in or register to request tickets
= mail_to '[email protected]', 'Ticket Booth Support', subject: 'Ticket Booth Support'
.card-body
= render 'shared/form_errors', resource: @ticket_request
Expand Down
4 changes: 2 additions & 2 deletions app/views/ticket_requests/_table_ticket_requests.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- if event.allow_donations
%th.bg-dark-subtle.text-end Donation
%th.bg-dark-subtle.text-end Total
%th.bg-dark-subtle.text-end Date Requested
%th.bg-dark-subtle.text-center Date
%th.bg-dark-subtle.text-center Status
%th.bg-dark-subtle.text-center Payments

Expand Down Expand Up @@ -65,7 +65,7 @@
%span{ class: ('label label-info' if ticket_request.special_price) }
= number_to_currency(ticket_request.cost, precision: 0)
%td.align-content-center.text-end
%td.align-content-center.text-sm-start
= ticket_request.created_at.to_date
%td.align-content-center.text-center.ticket-status
Expand Down

0 comments on commit 9db0e59

Please sign in to comment.