-
Notifications
You must be signed in to change notification settings - Fork 31
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 #2150 from WikiWatershed/cpc/bigcz-search-result-d…
…etails-view Implement details view for BiG CZ
- Loading branch information
Showing
4 changed files
with
129 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<div class="result"> | ||
<div class="result-detail-header"> | ||
<h2> | ||
{{ title }} | ||
</h2> | ||
<button type="button" class="close" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
<a href="#"><i class="fa fa-search-plus"></i> Zoom to extent</a> | ||
</div> | ||
<hr> | ||
{% if author %} | ||
<p> | ||
<i class="fa fa-user"></i>{{ author }} | ||
</p> | ||
{% endif %} | ||
{% if activeCatalog != 'cuahsi' %} | ||
<p> | ||
<i class="fa fa-calendar"></i> {{ created_at|toDateFullYear }} | ||
</p> | ||
{% else %} | ||
{% if begin_date == end_date %} | ||
<p> | ||
<i class="fa fa-calendar"></i> {{ begin_date|toDateWithoutTime }} | ||
</p> | ||
{% else %} | ||
<p> | ||
<i class="fa fa-calendar"></i> {{ begin_date|toDateWithoutTime }} - {{ end_date|toDateWithoutTime }} | ||
</p> | ||
{% endif %} | ||
{% endif %} | ||
<p> | ||
{{ description }} | ||
</p> | ||
</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,3 +1,5 @@ | ||
<div class="result-details-region"></div> | ||
|
||
<h2 class="data-catalog-title"> | ||
Data sources | ||
</h2> | ||
|
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