You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
remove the if statements and keep {{ version.prettyVersion }} only or replace the section with the following code to show a bill shape instead of the version text only:
<dd class="{{ col2_class }} field-releases filter-by" data-package-name="{{ package.highest.name }}">
{% for version in package.versions %}
{% set branch_alias = attribute(version.extra['branch-alias'], version.prettyVersion) %}
{%- if branch_alias -%}
{% set branch_alias = ", branch-alias: " ~ branch_alias %}
{%- endif -%}
<span class="badge rounded-pill bg-secondary text-light" title="source-reference: {{ version.sourceReference }}{{ branch_alias }}">{{ version.prettyVersion }}</span>
{% endfor %}
</dd>
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:Is there any section in the satis.json responsible for this?
The text was updated successfully, but these errors were encountered: