Commit 0fa4c2f5 authored by Liam's avatar Liam Committed by Robert Lyon

Bug #1783153: Display tags in the file browser table under "Files"

behatnotneeded

Change-Id: I74eab51bc171629e9c9e59bde772c6ef3831b76b
parent f127f134
......@@ -73,6 +73,7 @@ $string['deletingfailed'] = 'Deleting failed: the file or folder does not exist
$string['deletefile?'] = 'Are you sure you want to delete this file?';
$string['deletefolder?'] = 'Are you sure you want to delete this folder?';
$string['Description'] = 'Description';
$string['Descriptionandtags'] = 'Description / Tags';
$string['destination'] = 'Destination';
$string['Details'] = 'Details';
$string['View'] = 'View';
......
......@@ -814,6 +814,7 @@ abstract class ArtefactTypeFileBase extends ArtefactType {
'createfolder' => $editfilesfolders,
'edit' => $editfilesfolders,
'select' => false,
'tag' => true,
),
),
),
......
......@@ -5,25 +5,21 @@
<tr>
<th class="icon-cell"></th>
<th>{str tag=Name section=artefact.file}</th>
<th class="d-none d-md-block">{str tag=Description section=artefact.file}</th>
<th class="d-none d-md-block">{str tag=Descriptionandtags section=artefact.file}</th>
<th class="filesize">
{str tag=Size section=artefact.file}
</th>
{if !$showtags && !$editmeta}
{if !$selectable}
<th class="filedate">
{str tag=Date section=artefact.file}
</th>
{/if}
{if !$selectable}
<th class="right nowrap">
</th>
{if $editmeta || $selectable}
<th class="right nowrap"></th>
{/if}
{if ($showtags && $editmeta) || $selectable}
{if $editable && !$file->isparent}
<th class="right nowrap"></th>
{/if}
<!--{if $editable}
<th></th>
{/if}-->
</tr>
</thead>
......@@ -103,11 +99,8 @@
{/if}
</td>
{if $showtags && $editmeta}
<td class="filesize">{if $file->foldersize}{$file->foldersize}{elseif $file->size}{$file->size}{/if}</td>
{/if}
{if !$showtags && !$editmeta}
<td class="filesize">{if $file->foldersize}{$file->foldersize}{elseif $file->size}{$file->size}{/if}</td>
{if !$selectable}
<td class="filedate">{tif $file->mtime ?: ''}</td>
{/if}
{if $editmeta || $selectable}
......
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