Commit 23060b2f authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Replace "parent folder" text in file browser with an up arrow (bug #889975)



Change-Id: Ica2d2736db0a0ed4f5ed635ecc1a45ecb84984e9
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 26cdc28f
......@@ -25,18 +25,20 @@
{if !$publishing || !$file->permissions || $file->can_republish}{assign var=publishable value=1}{else}{assign var=publishable value=0}{/if}
<tr id="file:{$file->id}" class="{cycle values='r0,r1'} directory-item{if $file->isparent} parentfolder{/if}{if $file->artefacttype == 'folder'} folder{elseif $file->artefacttype == 'profileicon'} profileicon{/if}{if $highlight && $highlight == $file->id} highlight-file{/if}{if $edit == $file->id} hidden{/if}{if !$publishable && $file->artefacttype != 'folder'} disabled{/if}" {if !$publishable && $file->artefacttype != 'folder'} title="{str tag=notpublishable section=artefact.file}"{/if}>
<td class="filethumb">
{if !$file->isparent}
{if $editable}
<div{if !$file->isparent} class="icon-drag" id="drag:{$file->id}"{/if}>
<img src="{$file->icon}"{if !$file->isparent} title="{str tag=clickanddragtomovefile section=artefact.file arg1=$file->title}"{/if}>
<div class="icon-drag" id="drag:{$file->id}">
<img src="{$file->icon}" title="{str tag=clickanddragtomovefile section=artefact.file arg1=$file->title}">
</div>
{else}
<img src="{$file->icon}">
{/if}
{/if}
</td>
<td class="filename">
{assign var=displaytitle value=$file->title|str_shorten_text:34|safe}
{if $file->artefacttype == 'folder'}
<a href="{$querybase}folder={$file->id}{if $owner}&owner={$owner}{if $ownerid}&ownerid={$ownerid}{/if}{/if}" class="changefolder" title="{str tag=gotofolder section=artefact.file arg1=$displaytitle}">{$displaytitle}</a>
<a href="{$querybase}folder={$file->id}{if $owner}&owner={$owner}{if $ownerid}&ownerid={$ownerid}{/if}{/if}" class="changefolder" title="{str tag=gotofolder section=artefact.file arg1=$displaytitle}">{if !$file->isparent}{$displaytitle}{/if}</a>
{elseif !$publishable}
{$displaytitle}
{else}
......
......@@ -145,6 +145,11 @@ tr.parentfolder td {
background-color: #ddd !important;
font-style: italic;
}
tr.parentfolder td.filename a.changefolder {
height: 16px;
display: block;
background: url(../images/parentfolder.png) no-repeat left top;
}
/* new row */
.filelist tr.highlight-file td {
background-color: #fffcd8 !important;
......
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