content.tpl 1.17 KB
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
2
{$text|clean_html|safe}
{if isset($attachments)}
Pat Kira's avatar
Pat Kira committed
3
<table class="attachments fullwidth table table-striped">
Naomi Guyer's avatar
Naomi Guyer committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  <thead class="expandable-head">
    <tr>
        <td colspan="2">
            <a class="toggle" href="#">{str tag=attachedfiles section=artefact.blog}</a>
            <span class="fr"><img class="fl" src="{theme_url filename='images/attachment.png'}" alt="{str tag=Attachments section=artefact.resume}">&nbsp;{$count}</span>
        </td>
    </tr>
  </thead>
  <tbody class="expandable-body">
    {foreach from=$attachments item=item}
    <tr class="{cycle values='r0,r1'}">
      <td class="icon-container"><img src="{$item->iconpath}" alt=""></td>
      <td>
        <h3 class="title"><a href="{$item->viewpath}">{$item->title}</a> <span class="description">({$item->size}) - <a href="{$item->downloadpath}">{str tag=Download section=artefact.file}</a></span></h3>
        <div class="detail">{$item->description}</div>
      </td>
    </tr>
    {/foreach}
  </tbody>
</table>
{if $artefact->get('tags')}<div class="tags">{str tag=tags}: {list_tags owner=$artefact->get('owner') tags=$artefact->get('tags')}</div>{/if}
{/if}
{if $commentcount || $commentcount === 0}
{$comments|safe}
{/if}