forked from EVOgeek/Vmeda.Online
MOBILE-3320 course: Improve link button icons in course page
This commit is contained in:
parent
ccd8f4829e
commit
bf5629e075
@ -78,7 +78,7 @@ export class AddonModLtiModuleHandlerService implements CoreCourseModuleHandler
|
|||||||
CoreNavigator.navigateToSitePath(AddonModLtiModuleHandlerService.PAGE_NAME + routeParams, options);
|
CoreNavigator.navigateToSitePath(AddonModLtiModuleHandlerService.PAGE_NAME + routeParams, options);
|
||||||
},
|
},
|
||||||
buttons: [{
|
buttons: [{
|
||||||
icon: 'link',
|
icon: 'fas-external-link-alt',
|
||||||
label: 'addon.mod_lti.launchactivity',
|
label: 'addon.mod_lti.launchactivity',
|
||||||
action: (event: Event, module: CoreCourseModule, courseId: number): void => {
|
action: (event: Event, module: CoreCourseModule, courseId: number): void => {
|
||||||
// Launch the LTI.
|
// Launch the LTI.
|
||||||
|
@ -107,7 +107,7 @@ export class AddonModUrlModuleHandlerService implements CoreCourseModuleHandler
|
|||||||
},
|
},
|
||||||
buttons: [{
|
buttons: [{
|
||||||
hidden: true, // Hide it until we calculate if it should be displayed or not.
|
hidden: true, // Hide it until we calculate if it should be displayed or not.
|
||||||
icon: 'link',
|
icon: 'fas-link',
|
||||||
label: 'core.openmodinbrowser',
|
label: 'core.openmodinbrowser',
|
||||||
action: (event: Event, module: CoreCourseModule, courseId: number): void => {
|
action: (event: Event, module: CoreCourseModule, courseId: number): void => {
|
||||||
openUrl(module, courseId);
|
openUrl(module, courseId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user