-
-
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
4 changed files
with
96 additions
and
46 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
35 changes: 31 additions & 4 deletions
35
qgis-app/templates/base/includes/layerdefinition/detail_datasource.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 |
---|---|---|
@@ -1,4 +1,31 @@ | ||
<dt>Provider</dt> | ||
<dd>{{ object_detail.provider }}</dd> | ||
<dt>Metadata</dt> | ||
<dd>{% if object_detail.url_metadata%}{{object_detail.url_metadata}}{% else %}-{% endif %}</dd> | ||
{% load static i18n %} | ||
<div class="column is-6"> | ||
<div class="field"> | ||
<label class="label"> | ||
<span class="icon"> | ||
<i class="fas fa-database"></i> | ||
</span> | ||
{% trans "Provider" %}: | ||
</label> | ||
<div class="control truncate"> | ||
{{ object_detail.provider }} | ||
</div> | ||
</div> | ||
</div> | ||
<div class="column is-6"> | ||
<div class="field"> | ||
<label class="label"> | ||
<span class="icon"> | ||
<i class="fas fa-info-circle"></i> | ||
</span> | ||
{% trans "Metadata" %}: | ||
</label> | ||
<div class="control truncate"> | ||
{% if object_detail.url_metadata %} | ||
<a href="{{ object_detail.url_metadata }}" target="_blank">{{ object_detail.url_metadata }}</a> | ||
{% else %} | ||
- | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> |
39 changes: 27 additions & 12 deletions
39
qgis-app/templates/base/includes/layerdefinition/license.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 |
---|---|---|
@@ -1,12 +1,27 @@ | ||
{% load static %} | ||
<div class="span12 license" > | ||
<div class="span8" style="margin-top: 2rem"> | ||
<p><strong>Data source</strong>: <a href="{{ object_detail.url_datasource }}" target="_blank">{{ object_detail.url_datasource }}</a></p> | ||
<p><strong>License</strong>: | ||
{% if object_detail.license %} | ||
<br /><span class="custom-license">{{ object_detail.license }}</span></p> | ||
{% else %} | ||
- | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% load static i18n %} | ||
<div class="columns is-multiline"> | ||
<div class="column is-12"> | ||
<div class="field"> | ||
<label class="label"> | ||
<i class="fas fa-database"></i> {% trans "Data source" %}: | ||
</label> | ||
<div class="control truncate"> | ||
<a href="{{ object_detail.url_datasource }}" target="_blank">{{ object_detail.url_datasource }}</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="column is-12"> | ||
<div class="field"> | ||
<label class="label"> | ||
<i class="fas fa-file-alt"></i> {% trans "License" %}: | ||
</label> | ||
<div class="control"> | ||
{% if object_detail.license %} | ||
<span class="custom-license" style="word-break: break-all;">{{ object_detail.license }}</span> | ||
{% else %} | ||
- | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> |