Commit 8d2ff36e authored by Liam's avatar Liam

Bug #1711968: HTML export doesn't show icons on file browser page

behatnotneeded

Change-Id: Id1fef94f4a0a2e466201bf4ad69a63c38fbb7b50
parent 87e8185c
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</tr> </tr>
{if $folder != '/'} {if $folder != '/'}
<tr class="{cycle values='r0,r1'}"> <tr class="{cycle values='r0,r1'}">
<td><img src="{$rootpath}static/file/theme/raw/static/images/folder.png" alt="{str tag=Folder section=artefact.file}"></td> <td><span class="icon icon-folder"></span></td>
<td><a href="../index.html">{str tag=parentfolder section=artefact.file}</a></td> <td><a href="../index.html">{str tag=parentfolder section=artefact.file}</a></td>
<td>{str tag=parentfolder section=artefact.file}</td> <td>{str tag=parentfolder section=artefact.file}</td>
<td></td> <td></td>
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
{/if} {/if}
{foreach from=$folders item=folder} {foreach from=$folders item=folder}
<tr class="{cycle values='r0,r1'}"> <tr class="{cycle values='r0,r1'}">
<td><img src="{$rootpath}static/file/theme/raw/static/images/folder.png" alt="{str tag=Folder section=artefact.file}"></td> <td><span class="icon icon-folder"></span></td>
<td><a href="{$folder.path|rawurlencode|safe}/index.html">{$folder.title}</a></td> <td><a href="{$folder.path|rawurlencode|safe}/index.html">{$folder.title}</a></td>
<td>{$folder.description}</td> <td>{$folder.description}</td>
<td>{$folder.size}</td> <td>{$folder.size}</td>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
{/foreach} {/foreach}
{foreach from=$files item=file} {foreach from=$files item=file}
<tr class="{cycle values='r0,r1'}"> <tr class="{cycle values='r0,r1'}">
<td><img src="{$rootpath}static/file/theme/raw/static/images/file.png" alt="{str tag=File section=artefact.file}"></td> <td><span class="icon icon-file"></span></td>
<td><a href="{$file.path|rawurlencode|safe}">{$file.title}</a></td> <td><a href="{$file.path|rawurlencode|safe}">{$file.title}</a></td>
<td>{$file.description}</td> <td>{$file.description}</td>
<td>{$file.size}</td> <td>{$file.size}</td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment