Skip to content

Commit

Permalink
Add 下载 Button
Browse files Browse the repository at this point in the history
  • Loading branch information
leeight committed May 31, 2015
1 parent 113de56 commit ffdeaf7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/browser/demo/src/tpl/list-objects.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
<!-- for: ${contents} as ${row} -->
<tr>
<td><a target="_blank" href="/v1/${name}/${row.key}">${row.key}</a></td>
<td><i class="fa fa-trash-o" title="删除" data-bucket="${name}" data-key="${row.key}"></i></td>
<td>
<i class="fa fa-trash-o" title="删除" data-bucket="${name}" data-key="${row.key}"></i>
<a class="fa" href="/v1/${name}/${row.key}?responseContentDisposition=attachment"><i class="fa fa-download" title="下载"></i></a>
</td>
<td>文件</td>
<td>${*row.size|filesize}</td>
<td>${row.lastModified|relativeTime}</td>
Expand Down

0 comments on commit ffdeaf7

Please sign in to comment.