Skip to content

Commit

Permalink
[#1559,master][xs]: add comment hooks into dataset and resource templ…
Browse files Browse the repository at this point in the history
…ates and recent comments hook into ckan-admin index page to utilize new ckanext-disqus setup (fixes #1559).
  • Loading branch information
rufuspollock committed Mar 20, 2012
1 parent 858e230 commit 9965818
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckan/templates/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ <h3>Current Sysadmins</h3>
${h.linked_user(user)}
</li>
</ul>

<span class="insert-comment-recent"></span>
</div>

<xi:include href="layout.html" />
Expand Down
2 changes: 2 additions & 0 deletions ckan/templates/package/read.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ <h3>Related Datasets</h3>
</py:if>

<xi:include href="read_core.html" />

<span class="insert-comment-thread"></span>
</div>

<py:def function="optional_head">
Expand Down
2 changes: 2 additions & 0 deletions ckan/templates/package/resource_read.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ <h3>Additional Information</h3>
</tbody>
</table>
</div>

<span class="insert-comment-thread"></span>
</div>

<py:def function="optional_footer">
Expand Down

0 comments on commit 9965818

Please sign in to comment.