← Back to team overview

mahara-contributors team mailing list archive

[Bug 1046750] Re: Show more of the file name

 

I am adding to change in another file also. In /artefact/file/blocktype/filedownload/theme/raw/filedonload.tpl we have a similar issue. 
Changing 
<h4><a href="{$file.downloadurl}" target="_blank">{$file.title|str_shorten_text:20}</a></h4>
to 
<h4><a href="{$file.downloadurl}" target="_blank">{$file.title|str_shorten_text:64}</a></h4>

does a nice job showing the full file name,
Thnaks

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1046750

Title:
  Show more of the file name

Status in Mahara ePortfolio:
  Triaged

Bug description:
  https://mahara.org/interaction/forum/topic.php?id=4841

  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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1046750/+subscriptions


References