Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
fedi-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pleroma
fedi-fe
Merge requests
!29
Media captions
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Media captions
media-captions
into
master
Overview
4
Commits
5
Pipelines
4
Changes
6
All threads resolved!
Hide all comments
Merged
Mary Pelletier
requested to merge
media-captions
into
master
4 years ago
Overview
4
Commits
5
Pipelines
4
Changes
6
All threads resolved!
Hide all comments
Expand
Closes
#45 (closed)
Edited
4 years ago
by
Patrick Collins
0
0
Merge request reports
Compare
master
version 3
41813576
4 years ago
version 2
fc90e138
4 years ago
version 1
e77bcbfa
4 years ago
master (base)
and
version 1
latest version
4357484e
5 commits,
4 years ago
version 3
41813576
4 commits,
4 years ago
version 2
fc90e138
3 commits,
4 years ago
version 1
e77bcbfa
2 commits,
4 years ago
6 files
+
103
−
44
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
app/components/attachment-gallery-modal/gallery.hbs
+
24
−
12
Options
@@ -7,19 +7,31 @@
<div
class=
"status-gallery__wrapper"
>
{{#
each
@attachments
as
|
attachment
|
}}
<div
class=
"status-gallery__slide"
data-test-selector=
"attachment-gallery-slide"
>
<MediaAttachment
@
isPreview=
{{
false
}}
@
attachment=
{{
attachment
}}
@
alt=
{{
attachment
.
description
}}
@
showVideoControls=
{{
true
}}
class=
{{
concat
"status-gallery__slide__"
attachment
.
type
}}
data-test-gallery-item=
{{
attachment
.
id
}}
/>
{{#if
(
eq
attachment
.
type
"image"
)
}}
<div
class=
"status-gallery__slide__preloader"
></div>
{{/if}}
<div
class=
"status-gallery__background"
>
<div
class=
"status-gallery__contents-wrapper"
>
<MediaAttachment
@
isPreview=
{{
false
}}
@
attachment=
{{
attachment
}}
@
alt=
{{
attachment
.
description
}}
@
showVideoControls=
{{
true
}}
class=
{{
concat
"status-gallery__slide__media--with-caption status-gallery__slide__"
attachment
.
type
}}
data-test-gallery-item=
{{
attachment
.
id
}}
/>
{{#if
(
eq
attachment
.
type
"image"
)
}}
<div
class=
"status-gallery__slide__preloader"
></div>
{{/if}}
<div
class=
"status-gallery__slide__caption"
>
<p>
image caption will go here
</p>
</div>
{{#if
(
not
(
or
subject
.
isDirectMessage
(
eq
subjectType
"chat-message"
)))
}}
<FeedItem::Actions
@
class=
"gallery-modal__status-actions status-actions--gallery-modal"
@
status=
{{
subject
}}
/>
{{/if}}
</div>
</div>
</div>
{{/
each
}}
</div>
</div>
Loading