Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
111b293
)
MDL-68898 core_contentbank: add link attribute to contentbank items
author
Bas Brands
<bas@moodle.com>
Tue, 2 Jun 2020 14:20:48 +0000
(16:20 +0200)
committer
Bas Brands
<bas@moodle.com>
Tue, 2 Jun 2020 14:20:48 +0000
(16:20 +0200)
- this will reveil the fullname of the item which is useful when
the name is truncated
contentbank/templates/bankcontent.mustache
patch
|
blob
|
blame
|
history
diff --git
a/contentbank/templates/bankcontent.mustache
b/contentbank/templates/bankcontent.mustache
index
020b905
..
294ac41
100644
(file)
--- a/
contentbank/templates/bankcontent.mustache
+++ b/
contentbank/templates/bankcontent.mustache
@@
-142,7
+142,7
@@
<div class="cb-thumbnail" role="img" aria-label="{{{ name }}}"
style="background-image: url('{{{ icon }}}');">
</div>
- <a href="{{{ link }}}" class="cb-link stretched-link">
+ <a href="{{{ link }}}" class="cb-link stretched-link"
title="{{{ name }}}"
>
<span class="cb-name word-break-all clamp-2" data-region="cb-content-name">
{{{ name }}}
</span>