Merge pull request #3035 from hellcp/fontawesome6

Migrate to fontawesome 6
This commit is contained in:
Henne Vogelsang 2022-05-20 14:25:56 +02:00 committed by GitHub
commit c052f59b0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 153 additions and 268 deletions

View file

@ -8,15 +8,15 @@
%ul.nav.nav-tabs#commentsTable
%li.active
%a{ href: '#unread_comments', 'data-toggle' => 'tab' }
%span.fa.fa-comment
%span.fa-solid.fa-comment
Unread
%li
%a{ href: '#posted_comments', 'data-toggle' => 'tab' }
%span.fa.fa-pencil
%span.fa-solid.fa-pencil
Posted
%li
%a{ href: '#all_comments', 'data-toggle' => 'tab' }
%span.fa.fa-comments-o
%span.fa-solid.fa-comments
All
.tab-content
.tab-pane.active#unread_comments

View file

@ -4,13 +4,13 @@
icon: "user", subtitle: "User", value: @total_user, delta: @new_user
.col-sm-3.col-xs-3
= render "big_statistic",
icon: "check-square", subtitle: "Registration", value: @total_reg, delta: @new_reg
icon: "square-check", subtitle: "Registration", value: @total_reg, delta: @new_reg
.col-sm-3.col-xs-3
= render "big_statistic",
icon: "file-text", subtitle: "Submission", value: @total_submissions, delta: @new_submissions
icon: "file-lines", subtitle: "Submission", value: @total_submissions, delta: @new_submissions
.col-sm-3.col-xs-3
= render "big_statistic",
icon: "archive", subtitle: "Withdrawn", value: @total_withdrawn, delta: @new_withdrawn, reverse: true
icon: "box-archive", subtitle: "Withdrawn", value: @total_withdrawn, delta: @new_withdrawn, reverse: true
.row#registrations
.col-md-8
@ -33,15 +33,15 @@
%ul.nav.nav-tabs#recentTable
%li.active
%a{ href: '#recent_user', 'data-toggle' => 'tab' }
%span.fa.fa-user
%span.fa-solid.fa-user
Recent Users
%li
%a{ href: '#recent_reg', 'data-toggle' => 'tab' }
%span.fa.fa-check-square
%span.fa-solid.fa-square-check
Recent Registrations
%li
%a{ href: '#recent_submissions', 'data-toggle' => 'tab' }
%span.fa.fa-file-text
%span.fa-solid.fa-file-lines
Recent Submissions
.tab-content
.tab-pane.active#recent_user

View file

@ -1,5 +1,5 @@
%h1
%span.fa.fa-tachometer
%span.fa-solid.fa-gauge-high
Dashboard for #{@conference.title}
%hr
.row
@ -8,13 +8,13 @@
icon: "user", subtitle: "Registration", value: @total_reg, delta: @new_reg
.col-sm-3.col-xs-3
= render "big_statistic",
icon: "check-square", subtitle: "Submission", value: @total_submissions, delta: @new_submissions
icon: "square-check", subtitle: "Submission", value: @total_submissions, delta: @new_submissions
.col-sm-3.col-xs-3
= render "big_statistic",
icon: "file-text", subtitle: "Hour", value: @program_length, delta: @new_program_length
icon: "file-lines", subtitle: "Hour", value: @program_length, delta: @new_program_length
.col-sm-3.col-xs-3
= render "big_statistic",
icon: "archive", subtitle: "Withdrawn", value: @total_withdrawn, delta: @new_withdrawn
icon: "box-archive", subtitle: "Withdrawn", value: @total_withdrawn, delta: @new_withdrawn
.row
.col-md-12
@ -41,15 +41,15 @@
%ul.nav.nav-tabs#doughnut_tabs
%li.active
%a{ href: '#distribution_all', 'data-toggle' => 'tab' }
%span.fa.fa-star
%span.fa-solid.fa-star
All
%li
%a{ href: '#distribution_confirmed', 'data-toggle' => 'tab' }
%span.fa.fa-comment
%span.fa-solid.fa-comment
Confirmed
%li
%a{ href: '#distribution_withdrawn', 'data-toggle' => 'tab' }
%span.fa.fa-archive
%span.fa-solid.fa-box-archive
Withdrawn
.tab-content
.tab-pane.active#distribution_all
@ -91,11 +91,11 @@
%ul.nav.nav-tabs#recentTable
%li{ 'class' => "active #{hidden_if_conference_over(@conference)}" }
%a{ href: '#recent_reg', 'data-toggle' => 'tab' }
%span.fa.fa-user
%span.fa-solid.fa-user
Recent Registrations
%li{ 'class' => "#{hidden_if_conference_over(@conference)}" }
%a{ href: '#recent_submissions', 'data-toggle' => 'tab' }
%span.fa.fa-file-text
%span.fa-solid.fa-file-lines
Recent Submissions
.tab-content
.tab-pane.active#recent_reg

