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 2, 2024
1 parent 175c477 commit 112bfd6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ <h4 class="card-title">{{ project.title }}</h4>
Authors: {% for author in authors %}{{ author|show_all_author_info|safe }} {% endfor %}<br>
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 style="color:blue;">(This is an update of the latest published version.)</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>No latest version available. {% endif %}
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 %}
{% if project.latest_reminder %}
<br>Latest reminder email sent on: {{ project.latest_reminder }}
{% endif %}
Expand Down

0 comments on commit 112bfd6

Please sign in to comment.