SourceLink.handlebars 454 B

12345678910
  1. {{#if settings.source_course_name}}
  2. <span><a href="{{settings.source_course_html_url}}" data-tooltip title="{{escape_html settings.source_course_name}}">{{truncate settings.source_course_name 25}}</a></span>
  3. {{else}}
  4. {{#if attachment}}
  5. <span><a href="{{attachment.url}}" data-tooltip title="{{attachment.filename}}">{{truncate_left attachment.filename 25}}</a></span>
  6. {{else}}
  7. <span>{{#t}}file not available{{/t}}</span>
  8. {{/if}}
  9. {{/if}}