diff --git a/Gemfile b/Gemfile
index 6b63cfb8..30080b55 100644
--- a/Gemfile
+++ b/Gemfile
@@ -165,7 +165,7 @@ gem 'turbolinks'
gem 'active_model_serializers'
# as icon font
-gem 'font-awesome-rails'
+gem 'font-awesome-sass'
# for markdown
gem 'redcarpet'
diff --git a/Gemfile.lock b/Gemfile.lock
index 87fea156..5a945f18 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -227,8 +227,8 @@ GEM
fastimage (2.2.6)
feature (1.4.0)
ffi (1.15.5)
- font-awesome-rails (4.7.0.8)
- railties (>= 3.2, < 8.0)
+ font-awesome-sass (6.1.1)
+ sassc (~> 2.0)
geckodriver-helper (0.24.0)
archive-zip (~> 0.7)
globalid (1.0.0)
@@ -661,7 +661,7 @@ DEPENDENCIES
factory_bot_rails
faker
feature
- font-awesome-rails
+ font-awesome-sass
geckodriver-helper
gravtastic
haml-rails
diff --git a/app/assets/fonts/mastodon.eot b/app/assets/fonts/mastodon.eot
deleted file mode 100755
index 59cd79ab..00000000
Binary files a/app/assets/fonts/mastodon.eot and /dev/null differ
diff --git a/app/assets/fonts/mastodon.otf b/app/assets/fonts/mastodon.otf
deleted file mode 100755
index 2d415249..00000000
Binary files a/app/assets/fonts/mastodon.otf and /dev/null differ
diff --git a/app/assets/fonts/mastodon.svg b/app/assets/fonts/mastodon.svg
deleted file mode 100755
index 8ea5bf6e..00000000
--- a/app/assets/fonts/mastodon.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/app/assets/fonts/mastodon.ttf b/app/assets/fonts/mastodon.ttf
deleted file mode 100755
index 60c8ad30..00000000
Binary files a/app/assets/fonts/mastodon.ttf and /dev/null differ
diff --git a/app/assets/fonts/mastodon.woff b/app/assets/fonts/mastodon.woff
deleted file mode 100755
index 73365373..00000000
Binary files a/app/assets/fonts/mastodon.woff and /dev/null differ
diff --git a/app/assets/fonts/suse-icons.eot b/app/assets/fonts/suse-icons.eot
deleted file mode 100644
index ffed3026..00000000
Binary files a/app/assets/fonts/suse-icons.eot and /dev/null differ
diff --git a/app/assets/fonts/suse-icons.svg b/app/assets/fonts/suse-icons.svg
deleted file mode 100644
index 72c938a4..00000000
--- a/app/assets/fonts/suse-icons.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
diff --git a/app/assets/fonts/suse-icons.ttf b/app/assets/fonts/suse-icons.ttf
deleted file mode 100644
index ef1de507..00000000
Binary files a/app/assets/fonts/suse-icons.ttf and /dev/null differ
diff --git a/app/assets/fonts/suse-icons.woff b/app/assets/fonts/suse-icons.woff
deleted file mode 100644
index 4ebb0dc1..00000000
Binary files a/app/assets/fonts/suse-icons.woff and /dev/null differ
diff --git a/app/assets/javascripts/osem-datatables.js b/app/assets/javascripts/osem-datatables.js
index f9bdb008..f5cfdd47 100644
--- a/app/assets/javascripts/osem-datatables.js
+++ b/app/assets/javascripts/osem-datatables.js
@@ -41,7 +41,7 @@ function truncatify(selector) {
function iconize(selector, value, icon, title) {
$(selector).each(function(){
if ($(this).text() == value) {
- $(this).html("");
+ $(this).html("");
}
});
}
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 3594e187..576997ae 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -7,7 +7,6 @@
*= require osem-schedule-print
*= require osem-dashboard
*= require osem-splash
- *= require font-awesome
*= require osem-fonts
*= require bootstrap-markdown
*= require bootstrap-datetimepicker
@@ -17,7 +16,6 @@
*= require osem-navbar
*= require selectize
*= require selectize.bootstrap3
- *= require mastodon
*= require bootstrap-select
*= require conferences
*/
diff --git a/app/assets/stylesheets/mastodon.scss b/app/assets/stylesheets/mastodon.scss
deleted file mode 100755
index ddb481d1..00000000
--- a/app/assets/stylesheets/mastodon.scss
+++ /dev/null
@@ -1,45 +0,0 @@
-@font-face {
- font-family: 'mastodon';
- src: font-url('mastodon.eot');
- src: local('☺'),
- font-url('mastodon.otf') format('opentype'),
- font-url('mastodon.woff') format('woff'),
- font-url('mastodon.ttf') format('truetype'),
- font-url('mastodon.svg') format('svg');
- font-weight: normal;
- font-style: normal;
-}
-
- [class^="icon-"]:before, [class*=" icon-"]:before {
- font-family: "mastodon";
- font-style: normal;
- font-weight: normal;
- speak: none;
-
- display: inline-block;
- text-decoration: inherit;
- width: 1em;
- margin-right: .2em;
- text-align: center;
- /* opacity: .8; */
-
- /* For safety - reset parent styles, that can break glyph codes*/
- font-variant: normal;
- text-transform: none;
-
- /* fix buttons height, for twitter bootstrap */
- line-height: 1em;
-
- /* you can be more comfortable with increased icons size */
- /* font-size: 120%; */
-
- /* Font smoothing. That was taken from TWBS */
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-
- /* Uncomment for 3D effect */
- /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
-}
-
-.icon-mastodon:before { content: '\e800'; } /* '' */
-.icon-mastodon_alt:before { content: '\e801'; } /* '' */
diff --git a/app/assets/stylesheets/osem-dashboard.scss b/app/assets/stylesheets/osem-dashboard.scss
index 3b5685ad..9e336c1a 100644
--- a/app/assets/stylesheets/osem-dashboard.scss
+++ b/app/assets/stylesheets/osem-dashboard.scss
@@ -1,6 +1,6 @@
@import "breakpoints.scss";
-.dashbox span.fa {
+.dashbox span.fa-solid {
line-height: 1.1em;
@include breakpoint(sm) {
font-size: 3em;
diff --git a/app/assets/stylesheets/osem-fonts.scss b/app/assets/stylesheets/osem-fonts.scss
index c2ea6493..3141837b 100644
--- a/app/assets/stylesheets/osem-fonts.scss
+++ b/app/assets/stylesheets/osem-fonts.scss
@@ -1,45 +1 @@
-/* Generated with http://fontastic.me/ and app/assets/images/suse.svg */
-@charset "UTF-8";
-
-@font-face {
- font-family: "suse-icons";
- src:font-url("suse-icons.eot");
- src:font-url("suse-icons.eot?#iefix") format("embedded-opentype"),
- font-url("suse-icons.woff") format("woff"),
- font-url("suse-icons.ttf") format("truetype"),
- font-url("suse-icons.svg#suse-icons") format("svg");
- font-weight: normal;
- font-style: normal;
-
-}
-
-[data-icon]:before {
- font-family: "suse-icons" !important;
- content: attr(data-icon);
- font-style: normal !important;
- font-weight: normal !important;
- font-variant: normal !important;
- text-transform: none !important;
- speak: none;
- line-height: 1;
- font-smoothing: antialiased;
-}
-
-/* We have to repeat this for every symbol that extends font awesome. So if
- you add fa-rutzelfuz you need to copy and paste these two...
-*/
-[class^="fa-suse"]:before,
-[class*=" fa-suse"]:before {
- font-family: "suse-icons" !important;
- font-style: normal !important;
- font-weight: normal !important;
- font-variant: normal !important;
- text-transform: none !important;
- speak: none;
- line-height: 1;
- font-smoothing: antialiased;
-}
-
-.fa-suse:before {
- content: "a";
-}
\ No newline at end of file
+@import "font-awesome";
diff --git a/app/assets/stylesheets/osem-splash.scss b/app/assets/stylesheets/osem-splash.scss
index ce0418d6..35a27dca 100644
--- a/app/assets/stylesheets/osem-splash.scss
+++ b/app/assets/stylesheets/osem-splash.scss
@@ -161,7 +161,7 @@
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
- i.fa {
+ i.fa-solid {
line-height: inherit;
}
&.show {
diff --git a/app/assets/stylesheets/strap-on.scss b/app/assets/stylesheets/strap-on.scss
index 571161e6..2dc305e5 100644
--- a/app/assets/stylesheets/strap-on.scss
+++ b/app/assets/stylesheets/strap-on.scss
@@ -18,7 +18,6 @@ $navbar-default-link-hover-color: #000000;
// Reset and dependencies
@import "bootstrap/normalize";
@import "bootstrap/print";
-@import "bootstrap/glyphicons";
// Core CSS
@import "bootstrap/scaffolding";
diff --git a/app/helpers/format_helper.rb b/app/helpers/format_helper.rb
index 07a982ab..26014f89 100644
--- a/app/helpers/format_helper.rb
+++ b/app/helpers/format_helper.rb
@@ -100,9 +100,9 @@ module FormatHelper
def icon_for_todo(bool)
if bool
- 'fa fa-check'
+ 'fa-solid fa-check'
else
- 'fa fa-times'
+ 'fa-solid fa-xmark'
end
end
diff --git a/app/models/survey_question.rb b/app/models/survey_question.rb
index 2936977a..748f70dd 100644
--- a/app/models/survey_question.rb
+++ b/app/models/survey_question.rb
@@ -7,7 +7,7 @@ class SurveyQuestion < ActiveRecord::Base
# Order of this list should not be changed without proper action!
enum kind: [:boolean, :choice, :string, :text, :datetime, :numeric]
- ICONS = { boolean: 'dot-circle-o', choice: 'check-square-o', string: 'edit', text: 'align-left', datetime: 'clock-o', numeric: 'slack' }.freeze
+ ICONS = { boolean: 'circle-dot', choice: 'square-check', string: 'pen-to-square', text: 'align-left', datetime: 'clock', numeric: 'hashtag' }.freeze
validates :title, presence: true
validates :possible_answers, :max_choices, :min_choices, presence: true, if: :choice?
diff --git a/app/views/admin/comments/index.html.haml b/app/views/admin/comments/index.html.haml
index d7dccd14..6e3b8cfd 100644
--- a/app/views/admin/comments/index.html.haml
+++ b/app/views/admin/comments/index.html.haml
@@ -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
diff --git a/app/views/admin/conferences/index.html.haml b/app/views/admin/conferences/index.html.haml
index 800e612e..912c3ea7 100644
--- a/app/views/admin/conferences/index.html.haml
+++ b/app/views/admin/conferences/index.html.haml
@@ -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
diff --git a/app/views/admin/conferences/show.html.haml b/app/views/admin/conferences/show.html.haml
index 89daeff5..094a56e1 100644
--- a/app/views/admin/conferences/show.html.haml
+++ b/app/views/admin/conferences/show.html.haml
@@ -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
diff --git a/app/views/admin/events/_datatable_row.haml b/app/views/admin/events/_datatable_row.haml
index 74a8ccb4..7de3f3f1 100644
--- a/app/views/admin/events/_datatable_row.haml
+++ b/app/views/admin/events/_datatable_row.haml
@@ -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
diff --git a/app/views/admin/events/index.html.haml b/app/views/admin/events/index.html.haml
index eda41a3f..5fdec89e 100644
--- a/app/views/admin/events/index.html.haml
+++ b/app/views/admin/events/index.html.haml
@@ -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',
diff --git a/app/views/admin/events/registrations.html.haml b/app/views/admin/events/registrations.html.haml
index 70204369..f469d403 100644
--- a/app/views/admin/events/registrations.html.haml
+++ b/app/views/admin/events/registrations.html.haml
@@ -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
diff --git a/app/views/admin/lodgings/index.html.haml b/app/views/admin/lodgings/index.html.haml
index 67b5e3df..db1136b9 100644
--- a/app/views/admin/lodgings/index.html.haml
+++ b/app/views/admin/lodgings/index.html.haml
@@ -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
diff --git a/app/views/admin/organizations/index.html.haml b/app/views/admin/organizations/index.html.haml
index b152e4c2..d7ebe7c6 100644
--- a/app/views/admin/organizations/index.html.haml
+++ b/app/views/admin/organizations/index.html.haml
@@ -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),
diff --git a/app/views/admin/registrations/index.html.haml b/app/views/admin/registrations/index.html.haml
index 512899a2..5dc557b0 100644
--- a/app/views/admin/registrations/index.html.haml
+++ b/app/views/admin/registrations/index.html.haml
@@ -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");
},
diff --git a/app/views/admin/sponsorship_levels/index.html.haml b/app/views/admin/sponsorship_levels/index.html.haml
index c73c5582..8cd28059 100644
--- a/app/views/admin/sponsorship_levels/index.html.haml
+++ b/app/views/admin/sponsorship_levels/index.html.haml
@@ -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'
diff --git a/app/views/admin/survey_questions/_form.html.haml b/app/views/admin/survey_questions/_form.html.haml
index 0cde22c5..b77bb1c5 100644
--- a/app/views/admin/survey_questions/_form.html.haml
+++ b/app/views/admin/survey_questions/_form.html.haml
@@ -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' }
diff --git a/app/views/admin/surveys/_survey_question.html.haml b/app/views/admin/surveys/_survey_question.html.haml
index 485bd559..f006036e 100644
--- a/app/views/admin/surveys/_survey_question.html.haml
+++ b/app/views/admin/surveys/_survey_question.html.haml
@@ -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 }
diff --git a/app/views/admin/surveys/_survey_question_title.html.haml b/app/views/admin/surveys/_survey_question_title.html.haml
index 4fd0f421..51b98891 100644
--- a/app/views/admin/surveys/_survey_question_title.html.haml
+++ b/app/views/admin/surveys/_survey_question_title.html.haml
@@ -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
diff --git a/app/views/admin/users/_event_registrations.html.haml b/app/views/admin/users/_event_registrations.html.haml
index d512bc12..9d8f642b 100644
--- a/app/views/admin/users/_event_registrations.html.haml
+++ b/app/views/admin/users/_event_registrations.html.haml
@@ -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
diff --git a/app/views/application/_big_statistic.haml b/app/views/application/_big_statistic.haml
index 7a77d29c..c45a17f1 100644
--- a/app/views/application/_big_statistic.haml
+++ b/app/views/application/_big_statistic.haml
@@ -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
diff --git a/app/views/conference_registrations/_registration_info.html.haml b/app/views/conference_registrations/_registration_info.html.haml
index b7cae0ff..e8293d54 100644
--- a/app/views/conference_registrations/_registration_info.html.haml
+++ b/app/views/conference_registrations/_registration_info.html.haml
@@ -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
diff --git a/app/views/conference_registrations/_tickets.html.haml b/app/views/conference_registrations/_tickets.html.haml
index 82a995b9..d9ef16cc 100644
--- a/app/views/conference_registrations/_tickets.html.haml
+++ b/app/views/conference_registrations/_tickets.html.haml
@@ -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
diff --git a/app/views/conference_registrations/show.html.haml b/app/views/conference_registrations/show.html.haml
index 359b9de7..57ccb5d7 100644
--- a/app/views/conference_registrations/show.html.haml
+++ b/app/views/conference_registrations/show.html.haml
@@ -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')
diff --git a/app/views/conferences/_code_of_conduct.haml b/app/views/conferences/_code_of_conduct.haml
index a41ca646..1b9b9867 100644
--- a/app/views/conferences/_code_of_conduct.haml
+++ b/app/views/conferences/_code_of_conduct.haml
@@ -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
diff --git a/app/views/conferences/_footer.haml b/app/views/conferences/_footer.haml
index 5b24fd92..cba8f844 100644
--- a/app/views/conferences/_footer.haml
+++ b/app/views/conferences/_footer.haml
@@ -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(){
diff --git a/app/views/conferences/_gallery.html.haml b/app/views/conferences/_gallery.html.haml
index 65babbe4..69635402 100644
--- a/app/views/conferences/_gallery.html.haml
+++ b/app/views/conferences/_gallery.html.haml
@@ -9,9 +9,9 @@
%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
diff --git a/app/views/conferences/_lodging.haml b/app/views/conferences/_lodging.haml
index 724e78ca..768f75d1 100644
--- a/app/views/conferences/_lodging.haml
+++ b/app/views/conferences/_lodging.haml
@@ -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
diff --git a/app/views/conferences/_modal_description.haml b/app/views/conferences/_modal_description.haml
index 1c66b67d..f1cad190 100644
--- a/app/views/conferences/_modal_description.haml
+++ b/app/views/conferences/_modal_description.haml
@@ -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
diff --git a/app/views/conferences/_social_media.haml b/app/views/conferences/_social_media.haml
index ea5c481d..e68e39f6 100644
--- a/app/views/conferences/_social_media.haml
+++ b/app/views/conferences/_social_media.haml
@@ -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-solid.fa-facebook.fa-4x
- if contact.twitter?
= link_to "#{ contact.twitter }" do
- %i.fa.fa-twitter.fa-4x
+ %i.fa-solid.fa-twitter.fa-4x
- if contact.instagram?
= link_to "#{ contact.instagram }" do
- %i.fa.fa-instagram.fa-4x
+ %i.fa-solid.fa-instagram.fa-4x
- if contact.googleplus?
= link_to "#{ contact.googleplus }" do
- %i.fa.fa-google-plus-square.fa-4x
+ %i.fa-solid.fa-google-plus.fa-4x
- if contact.mastodon?
= link_to "#{ contact.mastodon }" do
- %i.fa.icon-mastodon.fa-4x
+ %i.fa-solid.fa-mastodon.fa-4x
- if contact.youtube?
= link_to "#{ contact.youtube }" do
- %i.fa.fa-youtube.fa-4x
+ %i.fa-solid.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
diff --git a/app/views/conferences/_tickets.haml b/app/views/conferences/_tickets.haml
index 5f0da517..325f04b8 100644
--- a/app/views/conferences/_tickets.haml
+++ b/app/views/conferences/_tickets.haml
@@ -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)
diff --git a/app/views/conferences/_venue.haml b/app/views/conferences/_venue.haml
index fbdcde48..b280b741 100644
--- a/app/views/conferences/_venue.haml
+++ b/app/views/conferences/_venue.haml
@@ -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
diff --git a/app/views/conferences/index.html.haml b/app/views/conferences/index.html.haml
index 5517a292..720e1cdf 100644
--- a/app/views/conferences/index.html.haml
+++ b/app/views/conferences/index.html.haml
@@ -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
diff --git a/app/views/devise/registrations/_form_fields_openid.html.haml b/app/views/devise/registrations/_form_fields_openid.html.haml
index 187e4f19..1924dd68 100644
--- a/app/views/devise/registrations/_form_fields_openid.html.haml
+++ b/app/views/devise/registrations/_form_fields_openid.html.haml
@@ -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
diff --git a/app/views/devise/shared/_openid_links.html.haml b/app/views/devise/shared/_openid_links.html.haml
index 940db7de..9dcd51a6 100644
--- a/app/views/devise/shared/_openid_links.html.haml
+++ b/app/views/devise/shared/_openid_links.html.haml
@@ -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}"}
diff --git a/app/views/layouts/_admin_sidebar.html.haml b/app/views/layouts/_admin_sidebar.html.haml
index 78523bc7..f4c20006 100644
--- a/app/views/layouts/_admin_sidebar.html.haml
+++ b/app/views/layouts/_admin_sidebar.html.haml
@@ -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
diff --git a/app/views/layouts/_admin_sidebar_index.html.haml b/app/views/layouts/_admin_sidebar_index.html.haml
index 65735952..91001405 100644
--- a/app/views/layouts/_admin_sidebar_index.html.haml
+++ b/app/views/layouts/_admin_sidebar_index.html.haml
@@ -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
diff --git a/app/views/layouts/_navigation.html.haml b/app/views/layouts/_navigation.html.haml
index 338f4f0e..fb4a049e 100644
--- a/app/views/layouts/_navigation.html.haml
+++ b/app/views/layouts/_navigation.html.haml
@@ -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
diff --git a/app/views/layouts/_user_menu.html.haml b/app/views/layouts/_user_menu.html.haml
index 787c8eb2..887eee03 100644
--- a/app/views/layouts/_user_menu.html.haml
+++ b/app/views/layouts/_user_menu.html.haml
@@ -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
diff --git a/app/views/proposals/registrations.html.haml b/app/views/proposals/registrations.html.haml
index 441ac586..3d4ed6f8 100644
--- a/app/views/proposals/registrations.html.haml
+++ b/app/views/proposals/registrations.html.haml
@@ -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
diff --git a/app/views/proposals/show.html.haml b/app/views/proposals/show.html.haml
index a4f947fd..fa2e2f10 100644
--- a/app/views/proposals/show.html.haml
+++ b/app/views/proposals/show.html.haml
@@ -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
diff --git a/app/views/schedules/_carousel.html.haml b/app/views/schedules/_carousel.html.haml
index e67ca91c..785a0681 100644
--- a/app/views/schedules/_carousel.html.haml
+++ b/app/views/schedules/_carousel.html.haml
@@ -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
diff --git a/app/views/schedules/_event.html.haml b/app/views/schedules/_event.html.haml
index 99ced63b..25f4e1a0 100644
--- a/app/views/schedules/_event.html.haml
+++ b/app/views/schedules/_event.html.haml
@@ -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
diff --git a/app/views/schedules/events.html.haml b/app/views/schedules/events.html.haml
index 8680d3c3..b6e87e31 100644
--- a/app/views/schedules/events.html.haml
+++ b/app/views/schedules/events.html.haml
@@ -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
diff --git a/app/views/surveys/_list.html.haml b/app/views/surveys/_list.html.haml
index bba9b1c9..200fe7e9 100644
--- a/app/views/surveys/_list.html.haml
+++ b/app/views/surveys/_list.html.haml
@@ -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
diff --git a/app/views/surveys/show.html.haml b/app/views/surveys/show.html.haml
index d2104312..33729c9c 100644
--- a/app/views/surveys/show.html.haml
+++ b/app/views/surveys/show.html.haml
@@ -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
diff --git a/app/views/tickets/index.html.haml b/app/views/tickets/index.html.haml
index e157d75e..104cdce0 100644
--- a/app/views/tickets/index.html.haml
+++ b/app/views/tickets/index.html.haml
@@ -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'
diff --git a/app/views/tracks/index.html.haml b/app/views/tracks/index.html.haml
index 23310dc3..7e8f1aa8 100644
--- a/app/views/tracks/index.html.haml
+++ b/app/views/tracks/index.html.haml
@@ -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) }"}
diff --git a/spec/features/surveys_spec.rb b/spec/features/surveys_spec.rb
index 927c23fc..52f8b40d 100644
--- a/spec/features/surveys_spec.rb
+++ b/spec/features/surveys_spec.rb
@@ -41,7 +41,7 @@ feature Survey do
create :boolean_mandatory, survey: survey
visit conference_conference_registration_path(conference)
- expect(find(:link, survey.title).sibling('.fa')[:title]).to eq('Please fill out the survey')
+ expect(find(:link, survey.title).sibling('.fa-solid')[:title]).to eq('Please fill out the survey')
click_link survey.title
choose 'Yes'
@@ -49,7 +49,7 @@ feature Survey do
expect(flash).to eq('Successfully responded to survey.')
visit conference_conference_registration_path(conference)
- expect(find(:link, survey.title).sibling('.fa')[:title]).to eq('Thank you for filling out the survey')
+ expect(find(:link, survey.title).sibling('.fa-solid')[:title]).to eq('Thank you for filling out the survey')
end
end
end