View file

@ -69,4 +69,4 @@
= link_to new_admin_conference_survey_path(@conference.short_title,
survey: { surveyable_type: 'Event', surveyable_id: event.id }),
class: 'btn btn-success' do
.fa.fa-plus
.fa-solid.fa-plus

View file

@ -85,7 +85,7 @@
%th
%b State
%th
.fa.fa-comment
.fa-solid.fa-comment
%th Add Survey
- @events.each do |event|
= render 'datatable_row',

View file

@ -35,6 +35,6 @@
= check_box_tag @conference.short_title, @event.id, event_registration.attended, class: 'switch-checkbox', url: "#{toggle_attendance_admin_conference_program_event_path(@conference, @event, events_registration_id: event_registration)}&&event_registration[attended]="
%td
- if event_registration.registration.attended
%i.fa.fa-check.text-success
%i.fa-solid.fa-check.text-success
- else
%i.fa.fa-close.text-danger
%i.fa-solid.fa-xmark.text-danger

View file

@ -12,7 +12,7 @@
.thumbnail
- unless lodging.picture?
%p.text-center
%i.fa.fa-home.fa-5x
%i.fa-solid.fa-house.fa-5x
- else
- if lodging.website_link.present?
= link_to(lodging.website_link, class: 'thumbnail') do

View file

@ -27,7 +27,7 @@
= organization.conferences.past.count
%td.text-center
- unless organization.code_of_conduct.blank?
= fa_icon 'check', title: 'yes'
= icon 'fa-solid', 'check', title: 'yes'
%td
.btn-group
= link_to 'Admins', admins_admin_organization_path(organization),

View file

@ -43,7 +43,7 @@
checkboxSwitch("[class='switch-checkbox']");
if (codeOfConductPresent) {
iconize("td.code-of-conduct", "true", "check", "accepted");
iconize("td.code-of-conduct", "false", "exclamation-circle", "Has not accepted Code of Conduct");
iconize("td.code-of-conduct", "false", "circle-exclamation", "Has not accepted Code of Conduct");
};
// truncatify("td.truncate");
},

View file

@ -21,9 +21,9 @@
= sponsorship_level.position
.btn-group-vertical{role: "group"}
= link_to(up_admin_conference_sponsorship_level_path(@conference.short_title, sponsorship_level.id), method: :patch, class: 'btn btn-default btn-xs') do
%i.fa.fa-chevron-up
%i.fa-solid.fa-chevron-up
= link_to(down_admin_conference_sponsorship_level_path(@conference.short_title, sponsorship_level.id), method: :patch, class: 'btn btn-default btn-xs') do
%i.fa.fa-chevron-down
%i.fa-solid.fa-chevron-down
%td
= link_to 'Edit', edit_admin_conference_sponsorship_level_path(@conference.short_title, sponsorship_level.id),
method: :get, class: 'btn btn-primary'

View file

@ -35,7 +35,7 @@
.form-group
%select.selectpicker.form-control{ id: 'survey_question_kind', name: 'survey_question[kind]' }
- SurveyQuestion.kinds.each do |kind|
%option{ id: "#{kind.second}", 'data-icon' => "fa fa-#{SurveyQuestion::ICONS[kind.first.to_sym]}", selected: @survey_question.kind == kind.first }
%option{ id: "#{kind.second}", 'data-icon' => "fa-solid fa-#{SurveyQuestion::ICONS[kind.first.to_sym]}", selected: @survey_question.kind == kind.first }
= kind.first
= f.submit nil, class: 'btn btn-primary'
.col-md-6
@ -89,7 +89,7 @@
.form-group{ class: 'datetimepicker' }
.input-group
.input-group-addon
%span.fa.fa-calendar
%span.fa-solid.fa-calendar
%input.form-control{ readonly: 'readonly' }
.kinds.numeric{ class: @survey_question.numeric? ? '' : 'hidden' }
%input.form-control{ type: 'number' }

View file

