File tree Expand file tree Collapse file tree
templates/dashboard/packages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -517,6 +517,16 @@ public function setReleasedAt(?\DateTimeInterface $releasedAt): void
517517 $ this ->releasedAt = $ releasedAt ;
518518 }
519519
520+ public function getSourceReference (): ?string
521+ {
522+ return $ this ->source ['reference ' ] ?? null ;
523+ }
524+
525+ public function getSourceType (): ?string
526+ {
527+ return $ this ->source ['type ' ] ?? null ;
528+ }
529+
520530 public function getSourceUrl (): ?string
521531 {
522532 return $ this ->source ['url ' ] ?? null ;
@@ -537,6 +547,11 @@ public function getDistUrl(): ?string
537547 return $ this ->dist ['url ' ] ?? null ;
538548 }
539549
550+ public function getReference (): ?string
551+ {
552+ return $ this ->source ['reference ' ] ?? $ this ->dist ['reference ' ] ?? null ;
553+ }
554+
540555 public function hasVersionAlias (): bool
541556 {
542557 return $ this ->isDevelopment () && $ this ->getVersionAlias ();
Original file line number Diff line number Diff line change 2626 {% endfor %}
2727 </div >
2828 {% endif %}
29+
30+ {% if version .reference %}
31+ <p >{{ ' Reference' | trans }}: <code >{{ version .reference }}</code ></p >
32+ {% endif %}
2933 </div >
3034 <div class =" col-md-4" >
3135 <div class =" dirigent-package-sidebar bg-body-secondary px-3 py-2 mb-2 rounded" >
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ Implementations: Implementations
4848Installations : Installations
4949License : License
5050Providers : Providers
51+ Reference : Reference
5152Statistics : Statistics
5253Suggesters : Suggesters
5354
You can’t perform that action at this time.
0 commit comments