Skip to content

Commit

Permalink
Fix broken template include paths
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
MauricioFauth committed Apr 24, 2021
1 parent 546229f commit d53b860
Show file tree
Hide file tree
Showing 19 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion pmaweb/templates/_release.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
<p>Released {{release.date|date:"Y-m-d"}}, see <a href="{{ release.get_absolute_url }}">release notes</a> for details.</p>
{% endif %}

{% include "components\_dllist.html" %}
{% include "components/_dllist.html" %}
4 changes: 2 additions & 2 deletions pmaweb/templates/about-website.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ <h2 id="syndicate">Syndication</h2>

<p>You can also directly download latest version on following URLs:</p>

{% include 'components\_stable-download.html' %}
{% include 'components/_stable-download.html' %}

{% include "components\_verify.html" %}
{% include "components/_verify.html" %}

</div>

Expand Down
2 changes: 1 addition & 1 deletion pmaweb/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</head>

<body>
{% include "components\_icon-library.html" %}
{% include "components/_icon-library.html" %}
<header>
<nav class="navbar">
<div class="nav-container">
Expand Down
2 changes: 1 addition & 1 deletion pmaweb/templates/components/_dllist.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% with release.get_downloads as download_list %}

{% if download_list %}
{% include 'components\_dltable.html' %}
{% include 'components/_dltable.html' %}
{% else %}
<div class="alert alert-warning">
Sorry, but no files to download are available for this release. Most likely this is too old release and we didn't find it in our archives.
Expand Down
4 changes: 2 additions & 2 deletions pmaweb/templates/components/_dltable.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
</thead>
<tbody>
{% for file in download_list %}
{% include 'components\_dlrow.html' %}
{% include 'components/_dlrow.html' %}
{% endfor %}
{% if download_item %}
{% include 'components\_dlrow.html' with file=download_item%}
{% include 'components/_dlrow.html' with file=download_item%}
{% endif %}
</tbody>
</table>
Expand Down
4 changes: 2 additions & 2 deletions pmaweb/templates/components/_littleboxes.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% with latest_release as release %}
{% include "components\_dlbox.html" %}
{% include "components/_dlbox.html" %}
{% endwith %}

{% if beta_release %}
{% with beta_release as release %}
{% include "components\_dlbox.html" %}
{% include "components/_dlbox.html" %}
{% endwith %}
{% endif %}

Expand Down
2 changes: 1 addition & 1 deletion pmaweb/templates/components/_release.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
<p>Released {{release.date|date:"Y-m-d"}}, see <a href="{{ release.get_absolute_url }}">release notes</a> for details.</p>
{% endif %}

{% include "components\_dllist.html" %}
{% include "components/_dllist.html" %}
2 changes: 1 addition & 1 deletion pmaweb/templates/components/_sponsorship_conditions.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h3 id="process">Sponsorship process</h3>

<h3>New sponsors</h3>

{% include "components\_conservancy.html" %}
{% include "components/_conservancy.html" %}

<p>
If you use phpMyAdmin or offer it to your customers, please consider
Expand Down
2 changes: 1 addition & 1 deletion pmaweb/templates/components/_stable-download.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% with latest=1 download_list=latest_release.get_downloads %}
{% include 'components\_dltable.html' %}
{% include 'components/_dltable.html' %}
{% endwith %}
2 changes: 1 addition & 1 deletion pmaweb/templates/develop.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h2>Developing phpMyAdmin</h2>
</p>

<h3>Source Code Repository</h3>
{% include "components\_gitdl.html" %}
{% include "components/_gitdl.html" %}

<p>
To checkout the code you can use one of the following examples:
Expand Down
4 changes: 2 additions & 2 deletions pmaweb/templates/donate.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<h2>Donations</h2>

{% include "components\_conservancy.html" %}
{% include "components/_conservancy.html" %}

<p>
As a free software project, phpMyAdmin has almost no revenues itself. On the
Expand Down Expand Up @@ -92,7 +92,7 @@ <h2 id="sponsors">Sponsorship</h2>
receive various benefits depending on sponsorship level.
</p>

{% include 'components\_sponsorship_conditions.html' %}
{% include 'components/_sponsorship_conditions.html' %}

