Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
community
pount
pount-front
Commits
bc958233
Commit
bc958233
authored
Sep 28, 2021
by
Jean Rabreau
Browse files
💄
use embed thumbnails in public views
parent
43a6020c
Changes
2
Show whitespace changes
Inline
Side-by-side
src/views/home.vue
View file @
bc958233
...
...
@@ -339,7 +339,7 @@ export default {
title
:
this
.
textTruncate
(
project
.
name
,
50
),
subtitle
:
`
${
this
.
$t
(
'
project.subtitles.managers
'
,
{
managers
,
label
:
this
.
$tc
(
'
project.managers
'
,
project
.
managers
.
length
)
})}
`
,
description
:
this
.
textTruncate
(
this
.
stripHtml
(
project
.
description
),
150
),
thumbnail
:
project
.
thumbnails
.
m
,
thumbnail
:
project
.
thumbnails
.
embed
,
to
:
{
name
:
'
projectPublic
'
,
params
:
{
projectId
:
project
.
id
}
},
}
});
...
...
src/views/projects/ProjectPublic.vue
View file @
bc958233
...
...
@@ -85,7 +85,7 @@ export default {
id
:
set
.
id
,
title
:
this
.
textTruncate
(
set
.
title
,
50
),
description
:
this
.
textTruncate
(
this
.
stripHtml
(
set
.
description
),
150
),
thumbnail
:
set
.
thumbnails
.
m
,
thumbnail
:
set
.
thumbnails
.
embed
,
to
:
{
name
:
'
setPublic
'
,
params
:
{
setId
:
set
.
id
}
},
}));
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment