mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Add release notes to package view page
This commit is contained in:
parent
22172da57e
commit
a0da9ef61e
@ -87,6 +87,10 @@ p, .content li {
|
|||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="/static/libs/bootstrap.min.css?v=4">
|
<link rel="stylesheet" type="text/css" href="/static/libs/bootstrap.min.css?v=4">
|
||||||
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=53">
|
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=54">
|
||||||
<link rel="search" type="application/opensearchdescription+xml" href="/static/opensearch.xml" title="ContentDB" />
|
<link rel="search" type="application/opensearchdescription+xml" href="/static/opensearch.xml" title="ContentDB" />
|
||||||
|
|
||||||
{% if noindex -%}
|
{% if noindex -%}
|
||||||
|
@ -385,6 +385,17 @@
|
|||||||
{{ self.download_btn() }}
|
{{ self.download_btn() }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if release.release_notes %}
|
||||||
|
<div class="card my-3">
|
||||||
|
<h3 id="release_notes" class="card-header">
|
||||||
|
{{ _("Release notes for %(title)s", title=release.title) }}
|
||||||
|
</h3>
|
||||||
|
<div class="card-body markdown">
|
||||||
|
{{ release.release_notes | markdown }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="mt-3 mb-3">
|
<div class="mt-3 mb-3">
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
<form method="POST" action="{{ package.get_url('collections.package_toggle_favorite') }}">
|
<form method="POST" action="{{ package.get_url('collections.package_toggle_favorite') }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user