Skip to content

Commit

Permalink
cove_rdls/templates/cove_rdls/explore.html: Absolute url
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed (ODSC) committed Sep 4, 2023
1 parent e75ba1e commit aa3e96a
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions cove_rdls/templates/cove_rdls/explore.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,35 @@ <h4>{% trans 'Loss Datasets' %}</h4>
</div>
{% endif %}

<div class="row" id="sharing">
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-body">

<h1 class="heading-in-panel"> <small>{% trans "Save or Share these results" %}</small> </h1>

<div class="copy-div">
<span class="copy-span"> {{ request.build_absolute_uri }} <span id="copy-url-button" title="Click to copy." data-clipboard-text={{ request.build_absolute_uri }} class="btn copy-button glyphicon glyphicon-copy" aria-hidden="true"></span> </span>
</div>
<p>{% blocktrans %}These results will be available for {{ delete_files_after_days }} days from the day the data was first uploaded. You can revisit these results until then.{% endblocktrans %}</p>
<p>{% blocktrans %}After {{ delete_files_after_days }} days all uploaded data is deleted from our servers, and the results will no longer be available. Anyone using the link to this page after that will be shown a message that tells them the file has been removed.{% endblocktrans %}</p>
</div>
</div>
</div>
</div>


<div class="above-footer">
<h2>{% trans "Save or Share these results" %}</h2>
<p>{% blocktrans %}Use the following url to share these results:{% endblocktrans %}</p>
<div class="copy-div">
<span class="copy-span"> {{ request.path }} <span id="copy-url-button" title="Click to copy." data-clipboard-text={{ current_url }} class="btn copy-button glyphicon glyphicon-copy" aria-hidden="true"></span> </span>
<span class="copy-span"> {{ request.path }} <span id="copy-url-button" title="Click to copy." data-clipboard-text={{ current_url }}
class="btn copy-button glyphicon glyphicon-copy" aria-hidden="true"></span> </span>
</div>
<p>{% blocktrans %}These results will be available for {{ delete_files_after_days }} days from the day the data was first uploaded. You can revisit these results until then.{% endblocktrans %}</p>
<p>{% blocktrans %}After {{ delete_files_after_days }} days all uploaded data is deleted from our servers, and the results will no longer be available. Anyone using the link to this page after that will be shown a message that tells them the file has been removed.{% endblocktrans %}</p>
<p>{% blocktrans %}These results will be available for {{ delete_files_after_days }} days from the day the data was first uploaded.
You can revisit these results until then.{% endblocktrans %}</p>
<p>{% blocktrans %}After {{ delete_files_after_days }} days all uploaded data is deleted from our servers, and the results will no longer be available.
Anyone using the link to this page after that will be shown a message that tells them the file has been removed.{% endblocktrans %}</p>
</div>


Expand Down

0 comments on commit aa3e96a

Please sign in to comment.