a bit more backend work on things

This commit is contained in:
friendica
2013-12-28 17:04:23 -08:00
parent aacd3164fa
commit 22f614feba
3 changed files with 84 additions and 32 deletions

13
view/tpl/list_things.tpl Normal file
View File

@@ -0,0 +1,13 @@
{{if $things}}
{{foreach $things as $key => $items}}
<b>{{$items.profile}} {{$key}}</b>
<ul class="profile-thing-list">
{{foreach $items as $item}}
<li>{{if $item.img}}<img src="{{$item.img}}" width="100" height="100" alt="{{$item.term}}" />{{/if}}
<a href="{{$item.url}}" >{{$item.term}}</a>
</li>
{{/foreach}}
</ul>
<div class="clear"></div>
{{/foreach}}
{{/if}}