Commit cd4e3e19 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Move unzip link to the left of edit,delete buttons

parent fbedc264
...@@ -38,11 +38,11 @@ ...@@ -38,11 +38,11 @@
<td>{$file->description|escape}</td> <td>{$file->description|escape}</td>
<td>{$file->size}</td> <td>{$file->size}</td>
<td>{$file->mtime}</td> <td>{$file->mtime}</td>
<td> <td class="right">
{if $editable && !$file->isparent} {if $editable && !$file->isparent}
{if $file->artefacttype == 'archive'}<a href="{$WWWROOT}artefact/file/extract.php?file={$file->id}">{str tag=Unzip section=artefact.file}</a>{/if}
{if !isset($file->can_edit) || $file->can_edit !== 0}<input type="submit" class="submit btn-edit s" name="{$prefix}_edit[{$file->id}]" value="{str tag=edit}" /> {if !isset($file->can_edit) || $file->can_edit !== 0}<input type="submit" class="submit btn-edit s" name="{$prefix}_edit[{$file->id}]" value="{str tag=edit}" />
<input type="submit" class="submit btn-del s" name="{$prefix}_delete[{$file->id}]" value="{str tag=delete}" />{/if} <input type="submit" class="submit btn-del s" name="{$prefix}_delete[{$file->id}]" value="{str tag=delete}" />{/if}
{if $file->artefacttype == 'archive'}<a href="{$WWWROOT}artefact/file/extract.php?file={$file->id}">{str tag=Unzip section=artefact.file}</a>{/if}
{/if} {/if}
{if $selectable && $file->artefacttype != 'folder' && $publishable} {if $selectable && $file->artefacttype != 'folder' && $publishable}
<input type="submit" class="select small" name="{$prefix}_select[{$file->id}]" id="{$prefix}_select_{$file->id}" value="{str tag=select}" /> <input type="submit" class="select small" name="{$prefix}_select[{$file->id}]" id="{$prefix}_select_{$file->id}" value="{str tag=select}" />
......
Supports Markdown
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