</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions pmaweb/templates/downloads.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ <h2>Download</h2>
and MySQL versions.
</p>

{% include "components\_verify.html" %}
{% include "components/_verify.html" %}

{% for release in releases %}
<h2 id="release_{{ release.version }}">phpMyAdmin {{ release.version }}</h2>
{% include "components\_release.html" %}
{% include "components/_release.html" %}
{% endfor %}

{% if beta_release %}
{% with beta_release as release %}
<h2>Testing: phpMyAdmin {{ release.version }}</h2>
{% include "components\_release.html" %}
{% include "components/_release.html" %}
{% endwith %}
{% endif %}

Expand All @@ -56,7 +56,7 @@ <h2 id="features">Features</h2>
</p>

<h2 id="devel">Development Versions</h2>
{% include "components\_gitdl.html" %}
{% include "components/_gitdl.html" %}

<p>
More information about using Git is available on <a
Expand All @@ -65,14 +65,14 @@ <h2 id="devel">Development Versions</h2>

{% for release in all_snapshots %}
<h3 id="snapshot_{{ release.version }}">phpMyAdmin {{ release.version }}</h3>
{% include "components\_release.html" %}
{% include "components/_release.html" %}
{% endfor %}

<h2 id="stable">Latest Stable Version</h2>

<p>You can also directly download latest version on following URLs:</p>

{% include 'components\_stable-download.html' %}
{% include 'components/_stable-download.html' %}

<p>
We also publish a variety of formats intended for parsing by scripts to download the latest version.
Expand Down
4 changes: 2 additions & 2 deletions pmaweb/templates/files/release_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ <h2>phpMyAdmin {{ release.version }}</h2>

{{ release.release_notes }}

{% include "components\_dllist.html" %}
{% include "components/_dllist.html" %}

{% include "components\_verify.html" %}
{% include "components/_verify.html" %}

{% endblock %}
2 changes: 1 addition & 1 deletion pmaweb/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<div class="hero">
<div class="content">
{% include 'components\_sponsors.html' %}
{% include 'components/_sponsors.html' %}
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion pmaweb/templates/security/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h2>Security</h2>
for more details about our security policy.
</p>

{% include "components\_security_contact.html" %}
{% include "components/_security_contact.html" %}

<p>
Please note that any support requests on this address will not be answered;
Expand Down
2 changes: 1 addition & 1 deletion pmaweb/templates/sponsors-subscribe.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ <h2>Sponsorship subscription</h2>

<h2 id="conditions">Sponsorship conditions</h2>

{% include 'components\_sponsorship_conditions.html' %}
{% include 'components/_sponsorship_conditions.html' %}
</div>
{% endblock %}
2 changes: 1 addition & 1 deletion pmaweb/templates/sponsors.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h3>Silver sponsors</h3>

<h2 id="conditions">Becoming a sponsor</h2>

{% include 'components\_sponsorship_conditions.html' %}
{% include 'components/_sponsorship_conditions.html' %}

<h2 id="partners">Technology partners</h2>

Expand Down
4 changes: 2 additions & 2 deletions pmaweb/templates/themes.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h2>Themes</h2>
href="{% url 'try' %}">demo server</a>.
</p>

{% include "components\_verify.html" %}
{% include "components/_verify.html" %}

<h2>Submit Theme</h2>
<p>
Expand Down Expand Up @@ -65,7 +65,7 @@ <h2 class="card-title">{{ theme }}</h2>
</a>
</div>
</div>
{% include 'components\_dltable.html' with download_item=theme %}
{% include 'components/_dltable.html' with download_item=theme %}
</div>
{% endfor %}
</div>
Expand Down
4 changes: 2 additions & 2 deletions pmaweb/templates/try.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ <h3>Available demo versions</h3>
<h4>Releases and maintenance branches</h4>

{% with demo_stable as demos %}
{% include 'components\_list-demos.html' %}
{% include 'components/_list-demos.html' %}
{% endwith %}

<h4>Development version (future {{ demo_devel.0.master_version }})</h4>

{% with demo_devel as demos %}
{% include 'components\_list-demos.html' %}
{% include 'components/_list-demos.html' %}
{% endwith %}


Expand Down

0 comments on commit d53b860

Please sign in to comment.