Skip to content

Commit

Permalink
MDL-58464 block_myoverview: remove additional placeholder in timeline
Browse files Browse the repository at this point in the history
Remove the additional placeholder image when the user is not enrolled in
any courses from the sort by courses view in the timeline because there
is already a check for no in progress courses.
  • Loading branch information
ryanwyllie committed Apr 18, 2017
1 parent 762550d commit 1036b86
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions blocks/myoverview/templates/timeline-view-courses.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@
<p class="text-muted m-t-1">{{#str}} nocoursesinprogress, block_myoverview {{/str}}</p>
</div>
{{/inprogress}}
{{^hascourses}}
<div class="text-xs-center text-center m-t-3">
<img class="empty-placeholder-image-lg"
src="{{urls.noevents}}"
alt="{{#str}} nocoursesinprogress, block_myoverview {{/str}}">
<p class="text-muted m-t-1">{{#str}} nocoursesinprogress, block_myoverview {{/str}}</p>
</div>
{{/hascourses}}
{{/coursesview}}
</div>
{{#js}}
Expand Down

0 comments on commit 1036b86

Please sign in to comment.