mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Add noicon option to vfsPath
This commit is contained in:
parent
bdf0b6c287
commit
8ee2e719de
@ -265,6 +265,14 @@ et2_register_widget(et2_vfsName, ["vfs-name"]);
|
||||
*/
|
||||
var et2_vfsPath = (function(){ "use strict"; return et2_vfsName.extend(
|
||||
{
|
||||
attributes: {
|
||||
noicon: {
|
||||
type: "boolean",
|
||||
description: "suppress folder icons",
|
||||
default: true
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
@ -365,7 +373,7 @@ var et2_vfsPath = (function(){ "use strict"; return et2_vfsName.extend(
|
||||
e.data.egw.open({path: egw.encodePath(e.data.data), type:'httpd/unix-directory'}, "file");
|
||||
})
|
||||
.prependTo(this.span);
|
||||
if(image)
|
||||
if(image && !this.options.noicon)
|
||||
{
|
||||
node.prepend(this.egw().image_element(image));
|
||||
}
|
||||
|
@ -923,6 +923,12 @@ li.vfsPath.et2_clickable:last-child:hover {
|
||||
li.vfsPath.et2_clickable:first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
li.vfsPath.et2_clickable:last-child:before {
|
||||
content: '/';
|
||||
width: 5px;
|
||||
padding-left: 10px;
|
||||
padding-right: 2px;
|
||||
}
|
||||
li.vfsPath.et2_clickable:not(:first-child):after {
|
||||
content: ' ';
|
||||
background-image: url(images/egw_action/arrow_left.png);
|
||||
|
Loading…
Reference in New Issue
Block a user