MOBILE-3120 lti: Display description if setting enabled

main
Albert Gasset 2019-09-06 16:34:03 +02:00
parent 62a6913f30
commit f441ce79f7
1 changed files with 2 additions and 2 deletions

View File

@ -11,9 +11,9 @@
<!-- Content. --> <!-- Content. -->
<core-loading [hideUntil]="loaded" class="core-loading-center"> <core-loading [hideUntil]="loaded" class="core-loading-center">
<core-course-module-description [description]="description" [component]="component" [componentId]="componentId"></core-course-module-description> <core-course-module-description *ngIf="lti && lti.showdescriptionlaunch" [description]="description" [component]="component" [componentId]="componentId"></core-course-module-description>
<div padding-horizontal> <div padding>
<button ion-button block icon-left (click)="launch()"> <button ion-button block icon-left (click)="launch()">
<ion-icon name="link"></ion-icon> <ion-icon name="link"></ion-icon>
{{ 'addon.mod_lti.launchactivity' | translate }} {{ 'addon.mod_lti.launchactivity' | translate }}