{% if show_package_details | default(False) %} {% endif %} {% if pkgbase.keywords.count() or request.user.has_credential(creds.PKGBASE_SET_KEYWORDS, approved=[pkgbase.Maintainer] + comaintainers) %} {% if request.user.has_credential(creds.PKGBASE_SET_KEYWORDS, approved=[pkgbase.Maintainer] + comaintainers) %} {% else %} {% endif %} {% endif %} {% if show_package_details and licenses and licenses.count() %} {% endif %} {% if show_package_details and groups and groups.count() %} {% endif %} {% if show_package_details and conflicts and conflicts.count() %} {% endif %} {% if show_package_details and provides and provides.count() %} {% endif %} {% if show_package_details and replaces and replaces.count() %} {% endif %} {% if request.user.has_credential(creds.PKGBASE_LIST_VOTERS) %} {% else %} {% endif %}
{{ "Git Clone URL" | tr }}: {{ git_clone_uri_anon | format(pkgbase.Name) }} ({{ "read-only" | tr }}, {{ "click to copy" | tr }}) {% if request.user.is_authenticated() %}
{{ git_clone_uri_priv | format(pkgbase.Name) }} ({{ "click to copy" | tr }}) {% endif %}
{{ "Package Base" | tr }}: {{ pkgbase.Name }}
{{ "Description" | tr }}: {{ package.Description }}
{{ "Upstream URL" | tr }}: {% if package.URL %} {{ package.URL }} {% else %} {{ "None" | tr }} {% endif %}
{{ "Keywords" | tr }}:
{% for keyword in keywords.all() %} {{ keyword.Keyword }} {% endfor %}
{{ "Licenses" | tr }}: {{ licenses.all() | join(', ', attribute='License.Name') }}
{{ "Groups" | tr }}: {{ groups.all() | join(', ', attribute='Group.Name') }}
{{ "Conflicts" | tr }}: {{ conflicts.all() | join(', ', attribute='RelName') }}
{{ "Provides" | tr }}: {{ provides.all() | join(', ', attribute='RelName') }}
{{ "Replaces" | tr }}: {{ replaces.all() | join(', ', attribute='RelName') }}
{{ "Submitter" | tr }}: {% if request.user.is_authenticated() and pkgbase.Submitter %} {{ pkgbase.Submitter.Username }} {% else %} {{ pkgbase.Submitter.Username | default("None" | tr) }} {% endif %}
{{ "Maintainer" | tr }}: {% if request.user.is_authenticated() and pkgbase.Maintainer %} {{ pkgbase.Maintainer.Username }} {% set len = comaintainers | length %} {% if comaintainers %} ({% for co in comaintainers %}{{ co }}{% if loop.index < len %}, {% endif %}{% endfor %}) {% endif %} {% else %} {{ pkgbase.Maintainer.Username | default("None" | tr) }} {% if comaintainers %} ({{ comaintainers|join(', ') }}) {% endif %} {% endif %}
{{ "Last Packager" | tr }}: {% if request.user.is_authenticated() and pkgbase.Packager %} {{ pkgbase.Packager.Username }} {% else %} {{ pkgbase.Packager.Username | default("None" | tr) }} {% endif %}
{{ "Votes" | tr }}: {{ pkgbase.NumVotes }} {{ pkgbase.NumVotes }}
{{ "Popularity" | tr }}: {{ popularity | number_format(6 if popularity <= 0.2 else 2) }}
{{ "First Submitted" | tr }}: {{ datetime_display(pkgbase.SubmittedTS) }}
{{ "Last Updated" | tr }}: {{ datetime_display(pkgbase.ModifiedTS) }}