Skip to content

Commit ca2a40f

Browse files
committed
Fixes
Signed-off-by: Tim Goudriaan <tim@codedmonkey.com>
1 parent 4a57b47 commit ca2a40f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Doctrine/Entity/Version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function getMetadata(): Collection
143143
return $this->metadata;
144144
}
145145

146-
public function getVersionTitle(): string
146+
public function getExtendedName(): string
147147
{
148148
return $this->name . ($this->getCurrentMetadata()->hasVersionAlias() ? ' / ' . $this->getCurrentMetadata()->getVersionAlias() : '');
149149
}

templates/dashboard/packages/package_info.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% block page_title %}
44
{%- apply spaceless -%}
55
{{ package.name }}
6-
<small>{{ version.versionTitle }}</small>
6+
<small>{{ version.extendedName }}</small>
77
{%- endapply -%}
88
{% endblock %}
99

templates/dashboard/packages/package_versions.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
{% set packageVersionInfoUrl = path('dashboard_packages_version_info', {package: version.package.name, version: version.name}) %}
6262
<a href="{{ packageVersionInfoUrl }}" class="list-group-item">
6363
<div class="d-flex justify-content-between">
64-
<span>{{ version.versionTitle }}</span>
64+
<span>{{ version.extendedName }}</span>
6565
<span class="text-muted">{{ version.currentMetadata.releasedAt.format('Y-m-d') }}</span>
6666
</div>
6767
</a>

0 commit comments

Comments
 (0)