@ -35,7 +35,7 @@
.form-group{ class: 'datetimepicker' }
.input-group
.input-group-addon
%span.fa.fa-calendar
%span.fa-solid.fa-calendar
%input.form-control{ readonly: 'readonly', name: "survey_submission[#{survey_question.id}][]", value: survey_reply.text, required: survey_question.mandatory }
- elsif survey_question.numeric?
%input.form-control{ type: 'number', name: "survey_submission[#{survey_question.id}][]", value: survey_reply.text, required: survey_question.mandatory }

View file

@ -12,11 +12,11 @@
= survey_question.max_choices
choices )
- if survey_question.mandatory
%span.fa.fa-asterisk.text-danger
%span.fa-solid.fa-asterisk.text-danger
- if can? :edit, @survey
%p.pull-right
= "(#{survey_question.survey_replies.count} replies)"
= link_to edit_admin_conference_survey_survey_question_path(@conference.short_title, @survey, survey_question) do
%span.fa.fa-edit
%span.fa-solid.fa-pen-to-square
= link_to admin_conference_survey_survey_question_path(@conference.short_title, @survey, survey_question), method: :delete, data: { confirm: 'Are you sure you want to delete this question?' } do
%span.fa.fa-times
%span.fa-solid.fa-xmark

View file

@ -20,6 +20,6 @@
%td= link_to event.title, admin_conference_program_event_path(event.program.conference.short_title, event)
%td
- if @user.attended_event?(event)
%i.fa.fa-check.text-success
%i.fa-solid.fa-check.text-success
- else
%i.fa.fa-times.text-danger
%i.fa-solid.fa-xmark.text-danger

View file

@ -1,8 +1,8 @@
- reverse ||= false
- variant = variant_from_delta(delta, reverse: reverse)
.dashbox.text-center
%span.fa
= fa_icon(icon)
%span
= icon('fa-solid', icon)
= value
%p.text-nowrap
%small

View file

@ -2,7 +2,7 @@
- code_of_conduct_link = link_to 'Code of Conduct', '#',
data: { toggle: 'modal', target: '#modal-code-of-conduct'}
- if @registration.accepted_code_of_conduct
= fa_icon 'check-square-o'
= icon 'fa-solid', 'square-check'
I have read and accepted the
= code_of_conduct_link
- else

View file

@ -23,4 +23,4 @@
%p
= button_tag(type: 'submit', class: 'btn btn-success btn-lg pull-right') do
Support
%i.fa.fa-shopping-cart
%i.fa-solid.fa-cart-shopping

View file

@ -17,17 +17,19 @@
- unless @conference.code_of_conduct.blank?
.row
.col-md-12
%h4= fa_stacked_icon 'handshake-o', base: 'square-o', text: 'Code of Conduct'
%h4= fa_stacked_icon 'handshake-o', base: 'square-dashed', text: 'Code of Conduct'
%ul.fa-ul
- if @registration.accepted_code_of_conduct
%li.text-info
= fa_icon('check li')
%span.fa-li
= icon('fa-solid', 'check')
You have accepted the
= link_to 'Code of Conduct', '#',
data: { toggle: 'modal', target: '#modal-code-of-conduct'}
- else
%li.text-warning
= fa_icon('exclamation-circle li')
%span.fa-li
= icon('fa-solid', 'circle-exclamation')
You need to accept the
= link_to 'Code of Conduct', '#',
data: { toggle: 'modal', target: '#modal-code-of-conduct'}
@ -38,8 +40,8 @@
.col-md-12
%h4
%span.fa-stack
%i.fa.fa-square-o.fa-stack-2x
%i.fa.fa-info.fa-stack-1x
%i.fa-solid.fa-square-dashed.fa-stack-2x
%i.fa-solid.fa-info.fa-stack-1x
Surveys
%ul
@ -49,8 +51,8 @@
.col-md-12
%h4
%span.fa-stack
%i.fa.fa-square-o.fa-stack-2x
%i.fa.fa-check.fa-stack-1x
%i.fa-solid.fa-square-dashed.fa-stack-2x
%i.fa-solid.fa-check.fa-stack-1x
Registered to the following event(s)
%ul
- @registration.events.each do |event|
@ -63,8 +65,8 @@
.col-md-12
%h4
%span.fa-stack
%i.fa.fa-square-o.fa-stack-2x
%i.fa.fa-question.fa-stack-1x
%i.fa-solid.fa-square-dashed.fa-stack-2x
%i.fa-solid.fa-question.fa-stack-1x
Events that require registration
%ul
- @registration.conference.program.events.remaining_for_registration(@registration).each do |event|
@ -77,8 +79,8 @@
.col-md-12
%h4
%span.fa-stack
%i.fa.fa-square-o.fa-stack-2x
%i.fa.fa-ticket.fa-stack-1x
%i.fa-solid.fa-square-dashed.fa-stack-2x
%i.fa-solid.fa-ticket.fa-stack-1x
Tickets
- if @tickets.any?
Total Purchased:
@ -139,8 +141,8 @@
- if @conference.participants.any?
%h4
%span.fa-stack
%i.fa.fa-square-o.fa-stack-2x
%i.fa.fa-group.fa-stack-1x
%i.fa-solid.fa-square-dashed.fa-stack-2x
%i.fa-solid.fa-user-group.fa-stack-1x
= @conference.participants.count
Registered
= word_pluralize(@conference.participants.count, 'Attendee')
@ -150,8 +152,8 @@
- if @conference.program.speakers.confirmed.any?
%h4
%span.fa-stack
%i.fa.fa-square-o.fa-stack-2x
%i.fa.fa-microphone.fa-stack-1x
%i.fa-solid.fa-square-dashed.fa-stack-2x
%i.fa-solid.fa-microphone.fa-stack-1x
= @conference.program.speakers.confirmed.count
Confirmed
= word_pluralize(@conference.program.speakers.confirmed.count, 'Speaker')

View file

@ -10,7 +10,7 @@
.modal-content
.modal-header
%button.close{ data: { dismiss: 'modal' } }
%i.fa.fa-close
%i.fa-solid.fa-xmark
%h3.modal-title Code of Conduct
.modal-body
= markdown organization.code_of_conduct

View file

@ -1,6 +1,6 @@
.scroll-top-wrapper
= link_to "#banner", class: "smoothscroll" do
%i.fa.fa-2x.fa-arrow-circle-up
%i.fa-solid.fa-2x.fa-circle-arrow-up
:javascript
$(function(){

View file

@ -9,9 +9,9 @@
<!-- Controls -->
%a{ class: "left carousel-control", href: "#carousel-example-generic", role: "button", "data-slide" => "prev" }
%span.fa.fa-chevron-left
%span.fa-solid.fa-chevron-left
%a{ class: "right carousel-control", href: "#carousel-example-generic", role: "button", "data-slide" => "next" }
%span.fa.fa-chevron-right
%span.fa-solid.fa-chevron-right
:javascript

View file

@ -31,9 +31,9 @@
%p.text-center
- if lodging.website_link.present?
= link_to(lodging.website_link, class: 'thumbnail') do
%i.fa.fa-home.fa-5x
%i.fa-solid.fa-house.fa-5x
- else
%i.fa.fa-home.fa-5x
%i.fa-solid.fa-house.fa-5x
.caption
%h3.text-center
= lodging.name

View file

@ -5,7 +5,7 @@
.modal-content
.modal-header
%button.close{ data: { dismiss: 'modal' } }
%i.fa.fa-close
%i.fa-solid.fa-xmark
%h3.modal-title
= object.try(:title) || object.try(:name)
.modal-body

View file

@ -5,25 +5,25 @@
.col-md-12.text-center
- if contact.blog?
= link_to "#{ contact.blog }" do
%i.fa.fa-rss-square.fa-4x
%i.fa-solid.fa-square-rss.fa-4x
- if contact.facebook?
= link_to "#{ contact.facebook }" do
%i.fa.fa-facebook-square.fa-4x
%i.fa-brand.fa-facebook.fa-4x
- if contact.twitter?
= link_to "#{ contact.twitter }" do
%i.fa.fa-twitter.fa-4x
%i.fa-brand.fa-twitter.fa-4x
- if contact.instagram?
= link_to "#{ contact.instagram }" do
%i.fa.fa-instagram.fa-4x
%i.fa-brand.fa-instagram.fa-4x
- if contact.googleplus?
= link_to "#{ contact.googleplus }" do
%i.fa.fa-google-plus-square.fa-4x
%i.fa-brand.fa-google-plus.fa-4x
- if contact.mastodon?
= link_to "#{ contact.mastodon }" do
%i.fa.icon-mastodon.fa-4x
%i.fa-brand.fa-mastodon.fa-4x
- if contact.youtube?
= link_to "#{ contact.youtube }" do
%i.fa.fa-youtube.fa-4x
%i.fa-brand.fa-youtube.fa-4x
- if contact.email?
= mail_to "#{ contact.email }" do
%i.fa.fa-envelope-o.fa-4x
%i.fa-solid.fa-envelope.fa-4x

View file

@ -21,5 +21,5 @@
.word_break
= markdown(ticket.description)
%button.btn-block.btn.btn-lg.btn-success
%i.fa.fa-ticket.fa-fw
%i.fa-solid.fa-ticket.fa-fw
= humanized_money_with_symbol(ticket.price)

View file

@ -20,7 +20,7 @@
title: venue.name, class: "img-responsive"
- else
%p.text-center
%span.fa.fa-university.fa-5x
%span.fa-solid.fa-building-columns.fa-5x
.caption
%h3.text-center
= venue.name

View file

@ -13,8 +13,8 @@
Older conferences
%span.notranslate
= "(#{@antiquated.count})"
%i.fa.fa-chevron-right
%i.fa.fa-chevron-down{ style: 'display: none' }
%i.fa-solid.fa-chevron-right
%i.fa-solid.fa-chevron-down{ style: 'display: none' }
#antiquated.collapse
- @antiquated.each do |conference|
= render '/conferences/conference_details', conference: conference

View file

@ -10,7 +10,7 @@
%li{ style: "list-style: none; margin-left: 20px;" }
= link_to user_openid_path(openid, user_id: current_user.id), method: :delete,
data: { confirm: "Remove association with #{openid.provider} account?" } do
%span.fa.fa-times{ style: "color: red;" }
%span.fa-solid.fa-xmark.text-danger
%span #{openid.provider}:#{openid.email}
%br
- else

View file

@ -5,4 +5,4 @@
id: "omniauth-#{provider}",
title: "Your #{provider} login",
method: :post do
%i{class: "fa fa-#{provider}"}
%i{class: "fa-brand fa-#{provider}"}

View file

@ -1,41 +1,41 @@
%ul.nav.nav-stacked.nav-pills.mySidebar.collapse.navbar-collapse#side-nav
.btn-group
%button{type:'button', class: 'btn btn-default btn-link dropdown-toggle', 'data-toggle'=>'dropdown'}
%span.fa.fa-cog
%span.fa-solid.fa-gear
= @conference.short_title
%span.caret
%ul.dropdown-menu{role:'menu'}
%li
= link_to(admin_conferences_path) do
%span.fa.fa-home
%span.fa-solid.fa-house
All Conferences
- @conferences.each do |conference|
- if can? :show, conference
%li
= link_to(admin_conference_path(conference.short_title)) do
%span.fa.fa-cog
%span.fa-solid.fa-gear
Manage
= conference.short_title
- if can? :new, Conference.new
%li
= link_to(new_admin_conference_path) do
%span.fa.fa-plus
%span.fa-solid.fa-plus
New Conference
%hr
- if can? :show, @conference
%li{class: "#{active_nav_li(admin_conference_path(@conference.short_title))} nav-header nav-header-bigger"}
= link_to(admin_conference_path(@conference.short_title)) do
%span.fa.fa-tachometer
%span.fa-solid.fa-gauge-high
Dashboard
- if can? :show, @conference
%li{class: "#{active_nav_li(edit_admin_conference_path(@conference.short_title))}"}
- if can? :edit, @conference
= link_to(edit_admin_conference_path(@conference.short_title)) do
%span.fa.fa-home
%span.fa-solid.fa-house
Basics
- else
%a
%span.fa.fa-home
%span.fa-solid.fa-house
Basics
%ul
- if can? :update, Contact.new(conference_id: @conference.id)
@ -50,7 +50,7 @@
- if can? :show, Venue.new(conference_id: @conference.id)
%li{class: "#{active_nav_li(admin_conference_venue_path(@conference.short_title))}"}
= link_to(admin_conference_venue_path(@conference.short_title)) do
%span.fa.fa-road
%span.fa-solid.fa-road
Venue
%ul
- if @conference.venue && @conference.venue.persisted? && (can? :update, @conference.venue.rooms.build)
@ -62,7 +62,7 @@
- if can? :show, @conference.program
%li{class: "#{active_nav_li(admin_conference_program_path(@conference.short_title))}"}
= link_to admin_conference_program_path(@conference.short_title) do
%span.fa.fa-calendar
%span.fa-solid.fa-calendar
Program
- if @conference.program
%ul
@ -91,7 +91,7 @@
- if can? :update, Registration.new(conference_id: @conference.id)
%li{class: active_nav_li(admin_conference_registrations_path(@conference.short_title))}
= link_to(admin_conference_registrations_path(@conference.short_title)) do
%span.fa.fa-user
%span.fa-solid.fa-user
Registrations
%ul
- if can? :update, @conference
@ -104,7 +104,7 @@
- if (can? :manage, @conference.sponsorship_levels.build) || (can? :manage, @conference.sponsors.build) || (can? :manage, @conference.tickets.build)
%li
%a
%span.fa.fa-usd
%span.fa-solid.fa-dollar-sign
Donations
%ul
- if can? :update, @conference.sponsorship_levels.build
@ -119,31 +119,31 @@
- if can? :manage, @conference.booths.build
%li
= link_to admin_conference_booths_path(@conference.short_title) do
%span.fa.fa-shopping-bag
%span.fa-solid.fa-bag-shopping
= (t'booth').pluralize.capitalize
- if can? :update, @conference.email_settings
%li{class: active_nav_li(admin_conference_emails_path(@conference.short_title))}
= link_to(admin_conference_emails_path(@conference.short_title)) do
%span.fa.fa-envelope
%span.fa-solid.fa-envelope
E-Mails
%li{ class: active_nav_li(admin_conference_surveys_path(@conference.short_title)) }
= link_to(admin_conference_surveys_path(@conference.short_title)) do
%span.fa.fa-list-alt
%span.fa-solid.fa-list
Surveys
- if can? :index, Role.new(resource: @conference)
%li{class: active_nav_li(admin_conference_roles_path(@conference.short_title))}
= link_to(admin_conference_roles_path(@conference.short_title)) do
%span.fa.fa-group
%span.fa-solid.fa-user-group
Roles
- if can? :index, @conference.resources.new
%li
= link_to admin_conference_resources_path(@conference.short_title) do
%span.fa.fa-pencil-square
%span.fa-solid.fa-pencil
Resources
- if can?(:index, PaperTrail::Version.new(conference_id: @conference.id, item_type: 'Event')) || can?(:index, PaperTrail::Version.new(conference_id: @conference.id, item_type: 'Registration'))
%li{:class=> active_nav_li(admin_conference_revision_history_path(@conference.short_title))}
= link_to(admin_conference_revision_history_path(@conference.short_title)) do
%span.fa.fa-history
%span.fa-solid.fa-clock-rotate-left
Revision History

View file

@ -1,44 +1,44 @@
%ul.nav.nav-stacked.nav-pills.mySidebar.collapse.navbar-collapse#side-nav
.btn-group
%button{type: 'button', class: 'btn btn-default btn-link dropdown-toggle', 'data-toggle'=>'dropdown'}
%span.fa.fa-home
%span.fa-solid.fa-house
All Conferences
%span.caret
%ul.dropdown-menu{role: 'menu'}
%li
= link_to(admin_conferences_path) do
%span.fa.fa-home
%span.fa-solid.fa-house
All Conferences
- @conferences.each do |conference|
- if can? :show, conference
%li
= link_to(admin_conference_path(conference.short_title)) do
%span.fa.fa-cog
%span.fa-solid.fa-gear
Manage
= conference.short_title
- if can? :new, Conference.new
%li
= link_to(new_admin_conference_path) do
%span.fa.fa-plus
%span.fa-solid.fa-plus
New Conference
- if can? :index, User
%hr
%li
= link_to(admin_users_path) do
%span.fa.fa-user
%span.fa-solid.fa-user
Users
- if can? :index, Organization
%li
= link_to(admin_organizations_path) do
%span.fa.fa-users
%span.fa-solid.fa-users
Organizations
- if can? :index, PaperTrail::Version
%li
= link_to(admin_revision_history_path) do
%span.fa.fa-history
%span.fa-solid.fa-clock-rotate-left
Revision History
- if ENV.fetch('ORGANIZATIONS_ENABLED', nil) == 'true'
%li
= link_to(admin_organizations_path) do
%span.fa.fa-group
%span.fa-solid.fa-user-group
Organizations

View file

@ -35,16 +35,16 @@
- if ENV.fetch('OSEM_ICHAIN_ENABLED', nil) == 'true'
%li{class: "#{active_nav_li(new_ichain_registration_path('user'))}"}
= link_to(new_ichain_registration_path('user')) do
%span.fa.fa-heart
%span.fa-solid.fa-heart
Sign Up
- else
%li{class: "#{active_nav_li(new_registration_path('user'))}"}
= link_to(new_registration_path('user')) do
%span.fa.fa-heart
%span.fa-solid.fa-heart
Sign Up
%li.dropdown.visible-desktop
%a.dropdown-toggle{"data-toggle" => "dropdown", href: '#'}
%span.fa.fa-user
%span.fa-solid.fa-user
Sign In
%span.caret
.dropdown-menu

View file

@ -1,6 +1,6 @@
- if can? :index, Comment
%li.dropdown-header
%span.fa.fa-comment
%span.fa-solid.fa-comment
Notifications (#{unread_notifications(current_user).length})
- if unread_notifications(current_user).length > 0
%li.dropdown-header Last 5 Comments for:
@ -13,71 +13,71 @@
- unless ENV.fetch('OSEM_ICHAIN_ENABLED', nil) == 'true'
%li
= link_to(edit_user_registration_path) do
%span.fa.fa-wrench
%span.fa-solid.fa-wrench
Edit Account
%li
= link_to(edit_user_path(current_user.id)) do
%span.fa.fa-user
%span.fa-solid.fa-user
Edit Profile
- if @conference && ((current_user && @conference.user_registered?(current_user)) || @conference.registration_open?)
%li
= link_to(conference_conference_registration_path(@conference)) do
%span.fa.fa-id-badge
%span.fa-solid.fa-id-badge
= @conference.short_title
registration
-if @conference && @conference.program
%li
= link_to(conference_program_proposals_path(@conference.short_title)) do
%span.fa.fa-comment
%span.fa-solid.fa-comment
My Submissions
%li
= link_to(conference_program_tracks_path(@conference.short_title)) do
%span.fa.fa-road
%span.fa-solid.fa-road
My Tracks
-if @conference && (@conference.call_for_booths.try(:open?) || current_user.booths.where(conference_id: @conference.id).count > 0)
%li
= link_to (conference_booths_path(@conference.short_title)) do
%span.fa.fa-shopping-bag
%span.fa-solid.fa-bag-shopping
My #{(t'booth').capitalize } Requests
%li
- if ENV.fetch('OSEM_ICHAIN_ENABLED', nil) == 'true'
= link_to(destroy_user_ichain_session_path, method: 'delete') do
%span.fa.fa-minus
%span.fa-solid.fa-minus
Sign out
- else
= link_to(destroy_user_session_path, method: 'delete') do
%span.fa.fa-minus
%span.fa-solid.fa-minus
Sign out
- if can? :access, Admin
%li.divider
%li
- if Conference.any?
= link_to(admin_conferences_path()) do
%span.fa.fa-home
%span.fa-solid.fa-house
Administration
- if can? :new, Conference.new
=link_to(new_admin_conference_path) do
%span.fa.fa-plus
%span.fa-solid.fa-plus
New Conference
-if @conference && @conference.id && can?(:show, @conference)
%li
= link_to(admin_conference_path(@conference.short_title)) do
%span.fa.fa-cog
%span.fa-solid.fa-gear
Manage
%span.notranslate
= @conference.short_title
- if can? :manage, User.new
%li
= link_to(admin_users_path) do
%span.fa.fa-user
%span.fa-solid.fa-user
Users
- if can? :index, PaperTrail::Version
%li
= link_to(admin_revision_history_path) do
%span.fa.fa-history
%span.fa-solid.fa-clock-rotate-left
Revision History
- if ENV.fetch('OSEM_ICHAIN_ENABLED', nil) == 'true'
%li
= link_to(admin_organizations_path) do
%span.fa.fa-group
%span.fa-solid.fa-user-group
Organizations

View file

@ -34,11 +34,11 @@
%td= event_registration.created_at
%td.text-center
- if event_registration.attended
%i.fa.fa-check.text-success
%i.fa-solid.fa-check.text-success
- else
%i.fa.fa-times.text-danger
%i.fa-solid.fa-xmark.text-danger
%td
- if event_registration.registration.attended
%i.fa.fa-check.text-success
%i.fa-solid.fa-check.text-success
-else
%i.fa.fa-times.text-danger
%i.fa-solid.fa-xmark.text-danger

View file

@ -40,7 +40,7 @@
%br
- if speaker.email_public?
= mail_to "#{ speaker.email }" do
%i.fa.fa-envelope-o.fa-2x
%i.fa-solid.fa-envelope.fa-2x
- if speaker.affiliation?
.text-muted
from

View file

@ -56,8 +56,8 @@
%a.left.carousel-control{ href: "#carousel-#{ date }-#{ hrs_per_slide }", |
role: "button", |
"data-slide" => "prev" }
%span.glyphicon.glyphicon-chevron-left
%span.fa-solid.fa-chevron-left
%a.right.carousel-control{ href: "#carousel-#{ date }-#{ hrs_per_slide }", |
role: "button", |
"data-slide" => "next" }
%span.glyphicon.glyphicon-chevron-right
%span.fa-solid.fa-chevron-right

View file

@ -22,17 +22,17 @@
= link_to 'more', conference_program_proposal_path(@conference.short_title, event.id) if event.abstract.length > 400
- if event_schedule.present?
%span.track
%span.fa.fa-clock-o
%span.fa-solid.fa-clock
%span.label{ style: "background-color: grey" }
= event_schedule.start_time.strftime('%H:%M')
\-
= event_schedule.end_time.strftime('%H:%M')
%span.track
%span.fa.fa-map-marker
%span.fa-solid.fa-location-dot
%span.label{ style: "background-color: grey" }
= event_schedule.room.name
- if event.track
%span.track
%span.fa.fa-road
%span.fa-solid.fa-road
%span.label{ style: "background-color: #{event.track.color}; color: #{ contrast_color(event.track.color) }" }
= event.track.name

View file

@ -29,7 +29,7 @@
%span{ class: 'date-title', id: "#{ event_schedule.start_time.strftime('%Y-%m-%d') }" }
= date = event_schedule.start_time.strftime('%Y-%m-%d')
%a{ title: "Go up", class: "pull-right", href: "#program" }
%i{ class: "fa fa-angle-double-up fa-lg", 'aria-hidden' => true }
%i{ class: "fa-solid fa-angles-up fa-lg", 'aria-hidden' => true }
- unless event_schedule.start_time.strftime('%H:%M').eql?(time)
.col-xs-12.col-md-1
.start-time
@ -48,7 +48,7 @@
%span.date-title#unscheduled
Unscheduled events
%a{ title: "Go up", class: "pull-right", href: "#program" }
%i{ class: "fa fa-angle-double-up fa-lg", 'aria-hidden' => true }
%i{ class: "fa-solid fa-angles-up fa-lg", 'aria-hidden' => true }
- @unscheduled_events.each do |event|
.col-xs-12.col-md-12
.unscheduled-event

View file

@ -1,7 +1,7 @@
- surveys.each do |survey|
- if survey.survey_submissions.find_by(user: current_user)
%i.fa.fa-check-square-o.text-success{ title: 'Thank you for filling out the survey' }
%i.fa-solid.fa-square-check.text-success{ title: 'Thank you for filling out the survey' }
- else
%i.fa.fa-minus-square-o.text-danger{ title: 'Please fill out the survey' }
%i.fa-solid.fa-square-minus.text-danger{ title: 'Please fill out the survey' }
= link_to survey.title, conference_survey_path(conference.short_title, survey)
%br

View file

@ -12,7 +12,7 @@
= @survey.end_date
- unless @survey.active?
%label
%i.fa.fa-exclamation-circle
%i.fa-solid.fa-circle-exclamation
This survey does not accept replies at this monent.
.row
.col-md-12

View file

@ -39,7 +39,7 @@
.btn-group-vertical
= button_tag(type: 'submit', class: 'btn btn-success btn-lg') do
Continue
%i.fa.fa-shopping-cart
%i.fa-solid.fa-cart-shopping
= link_to 'Back to registration',
conference_conference_registration_path(@conference.short_title),
class: 'btn btn-default btn-sm'

View file

@ -40,13 +40,13 @@
%tr
%td{style: "padding:15px 0px 0px 8px;"}
- if %w(new to_accept to_reject).include? track.state
%span{ title: 'In review', class: 'fa fa-eye' }
%span{ title: 'In review', class: 'fa-solid fa-eye' }
- elsif track.state == 'accepted'
%span{ title: 'Accepted', class: 'fa fa-check text-muted' }
%span{ title: 'Accepted', class: 'fa-solid fa-check text-muted' }
- elsif track.state == 'confirmed'
%spam{ title: 'Confirmed', class: 'fa fa-check text-success' }
%spam{ title: 'Confirmed', class: 'fa-solid fa-check text-success' }
- elsif %w(rejected withdrawn canceled).include? track.state
%span{ title: track.state.humanize, class: 'fa fa-ban'}
%span{ title: track.state.humanize, class: 'fa-solid fa-ban'}
%td{style: "padding: 15px 0px 0px 0px;"}
= link_to conference_program_track_path(@conference.short_title, track), class: 'btn' do
%span.label{style: "background-color: #{track.color}; color: #{ contrast_color(track.color) }"}