Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[2375] Merge branch 'feature-2440-demo-homepage' into 'feature-2375-d…
…emo-theme' Conflicts: ckan/templates/snippets/facet_list_static.html
- Loading branch information
Showing
7 changed files
with
65 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,7 +130,7 @@ | |
} | ||
|
||
.hero .tags { | ||
margin-bottom: 15px; | ||
margin-bottom: 9px; | ||
} | ||
|
||
.hero .tags .tag, | ||
|
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
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,21 @@ | ||
{# | ||
Displays a list of packages in a grid. | ||
|
||
packages - A list of packages to display. | ||
list_class - The class name for the list item. | ||
item_class - The class name to use on each item. | ||
banner - If true displays a popular banner (default: false). | ||
truncate - The length to trucate the description to (default: 120). | ||
title_truncate - The length to truncate the title to (default: 40). | ||
|
||
Example: | ||
|
||
{% snippet 'snippets/package_grid.html', packages=c.datasets[:4] %} | ||
|
||
#} | ||
{% set list_class = list_class or 'media-grid media-wide' %} | ||
{% set item_class = item_class or 'media media-vertical module' %} | ||
{% set truncate = truncate or 120 %} | ||
{% set truncate_title = truncate_title or 40 %} | ||
|
||
{% snippet 'snippets/package_list.html', packages=packages, list_class=list_class, item_class=item_class, truncate=truncate, truncate_title=truncate_title, hide_resources=true, banner=true %} |
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