Skip to content

Commit

Permalink
On the Project Submission Info page, when there is a new version of a…
Browse files Browse the repository at this point in the history
… published project, a message is displayed alongside the version number stating, '(this is an update to a published project)'. Otherwise, a message stating 'Latest Published Version: No published version available.' is displayed. #2282 closed.
  • Loading branch information
rafgia committed Oct 3, 2024
1 parent 112bfd6 commit f3c8a21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h4 class="card-title">{{ project.title }}</h4>
Created: {{ project.creation_datetime|date }}. Submitted: {{ project.submission_datetime|date }}.<br>
Storage Used: {{ storage_info.readable_used }} / {{ storage_info.readable_allowance }}<br>
Version: {{ project.version }} {% if project.is_new_version %}<em>(this is an update to a published project)</em>{% endif %}
{% if project.is_new_version %}<br>Latest Published Version: <a href="{% url 'published_project' latest_version.slug latest_version.version %}" target="_blank">{{ latest_version.version }}</a> {% else %} <br>Latest Published Version: No published version available. {% endif %}
Latest Published Version: {% if project.is_new_version %}<a href="{% url 'published_project' latest_version.slug latest_version.version %}" target="_blank">{{ latest_version.version }}</a>{% else %} No published version available.{% endif %}
{% if project.latest_reminder %}
<br>Latest reminder email sent on: {{ project.latest_reminder }}
{% endif %}
Expand Down

0 comments on commit f3c8a21

Please sign in to comment.