Show more of the file name
Bug #1046750 reported by
Kristina Hoeppner
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
https:/
The file names are shortened too quickly when they are long and are not easily readable. A potential solution for showing more is proposed in the forum discussion, but maybe it can be made more flexible and depend on the width of the block?
Changed in mahara: | |
status: | New → Triaged |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
milestone: | 1.8rc1 → 1.8.0 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Kristina,
Just wondering if this might also be an approach to address the issue with filenames being displayed with video and other objects - https:/ /bugs.launchpad .net/mahara/ +bug/1034382
If the code suggested by Dirk could be tweaked with an 'if' statement that modified text($child- >title, 20); to text($child- >title, 0); if the object type was an embedded block rather than a linked file
$child->title = str_shorten_
$child->title = str_shorten_
Of course I could be wildly wrong as these are two different object types (file links and blocks) - but the principle might be similar?
Thanks, Gordon.