aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/filestorage.tpl
blob: 0089f79184a5c01672b4f372e0df8797bf8279dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{if $files}}

	   <div class="generic-content-wrapper">
		{{if $limit}}{{$limitlabel}}{{$limit}}{{/if}} {{if $used}} {{$usedlabel}}{{$used}}{{/if}}


		{{foreach $files as $key => $items}} 
				{{foreach $items as $item}}
					<div class="files-list-item">
					<a href="{{$baseurl}}/{{$item.id}}/edit">{{$edit}}</a> |
					<a href="{{$baseurl}}/{{$item.id}}/delete">{{$delete}}</a> |
					[attachment]{{$item.download}},{{$item.rev}}[/attachment] |
					{{if ! $item.dir}}<a href="attach/{{$item.download}}">{{/if}}{{$item.title}}{{if ! $item.dir}}</a>{{/if}} | 
					{{$item.size}} bytes

</div>
				{{/foreach}}
		{{/foreach}}
	   </div>
	
	   <div class="clear"></div>

{{/if}}