Skip to content

Commit

Permalink
Merge branch '236-html-in-popovers'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hammond committed Dec 20, 2012
2 parents 08d3341 + d61e349 commit b208572
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions ckan/templates/ajax_snippets/popover_context_dataset.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div class="popover-context profile-info">
{% if notes != 'null' %}
{% set notes = notes|striptags %}
<p class="about">
{{ h.truncate(notes, length=160, whole_word=True) }}
</p>
Expand Down
3 changes: 2 additions & 1 deletion ckan/templates/ajax_snippets/popover_context_group.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div class="popover-context profile-info">
{% if notes != 'null' %}
{% if description != 'null' %}
{% set description = description|striptags %}
<p class="about">
{{ h.truncate(description, length=160, whole_word=True) }}
</p>
Expand Down
1 change: 1 addition & 0 deletions ckan/templates/ajax_snippets/popover_context_user.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div class="popover-context profile-info">
{% if about != 'null' %}
{% set about = about|striptags %}
<p class="about">
{{ h.truncate(about, length=160, whole_word=True) }}
</p>
Expand Down

0 comments on commit b208572

Please sign in to comment.