Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Merret Buurman
pidlandingpage
Commits
cc7339bf
Commit
cc7339bf
authored
Sep 14, 2016
by
Merret Buurman
Browse files
Inform that data is not published, if no host/url given.
parent
90e33890
Changes
2
Hide whitespace changes
Inline
Side-by-side
landingpage/landingpageapp/templates/landingpage/cmip6_dataset.html
View file @
cc7339bf
...
...
@@ -129,12 +129,12 @@
<div
class=
"section"
>
<h2>
Dataset host(s)
</h2>
<table>
{% if hosts_original or hosts_replicas %}
<table>
{% if hosts_original %}
{% for entry in hosts_original %}
<tr>
<td
class=
"leftcol"
>
{{entry.host}}
</td>
<td
class=
"leftcol"
>
<a
href=
"http://{{entry.host}}"
>
{{entry.host}}
</a>
(original)
</td>
<td></td>
</tr>
{% endfor %}
...
...
@@ -147,8 +147,13 @@
</tr>
{% endfor %}
{% endif %}
</table>
{% else %}
<tr>
<td
class=
"leftcol"
>
This dataset is not available at any hosts right now.
</td>
</tr>
{% endif %}
</table>
</div>
...
...
landingpage/landingpageapp/templates/landingpage/cmip6_file.html
View file @
cc7339bf
...
...
@@ -88,9 +88,8 @@
<div
class=
"section"
>
<h2>
Data access
</h2>
<table>
{% if urls_original or urls_replicas %}
<table>
{% if urls_original %}
{% for entry in urls_original %}
<tr>
...
...
@@ -107,8 +106,12 @@
</tr>
{% endfor %}
{% endif %}
</table>
{% else %}
<tr>
<td
class=
"leftcol"
>
This dataset is not available at any hosts right now.
</td>
</tr>
{% endif %}
</table>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment