mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(link) add title
This commit is contained in:
parent
32b47b9966
commit
102ec0731a
3 changed files with 13 additions and 13 deletions
|
|
@ -40,8 +40,7 @@ var Util;
|
|||
var Entities = {
|
||||
' ': ' ',
|
||||
'<' : '<',
|
||||
'>' : '>',
|
||||
'&' : '&'
|
||||
'>' : '>'
|
||||
};
|
||||
|
||||
this.encode = function(str) {
|
||||
|
|
@ -218,6 +217,7 @@ var Util;
|
|||
|
||||
linkResult = render(template.link, {
|
||||
link : link,
|
||||
title : '..',
|
||||
name : '..'
|
||||
});
|
||||
|
||||
|
|
@ -256,6 +256,7 @@ var Util;
|
|||
|
||||
linkResult = render(templateLink, {
|
||||
link : link,
|
||||
title : file.name,
|
||||
name : Entity.encode(file.name),
|
||||
attribute : attribute
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue