File tree Expand file tree Collapse file tree 7 files changed +34
-7
lines changed Expand file tree Collapse file tree 7 files changed +34
-7
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,24 @@ export function Breadcrumbs<T extends GenericContent>(props: BreadcrumbProps<T>)
52
52
) ) }
53
53
< CopyPath copyText = { props . items [ props . items . length - 1 ] . title } />
54
54
</ MUIBreadcrumbs >
55
+ < >
56
+ < b className = "ContentExtraInfo" >
57
+ < span title = "DisplayName" > { props . items [ props . items . length - 1 ] . content . DisplayName } </ span >
58
+ < span title = "ContentType" className = "ContentTypeSpan" >
59
+ (
60
+ < a
61
+ href = { `/content-types/explorer/edit-binary?content=%2FGenericContent%2FFolder%2F${
62
+ props . items [ props . items . length - 1 ] . content . Type
63
+ } `}
64
+ target = "_blank"
65
+ rel = "noreferrer" >
66
+ { props . items [ props . items . length - 1 ] . content . Type }
67
+ </ a >
68
+ )
69
+ </ span >
70
+ </ b >
71
+ </ >
72
+
55
73
{ contextMenuItem ? (
56
74
< ContentContextMenu
57
75
isOpened = { isContextMenuOpened }
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ const Dashboard = () => {
48
48
const [ data , setData ] = useState < DashboardData > ( )
49
49
const logger = useLogger ( 'Dashboard' )
50
50
const [ isAdmin , setIsAdmin ] = useState ( false )
51
-
52
51
useEffect ( ( ) => {
53
52
; ( async ( ) => {
54
53
const response = await repository . executeAction < any , DashboardData > ( {
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const useStyles = makeStyles((theme: Theme) => {
45
45
padding : '20px' ,
46
46
bottom : 0 ,
47
47
textAlign : 'right' ,
48
- right : '7 %' ,
48
+ right : '1 %' ,
49
49
} ,
50
50
} )
51
51
} )
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ const useStyles = makeStyles(() => {
42
42
padding : '20px' ,
43
43
bottom : 0 ,
44
44
textAlign : 'right' ,
45
- right : '7 %' ,
45
+ right : '1 %' ,
46
46
} ,
47
47
form : {
48
48
width : '100%' ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { globals } from '../../../globalStyles'
4
4
const useStyles = makeStyles ( ( ) => {
5
5
return createStyles ( {
6
6
grid : {
7
- padding : '14px 14px 0 14px ' ,
7
+ padding : '14px 14px 0 134px ' ,
8
8
overflowY : 'auto' ,
9
9
maxWidth : '100%' ,
10
10
maxHeight : `calc(100% - ${ globals . common . formActionButtonsHeight } px - ${ globals . common . formTitleHeight } px)` ,
@@ -15,7 +15,7 @@ const useStyles = makeStyles(() => {
15
15
position : 'absolute' ,
16
16
padding : '20px' ,
17
17
bottom : 0 ,
18
- right : '7 %' ,
18
+ right : '1 %' ,
19
19
} ,
20
20
} )
21
21
} )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const useStyles = makeStyles(() => {
22
22
padding : '20px' ,
23
23
bottom : 0 ,
24
24
textAlign : 'right' ,
25
- right : '7 %' ,
25
+ right : '1 %' ,
26
26
} ,
27
27
wopiWrapper : {
28
28
width : '100%' ,
Original file line number Diff line number Diff line change @@ -26,7 +26,17 @@ div[class*='makeStyles-actionButtonWrapper'] {
26
26
button .MuiButtonBase-root .MuiButton-root .MuiButton-contained .MuiButton-containedPrimary [type = 'submit' ] {
27
27
margin-left : 0px ;
28
28
}
29
-
29
+ .ContentExtraInfo {
30
+ position : absolute;
31
+ right : 15px ;
32
+ }
33
+ .ContentExtraInfo .ContentTypeSpan {
34
+ padding-left : 5px ;
35
+ padding-right : 5px ;
36
+ }
37
+ .ContentExtraInfo .ContentTypeSpan a {
38
+ color : # 0292db ;
39
+ }
30
40
/*.leftTree .MuiListItemIcon-root {
31
41
border-left: 2px dotted #ccc;
32
42
padding-left: 5px;
You can’t perform that action at this time.
0 commit comments