Skip to content

Commit

Permalink
Replace FA4 icons with their FA5 equivalents
Browse files Browse the repository at this point in the history
  • Loading branch information
jrjohnson committed Mar 7, 2018
1 parent 5fc6816 commit 691a4ff
Show file tree
Hide file tree
Showing 58 changed files with 93 additions and 93 deletions.
4 changes: 2 additions & 2 deletions app/components/publication-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ export default Component.extend({
const isPublished = this.get('isPublished');
const isScheduled = this.get('isScheduled');
if (isScheduled) {
return 'clock-o';
return 'clock';
}
if (isPublished) {
return 'star';
}

return 'star-half-full';
return 'star-half';
}),
publicationStatus: computed('isPublished', 'isScheduled', function(){
const isPublished = this.get('isPublished');
Expand Down
4 changes: 2 additions & 2 deletions app/components/sortable-th.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ export default Component.extend({

if(sortedBy){
if(sortedAscending){
return sortType === 'numeric'?'sort-numeric-asc':'sort-alpha-asc';
return sortType === 'numeric'?'sort-numeric-up':'sort-alpha-up';
} else {
return sortType === 'numeric'?'sort-numeric-desc':'sort-alpha-desc';
return sortType === 'numeric'?'sort-numeric-down':'sort-alpha-down';
}
} else {
return 'sort';
Expand Down
2 changes: 1 addition & 1 deletion app/mixins/publishable.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default Mixin.create({
}),
menuIcon: computed('publishTarget.isPublished', 'publishTarget.publishedAsTbd', function(){
if(this.get('publishTarget.publishedAsTbd')){
return 'clock-o';
return 'clock';
}
if(this.get('publishTarget.isPublished')){
return 'star';
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/course-director-manager.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<ul>
{{#each (sort-by 'lastName' directors) as |user|}}
<li {{action 'removeDirector' user}}>
{{user.fullName}} {{fa-icon 'remove' class='remove'}}
{{user.fullName}} {{fa-icon 'times' class='remove'}}
</li>
{{/each}}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/course-sessions.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{{#if saveSession.lastSuccessful.value}}
<div class='save-result'>
{{#link-to 'session.index' course saveSession.lastSuccessful.value}}
{{fa-icon 'external-link-square'}} {{get saveSession.lastSuccessful.value 'title'}}
{{fa-icon 'external-link-square-alt'}} {{get saveSession.lastSuccessful.value 'title'}}
{{/link-to}}
{{t 'general.savedSuccessfully'}}
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class='title'>
{{#if isFinalized}}
<h2>{{fa-icon "lock"}} {{report.name}}</h2>
<h2>{{fa-icon 'lock'}} {{report.name}}</h2>
{{else}}
{{#editable-field
tagName='h2'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class='title'>
{{#if isFinalized}}
<h2>{{fa-icon "lock"}} {{sequenceBlock.title}}</h2>
<h2>{{fa-icon 'lock'}} {{sequenceBlock.title}}</h2>
{{else}}
{{#editable-field
tagName='h2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{{#if saved}}
<div class='saved-result'>
{{#link-to 'curriculumInventorySequenceBlock' savedBlock}}
{{fa-icon 'external-link-square'}} {{savedBlock.title}}
{{fa-icon 'external-link-square-alt'}} {{savedBlock.title}}
{{/link-to}}
{{t 'general.savedSuccessfully'}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/dashboard-mycourses.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{{#each (await listOfCourses) as |course|}}
{{#if (await canEditCourses)}}
<tr class='clickable'>
<td>{{#link-to 'course' course}}{{fa-icon 'external-link-square'}} {{course.academicYear}}{{/link-to}}</td>
<td>{{#link-to 'course' course}}{{fa-icon 'external-link-square-alt'}} {{course.academicYear}}{{/link-to}}</td>
<td>
{{#link-to 'course' course}}
{{course.title}}
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/detail-cohort-manager.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<li {{action 'remove' cohort}}>
{{cohort.programYear.program.school.title}} |
{{cohort.programYear.program.title}} |
{{cohort.title}} | {{fa-icon 'remove' class='remove'}}
{{cohort.title}} | {{fa-icon 'times' class='remove'}}
</li>
{{/each}}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/detail-learnergroups-list.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<li class='{{if (contains learnerGroup (await lowestLeaves)) "lowest-leaf"}} {{if isManaging "clickable"}}' onclick={{if isManaging (action remove learnerGroup)}}>
{{learnerGroup.title}} ({{count-related learnerGroup 'users'}})
{{#if isManaging}}
{{fa-icon 'remove' class='remove'}}
{{fa-icon 'times' class='remove'}}
{{/if}}
</li>
{{/each}}
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/detail-terms-list-item.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
<span class="inactive">({{t 'general.inactive'}})</span>
{{/if}}
{{#if canEdit}}
{{fa-icon 'remove' class='remove'}}
{{fa-icon 'times' class='remove'}}
{{/if}}
2 changes: 1 addition & 1 deletion app/templates/components/error-display.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="error-main">
{{#if isOffline}}
<h2>{{t 'general.connectionLost'}}</h2>
<p class='clear-errors'><button {{action 'refresh'}}>{{fa-icon 'refresh'}} {{t 'general.reconnectNow'}}</button></p>
<p class='clear-errors'><button {{action 'refresh'}}>{{fa-icon 'sync-alt'}} {{t 'general.reconnectNow'}}</button></p>
{{else if is404}}
{{not-found}}
{{else}}
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/ilios-navigation.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<li>{{#link-to 'dashboard'}}{{fa-icon 'home' fixedWidth=true title=(t 'general.dashboard')}}<span class='text'>{{t 'general.dashboard'}}</span>{{/link-to}}</li>
{{#if (get (await permissions) 'isFaculty')}}
<li>{{#link-to 'courses' title=(t 'general.coursesAndSessions')}}{{fa-icon 'book' fixedWidth=true}}<span class='text'>{{t 'general.coursesAndSessions'}}</span>{{/link-to}}</li>
<li>{{#link-to 'learnerGroups' title=(t 'general.learnerGroups')}}{{fa-icon 'mortar-board' fixedWidth=true}}<span class='text'>{{t 'general.learnerGroups'}}</span>{{/link-to}}</li>
<li>{{#link-to 'learnerGroups' title=(t 'general.learnerGroups')}}{{fa-icon 'graduation-cap' fixedWidth=true}}<span class='text'>{{t 'general.learnerGroups'}}</span>{{/link-to}}</li>
<li>{{#link-to 'instructorGroups' title=(t 'general.instructorGroups')}}{{fa-icon 'user-md' fixedWidth=true}}<span class='text'>{{t 'general.instructorGroups'}}</span>{{/link-to}}</li>
<li>{{#link-to 'schools' title=(t 'general.schools')}}{{fa-icon 'university' fixedWidth=true}}<span class='text'>{{t 'general.schools'}}</span>{{/link-to}}</li>
<li>{{#link-to 'programs' title=(t 'general.programs')}}{{fa-icon 'list-alt' fixedWidth=true}}<span class='text'>{{t 'general.programs'}}</span>{{/link-to}}</li>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/instructor-selection-manager.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ul data-test-instructor-groups>
{{#each (sort-by 'title' (await instructorGroups)) as |instructorGroup|}}
<li {{action 'removeInstructorGroup' instructorGroup}}>
{{fa-icon 'group'}} {{instructorGroup.title}} {{fa-icon 'times' class='remove'}}
{{fa-icon 'users'}} {{instructorGroup.title}} {{fa-icon 'times' class='remove'}}
</li>
{{/each}}
</ul>
Expand Down
4 changes: 2 additions & 2 deletions app/templates/components/instructorgroup-details.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div>
<ul class='instructorgroup-users'>
{{#each (sort-by 'lastName' 'firstName' (await instructorGroup.users)) as |user|}}
<li {{action 'removeUser' user}}>{{user.fullName}}{{fa-icon 'remove' class='remove'}}</li>
<li {{action 'removeUser' user}}>{{user.fullName}}{{fa-icon 'times' class='remove'}}</li>
{{/each}}
</ul>
</div>
Expand All @@ -28,7 +28,7 @@
{{#if (is-fulfilled instructorGroup.courses)}}
<ul>
{{#each (sort-by 'title' (await instructorGroup.courses)) as |course|}}
<li>{{#link-to 'course' course}}{{fa-icon 'external-link-square'}} {{course.title}}{{/link-to}}</li>
<li>{{#link-to 'course' course}}{{fa-icon 'external-link-square-alt'}} {{course.title}}{{/link-to}}</li>
{{else}}
{{t 'general.none'}}
{{/each}}
Expand Down
4 changes: 2 additions & 2 deletions app/templates/components/leadership-manager.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<td class='text-top'>
<ul>
{{#each (sort-by 'lastName' 'firstName' directors) as |user|}}
<li>{{fa-icon 'remove' class='clickable remove' click=(action removeDirector user)}} {{user.fullName}}</li>
<li>{{fa-icon 'times' class='clickable remove' click=(action removeDirector user)}} {{user.fullName}}</li>
{{else}}
{{t 'general.none'}}
{{/each}}
Expand All @@ -19,7 +19,7 @@
<td class='text-top'>
<ul>
{{#each (sort-by 'lastName' 'firstName' administrators) as |user|}}
<li>{{fa-icon 'remove' class='clickable remove' click=(action removeAdministrator user)}} {{user.fullName}}</li>
<li>{{fa-icon 'times' class='clickable remove' click=(action removeAdministrator user)}} {{user.fullName}}</li>
{{else}}
{{t 'general.none'}}
{{/each}}
Expand Down
4 changes: 2 additions & 2 deletions app/templates/components/learnergroup-instructor-manager.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<ul class='removable-list tag-list'>
{{#each (sort-by 'lastName' instructors) as |user|}}
<li {{action 'removeInstructor' user}}>
{{user.fullName}} | {{fa-icon 'remove'}}
{{user.fullName}} | {{fa-icon 'times'}}
</li>
{{/each}}
{{#each (sort-by 'title' instructorGroups) as |instructorGroup|}}
<li {{action 'removeInstructorGroup' instructorGroup}}>
{{instructorGroup.title}} | {{fa-icon 'remove'}}
{{instructorGroup.title}} | {{fa-icon 'times'}}
</li>
{{/each}}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/learnergroup-subgroup-list.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{{#if saved}}
<div class='saved-result'>
{{#link-to 'learnerGroup' savedGroup}}
{{fa-icon 'external-link-square'}} {{savedGroup.title}}
{{fa-icon 'external-link-square-alt'}} {{savedGroup.title}}
{{/link-to}}
{{t 'general.savedSuccessfully'}}
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{value}}
{{#if (or row.startDate row.endDate)}}
{{fa-icon 'clock-o' title=(t 'general.timedRelease')}}
{{fa-icon 'clock' title=(t 'general.timedRelease')}}
{{/if}}
4 changes: 2 additions & 2 deletions app/templates/components/learning-materials-sort-manager.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
isSortable=true
sortingScope="sortingGroup"
}}
{{fa-icon 'arrows'}}
{{fa-icon 'arrows-alt'}}
<span class="draggable-object-content">
<span class="title">
{{lm-type-icon type=(get (await item.learningMaterial) 'type') mimetype=(get (await item.learningMaterial) 'mimetype')}}
Expand All @@ -32,4 +32,4 @@
{{/each}}
{{/sortable-objects}}
</div>
{{/unless}}
{{/unless}}
2 changes: 1 addition & 1 deletion app/templates/components/mesh-manager.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{/if}}
{{/if}}
</span>
{{fa-icon 'remove' class='remove'}}
{{fa-icon 'times' class='remove'}}
</li>
{{/each}}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/my-materials.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<td colspan="3">{{lmObject.courseTitle}}</td>
<td colspan="3">
{{#if lmObject.isBlanked}}
<span class="lm-type-icon">{{fa-icon 'clock-o' title=(t 'general.timedRelease')}}</span>
<span class="lm-type-icon">{{fa-icon 'clock' title=(t 'general.timedRelease')}}</span>
{{lmObject.title}}
<span class="timed-release-info">
({{timed-release-schedule startDate=lmObject.startDate endDate=lmObject.endDate}})
Expand Down
4 changes: 2 additions & 2 deletions app/templates/components/myreports-list-item.hbs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{{#unless loadTitle.isRunning}}
{{#if reporttitle}}
<span {{action 'selectReport' report}} class='link clickable'>
{{fa-icon 'external-link-square'}}
{{fa-icon 'external-link-square-alt'}}
{{reporttitle}}
</span>
{{else}}
<span>{{t 'general.thisReportIsNoLongerAvailable'}}</span>
{{/if}}
{{/unless}}
{{/unless}}
2 changes: 1 addition & 1 deletion app/templates/components/new-directory-user.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<tr>
<td class='text-right' colspan=1>
{{#if user.user}}
{{fa-icon 'sun-o' class='warning clickable' click=(action attrs.transitionToUser user.user) title=(t 'general.goToUser')}}
{{fa-icon 'sun' class='warning clickable' click=(action attrs.transitionToUser user.user) title=(t 'general.goToUser')}}
{{else}}
{{#if user.addable}}
{{fa-icon 'plus' class='yes clickable' click=(action 'pickUser' user) title=(t 'general.addNew')}}
Expand Down
4 changes: 2 additions & 2 deletions app/templates/components/new-myreport.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
{{#if (is-equal currentPrepositionalObject 'instructor')}}
{{#if selectedUser}}
<ul class='removable-list tag-list'>
<li {{action 'changePrepositionalObjectId' null}}>{{selectedUser.fullName}} {{fa-icon 'remove'}}</li>
<li {{action 'changePrepositionalObjectId' null}}>{{selectedUser.fullName}} {{fa-icon 'times'}}</li>
</ul>
{{else}}
{{user-search
Expand All @@ -88,7 +88,7 @@
{{/if}}
</span>
</div>
{{fa-icon 'remove'}}
{{fa-icon 'times'}}
</li>
</ul>
{{else}}
Expand Down
4 changes: 2 additions & 2 deletions app/templates/components/objective-sort-manager.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
isSortable=true
sortingScope="sortingGroup"
}}
{{fa-icon 'arrows'}}
{{fa-icon 'arrows-alt'}}
<span class="draggable-object-content">
<span>{{big-text text=item.title}}</span>
</span>
{{/draggable-object}}
{{/each}}
{{/sortable-objects}}
</div>
{{/unless}}
{{/unless}}
2 changes: 1 addition & 1 deletion app/templates/components/offering-manager.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{{/if}}
</li>
{{else}}
<li>{{fa-icon 'group'}}</li>
<li>{{fa-icon 'users'}}</li>
{{/each}}
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/pending-updates-summary.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h3>
{{#if (gt (get (await updates) 'length') 1)}}
{{fa-icon 'warning' class='no'}}
{{fa-icon 'exclamation-triangle' class='no'}}
{{/if}}
{{t 'general.pendingUpdatesSummaryTitle'}}
</h3>
Expand Down
12 changes: 6 additions & 6 deletions app/templates/components/programyear-list.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{#if saved}}
<div class='saved-result'>
{{#link-to 'programYear.index' program savedProgramYear}}
{{fa-icon 'external-link-square'}} {{savedProgramYear.academicYear}}
{{fa-icon 'external-link-square-alt'}} {{savedProgramYear.academicYear}}
{{/link-to}}
{{t 'general.savedSuccessfully'}}
</div>
Expand All @@ -39,7 +39,7 @@
<tr class="{{if programYearProxy.showRemoveConfirmation 'confirm-removal'}}">
<td class='text-left'>
{{#link-to 'programYear.index' program programYearProxy.content}}
{{fa-icon 'external-link-square'}} {{programYearProxy.academicYear}}
{{fa-icon 'external-link-square-alt'}} {{programYearProxy.academicYear}}
{{/link-to}}
</td>
<td class='text-left hide-from-small-screen'>
Expand All @@ -54,28 +54,28 @@
{{#if programYearProxy.competencies.length}}
{{programYearProxy.competencies.length}}
{{else}}
{{fa-icon 'warning' class='warning'}}
{{fa-icon 'exclamation-triangle' class='warning'}}
{{/if}}
</td>
<td class='text-left hide-from-small-screen'>
{{#if programYearProxy.objectives.length}}
{{programYearProxy.objectives.length}}
{{else}}
{{fa-icon 'warning' class='warning'}}
{{fa-icon 'exclamation-triangle' class='warning'}}
{{/if}}
</td>
<td class='text-left hide-from-small-screen'>
{{#if programYearProxy.directors.length}}
{{programYearProxy.directors.length}}
{{else}}
{{fa-icon 'warning' class='warning'}}
{{fa-icon 'exclamation-triangle' class='warning'}}
{{/if}}
</td>
<td class='text-left hide-from-small-screen'>
{{#if programYearProxy.terms.length}}
{{programYearProxy.terms.length}}
{{else}}
{{fa-icon 'warning' class='warning'}}
{{fa-icon 'exclamation-triangle' class='warning'}}
{{/if}}
</td>

Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/programyear-overview.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{#if editable}}
<ul class='removable-directors'>
{{#each sortedDirectors as |user|}}
<li {{action 'removeDirector' user}}>{{user.fullName}}{{fa-icon 'remove' class='remove'}}</li>
<li {{action 'removeDirector' user}}>{{user.fullName}}{{fa-icon 'times' class='remove'}}</li>
{{/each}}
</ul>
{{else}}
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/school-list.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{{#each newSchools as |school|}}
<div class='savedschool'>
{{#link-to 'school' school}}
{{fa-icon 'external-link-square'}} {{school.title}}
{{fa-icon 'external-link-square-alt'}} {{school.title}}
{{/link-to}}
{{t 'general.savedSuccessfully'}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/school-vocabularies-list.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
{{#if newVocabulary}}
<div class='savedvocabulary'>
<span class='clickable link' {{action manageVocabulary newVocabulary.id}}>
{{fa-icon 'external-link-square'}} {{newVocabulary.title}}
{{fa-icon 'external-link-square-alt'}} {{newVocabulary.title}}
</span>
{{t 'general.savedSuccessfully'}}
</div>
Expand Down
Loading

0 comments on commit 691a4ff

Please sign in to comment.