Skip to content

Commit

Permalink
[#2939] template fixes for org/group snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Nov 20, 2012
1 parent 7875f3e commit 2940296
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions ckan/templates/snippets/group.html
Expand Up @@ -19,11 +19,7 @@
<div class="media-content">
<h3 class="media-heading"><a href={{ url }}>{{ group.title or group.name }}</a></h3>
{% if group.description %}
{% if truncate %}
<p>{{ group.description }}</p>
{% else %}
<p>{{ h.markdown_extract(group.description, truncate) }}</p>
{% endif %}
<p>{{ h.markdown_extract(group.description, truncate) }}</p>
{% else %}
<p class="empty">{{ _('There is no description for this group') }}</p>
{% endif %}
Expand Down
6 changes: 1 addition & 5 deletions ckan/templates/snippets/organization.html
Expand Up @@ -20,11 +20,7 @@ <h2 class="module-heading">{{ _('Owning Organization') }}</h2>
<div class="media-content">
<h3 class="media-heading"><a href={{ url }}>{{ organization.title or organization.name }}</a></h3>
{% if organization.description %}
{% if truncate %}
<p>{{ organization.description }}</p>
{% else %}
<p>{{ h.markdown_extract(organization.description, truncate) }}</p>
{% endif %}
<p>{{ h.markdown_extract(organization.description, truncate) }}</p>
{% else %}
<p class="empty">{{ _('There is no description for this organization') }}</p>
{% endif %}
Expand Down

0 comments on commit 2940296

Please sign in to comment.