From baca89a1f0774de40978adeae51eb4b4f20b4e3e Mon Sep 17 00:00:00 2001 From: Aron Carroll Date: Thu, 9 Aug 2012 17:38:06 +0100 Subject: [PATCH] [#2801] Add an ajax snippet for loading a related item --- ckan/templates/ajax_snippets/related-item.html | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 ckan/templates/ajax_snippets/related-item.html diff --git a/ckan/templates/ajax_snippets/related-item.html b/ckan/templates/ajax_snippets/related-item.html new file mode 100644 index 00000000000..59098dfca25 --- /dev/null +++ b/ckan/templates/ajax_snippets/related-item.html @@ -0,0 +1,2 @@ +{# Used by the related-item.spec.js file #} +{% snippet 'related/snippets/related_item.html', related={'title': 'Test', 'url': 'http://example.com', 'type': 'application'} %}