contentdb/app/templates/packages/share.html

36 lines
629 B
HTML
Raw Normal View History

2021-07-24 04:56:43 +02:00
{% extends "packages/package_base.html" %}
{% block title %}
2022-01-08 00:27:00 +01:00
{{ _("Share and Badges") }}
2021-07-24 04:56:43 +02:00
{% endblock %}
{% block content %}
<h2 class="mt-0">{{ self.title() }}</h2>
2022-01-08 00:27:00 +01:00
<h3>{{ _("Links") }}</h3>
2021-07-24 04:56:43 +02:00
<p>
2022-01-08 00:27:00 +01:00
{{ _("Review link") }}:
2021-07-24 04:56:43 +02:00
</p>
2021-07-24 05:30:14 +02:00
<pre><code>{{ package.getURL("packages.review", absolute=True) }}</code></pre>
2021-07-24 04:56:43 +02:00
2022-01-08 00:27:00 +01:00
<h3>{{ _("Badges") }}</h3>
2021-07-24 04:56:43 +02:00
<p>
{{ package.makeShield("title") | markdown }}
</p>
<p>
<pre><code>{{ package.makeShield("title") }}</code></pre>
</p>
<p>
{{ package.makeShield("downloads") | markdown }}
</p>
<p>
<pre><code>{{ package.makeShield("downloads") }}</code></pre>
</p>
{% endblock %}