composer / composer/satis

Remove links to packages from HTML

Open
#661 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
3.3k
Forks
530
Avg merge
6h 53m
Merged PRs (30d)
13

Description

Tell me how you can remove active links from the package versions so that the user cannot download them. I found the following line in the `package.html.twig` file:

```
{%- if package.highest.type == 'metapackage' -%}
{{ version.prettyVersion }}
{%- elseif version.distType -%}
{{ version.prettyVersion }}
{%- elseif version.sourceUrl matches '#^https?:\/\/#' -%}
{{ version.prettyVersion }}
{%- else -%}
{{ version.prettyVersion }}
{%- endif -%}
```

Is there any section in the satis.json responsible for this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.