Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (2)
(fix): show title for images, don't show it for blogs, in media modal
· 0dbcb904
Marcelo Rivera
authored
Sep 12, 2019
0dbcb904
(fix): moved *ngIf after class definition
· dee7455b
Marcelo Rivera
authored
Sep 12, 2019
dee7455b
Hide whitespace changes
Inline
Side-by-side
src/app/modules/media/modal/modal.component.ts
View file @
dee7455b
...
...
@@ -155,11 +155,11 @@ export class MediaModalComponent implements OnInit, OnDestroy {
case
'
image
'
:
this
.
contentType
=
'
image
'
;
this
.
thumbnail
=
`
${
this
.
minds
.
cdn_url
}
fs/v1/thumbnail/
${
this
.
entity
.
guid
}
/xlarge`
;
this
.
title
=
this
.
entity
.
title
;
this
.
entity
.
entity_guid
=
this
.
entity
.
guid
;
break
;
case
'
blog
'
:
this
.
contentType
=
'
blog
'
;
this
.
title
=
this
.
entity
.
title
;
this
.
entity
.
entity_guid
=
this
.
entity
.
guid
;
}
break
;
...
...
src/app/modules/pro/channel/channel.component.html
View file @
dee7455b
<div
*ngIf=
"channel"
class=
"m-pro--
channel"
>
<div
class=
"m-pro--channel"
*ngIf=
"
channel"
>
<div
class=
"m-proChannel__topbar"
>
<img
class=
"m-proChannelTopbar__logo"
...
...