diff options
author | Earl Warren <earl-warren@noreply.codeberg.org> | 2025-01-07 07:17:49 +0100 |
---|---|---|
committer | Earl Warren <earl-warren@noreply.codeberg.org> | 2025-01-07 07:17:49 +0100 |
commit | 4261301dfb011278f349d748c579b384a18ae120 (patch) | |
tree | 7ce10ed27fe570ab3bd7af97ac00e99e8bcb8981 /templates | |
parent | Update forgejo/forgejo-build-publish action to v5.3.0 (forgejo) (#6480) (diff) | |
parent | chore(release-notes): notes for the week 2025-02 weekly cherry pick (diff) | |
download | forgejo-4261301dfb011278f349d748c579b384a18ae120.tar.xz forgejo-4261301dfb011278f349d748c579b384a18ae120.zip |
[gitea] week 2025-02 cherry pick (gitea/main -> forgejo) (#6471)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6471
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/package/content/nuget.tmpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/package/content/nuget.tmpl b/templates/package/content/nuget.tmpl index ea665c7bbc..c8568845f1 100644 --- a/templates/package/content/nuget.tmpl +++ b/templates/package/content/nuget.tmpl @@ -35,11 +35,12 @@ </tr> </thead> <tbody> + {{$tooltipSearchInNuget := ctx.Locale.Tr "packages.search_in_external_registry" "nuget.org"}} {{range $framework, $dependencies := .PackageDescriptor.Metadata.Dependencies}} {{range $dependencies}} <tr> - <td>{{.ID}}</td> - <td>{{.Version}}</td> + <td>{{.ID}} <a target="_blank" rel="noreferrer" href="https://www.nuget.org/packages/{{.ID}}" data-tooltip-content="{{$tooltipSearchInNuget}}">{{svg "octicon-link-external"}}</a></td> + <td>{{.Version}} <a target="_blank" rel="noreferrer" href="https://www.nuget.org/packages/{{.ID}}/{{.Version}}" data-tooltip-content="{{$tooltipSearchInNuget}}">{{svg "octicon-link-external"}}</a></td> <td>{{$framework}}</td> </tr> {{end}} |