This repository has been archived by the owner on Jun 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from Pronovix/issue/8199
Importing bootstrap.min.js, fixing responsive problems in views
- Loading branch information
Showing
4 changed files
with
39 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
web/themes/custom/subtheme_videogame/templates/views/views-view-unformatted.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{# | ||
/** | ||
* @file | ||
* Theme override to display a view of unformatted rows. | ||
* | ||
* Available variables: | ||
* - title: The title of this group of rows. May be empty. | ||
* - rows: A list of the view's row items. | ||
* - attributes: The row's HTML attributes. | ||
* - content: The row's content. | ||
* - view: The view object. | ||
* - default_row_class: A flag indicating whether default classes should be | ||
* used on rows. | ||
* | ||
* @see template_preprocess_views_view_unformatted() | ||
*/ | ||
#} | ||
{% if title %} | ||
<h3>{{ title }}</h3> | ||
{% endif %} | ||
<div class="row"> | ||
{% for row in rows %} | ||
{% | ||
set row_classes = [ | ||
default_row_class ? 'views-row', | ||
] | ||
%} | ||
<div{{ row.attributes.addClass(row_classes) }}> | ||
{{- row.content -}} | ||
</div> | ||
{% endfor %} | ||
</div> |