Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lb_related_articles_blocks
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
lb_related_articles_blocks
Commits
59336417
Commit
59336417
authored
1 year ago
by
Davyd Burianuvatyi
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3343373
: Fix template on mobile && change label option in select "article type"
parent
7cdc0861
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!5
Issue #3343373: Fix template on mobile && change label option in select "article type"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lb_related_articles_blocks.module
+1
-0
1 addition, 0 deletions
lb_related_articles_blocks.module
templates/block--lb-related-articles.html.twig
+1
-1
1 addition, 1 deletion
templates/block--lb-related-articles.html.twig
with
2 additions
and
1 deletion
lb_related_articles_blocks.module
+
1
−
0
View file @
59336417
...
...
@@ -212,6 +212,7 @@ function _lb_related_articles_blocks_field_article_type_after_build($element, Fo
]],
],
];
$element
[
'#options'
][
'_none'
]
=
t
(
'- All -'
);
return
$element
;
}
/**
...
...
This diff is collapsed.
Click to expand it.
templates/block--lb-related-articles.html.twig
+
1
−
1
View file @
59336417
...
...
@@ -42,7 +42,7 @@
{%
if
block_content.field_section_title.value
%}
<div
class=
"section-description"
>
<div
class=
"container"
>
<div
class=
"row justify-content-between align-items-baseline"
>
<div
class=
"row
flex-sm-row flex-column
justify-content-between align-items-baseline"
>
<h3>
{{
block_content.field_section_title.value
}}
</h3>
{%
if
content.field_related_link
%}
<div
class=
"link"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment