-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
134 additions
and
87 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
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
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 |
---|---|---|
@@ -1,27 +1,58 @@ | ||
{% load i18n resources_custom_tags%} | ||
|
||
<dd></dd> | ||
<dt>Name</dt> | ||
<dd>{{ object_detail.name }}</dd> | ||
<dt>Description</dt> | ||
<dd>{{ object_detail.description|md_to_html }}</dd> | ||
<dt>Uploaded Date</dt> | ||
<dd>{{ object_detail.upload_date|date:"d F Y" }}</dd> | ||
{% if object_detail.review_set.last.review_date and object_detail.approved%} | ||
<dt>Approved Date</dt> | ||
<dd>{{ object_detail.review_set.last.review_date|date:"d F Y"}}</dd> | ||
{% endif %} | ||
<dt>Modified Date</dt> | ||
<dd>{{ object_detail.modified_date|date:"d F Y" }}</dd> | ||
<dt>Creator</dt> | ||
<dd>{{ object_detail.get_creator_name|title }}</dd> | ||
{% if is_qlr %} | ||
{% include "base/includes/layerdefinition/detail_datasource.html" %} | ||
{% endif %} | ||
{# for style app sharing only #} | ||
{% if object_detail.style_type %} | ||
<dt>Type</dt> | ||
<dd> | ||
{{ object_detail.style_type.name }} | ||
</dd> | ||
{% endif %} | ||
<div class="columns is-multiline"> | ||
<div class="column is-12"> | ||
<label class="label">{% trans "Description" %}:</label> | ||
<div> | ||
{{ object_detail.description|md_to_html }} | ||
</div> | ||
</div> | ||
<div class="column is-6"> | ||
<div class="field"> | ||
<label class="label">{% trans "Uploaded Date" %}:</label> | ||
<div class="control truncate"> | ||
{{ object_detail.upload_date|date:"d F Y" }} | ||
</div> | ||
</div> | ||
</div> | ||
{% if object_detail.review_set.last.review_date and object_detail.approved %} | ||
<div class="column is-6"> | ||
<div class="field"> | ||
<label class="label">{% trans "Approved Date" %}:</label> | ||
<div class="control truncate"> | ||
{{ object_detail.review_set.last.review_date|date:"d F Y" }} | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
<div class="column is-6"> | ||
<div class="field"> | ||
<label class="label">{% trans "Modified Date" %}:</label> | ||
<div class="control truncate"> | ||
{{ object_detail.modified_date|date:"d F Y" }} | ||
</div> | ||
</div> | ||
</div> | ||
<div class="column is-6"> | ||
<div class="field"> | ||
<label class="label">{% trans "Creator" %}:</label> | ||
<div class="control truncate"> | ||
{{ object_detail.get_creator_name|title }} | ||
</div> | ||
</div> | ||
</div> | ||
{% if is_qlr %} | ||
<div class="column is-6"> | ||
{% include "base/includes/layerdefinition/detail_datasource.html" %} | ||
</div> | ||
{% endif %} | ||
{% if object_detail.style_type %} | ||
<div class="column is-6"> | ||
<div class="field"> | ||
<label class="label">{% trans "Type" %}:</label> | ||
<div class="control truncate"> | ||
{{ object_detail.style_type.name }} | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
</div> |
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 |
---|---|---|
@@ -1,11 +1,15 @@ | ||
{% load static %} | ||
<div class="span12 license"> | ||
<div class="media" style="margin-top: 2rem"> | ||
<a class="pull-left" href="#"> | ||
<img src="{% static 'images/cc-zero.svg' %}"> | ||
</a> | ||
<div class="media-body"> | ||
<p>This {{ resource_name }} is made available under the <a href="https://creativecommons.org/publicdomain/zero/1.0/" target="_blank">CC-0 license</a>.</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div> | ||
<div class="media" style="margin-top: 2rem"> | ||
<figure class="ml-0 mb-0"> | ||
<p class="image"> | ||
<img src="{% static 'images/cc-zero.svg' %}"> | ||
</p> | ||
</figure> | ||
<div class="media-content"> | ||
<div class="content"> | ||
<p>This {{ resource_name }} is made available under the <a href="https://creativecommons.org/publicdomain/zero/1.0/" target="_blank">CC-0 license</a>.</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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