-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from JiscSD/add_hyperlinks_in_taxonomy
Updating features as originally on DKAN there are such links
- Loading branch information
Showing
3 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
ckanext/customised_fields_from_tag_vocabulary/templates/snippets/organization.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{% ckan_extends %} | ||
|
||
{% block heading %} | ||
<h1 class="heading"> | ||
|
||
{% if organization.state == 'deleted' %} | ||
{{ organization.title or organization.name }}[{{ _('Deleted') }}] | ||
{% else %} | ||
<a href="/organization/{{organization.name}}">{{ organization.title or organization.name }}</a> | ||
{% endif %} | ||
</h1> | ||
{% endblock %} | ||
{% block description %} | ||
{% if organization.description %} | ||
<p class="description"> | ||
{{ h.markdown_extract(organization.description, 180) }} | ||
</p> | ||
<p class="read-more"> | ||
{% link_for _('read more'), controller='organization', action='about', id=organization.name %} | ||
</p> | ||
{% else %} | ||
<p class="empty"></p> | ||
{% endif %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters