Skip to content

Commit

Permalink
[refactor,template][xs]: rename datasetFull template to datasetView.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrp committed Jul 28, 2011
1 parent 2f65ab6 commit dea0e08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/template/dataset-view.js
@@ -1,4 +1,4 @@
CKAN.Templates.datasetFull = ' \
CKAN.Templates.datasetView = ' \
<div class="dataset view" dataset-id="${dataset.id}"> \
<div class="extract"> \
{{html dataset.snippet}} \
Expand Down
2 changes: 1 addition & 1 deletion lib/view.js
Expand Up @@ -147,7 +147,7 @@ CKAN.View = function($) {
$('.page-heading').html(tmplData.dataset.displaytitle);
$('#minornavigation').html($.tmpl(CKAN.Templates.minorNavigationDataset, tmplData));
$('#sidebar .widget-list').html($.tmpl(CKAN.Templates.sidebarDatasetView, tmplData));
this.el.html($.tmpl(CKAN.Templates.datasetFull, tmplData));
this.el.html($.tmpl(CKAN.Templates.datasetView, tmplData));
return this;
},

Expand Down

0 comments on commit dea0e08

Please sign in to comment.