enable patreon expiry benefits

This commit is contained in:
2020-06-09 22:40:09 +02:00
parent 920f45fd8a
commit 2b06087bcc
6 changed files with 17 additions and 16 deletions

View File

@@ -33,21 +33,21 @@
<ul>
<li>No ads when viewing files</li>
<li>No ads on uploaded files</li>
<li>2-month file expiry (Not implemented yet)</li>
<li>2-month file expiry</li>
</ul>
{{else if eq .User.Subscription "patreon_3"}}
Level 3 Patreon supporter. Benefits:
<ul>
<li>No ads when viewing files</li>
<li>No ads on uploaded files</li>
<li>6-month file expiry (Not implemented yet)</li>
<li>6-month file expiry</li>
</ul>
{{else if eq .User.Subscription "patreon_4"}}
Level 4 Patreon supporter. Benefits:
<ul>
<li>No ads when viewing files</li>
<li>No ads on uploaded files</li>
<li>No file expiry (Not implemented yet)</li>
<li>No file expiry</li>
</ul>
{{end}}
{{end}}

View File

@@ -20,7 +20,7 @@
<button onclick="loadGraph(262800, 1440, false);">Half-year</button>
<button onclick="loadGraph(525600, 1440, false);">Year</button>
</div>
<div id="chart_container" class="chart-container" style="position: relative; width: 100%; height: 400px;">
<div id="chart_container" class="chart-container" style="position: relative; width: 100%; height: 300px;">
<canvas id="bandwidth_chart"></canvas>
</div>
<hr/>

View File

@@ -142,7 +142,7 @@
<div class="info_about">
<h3>Downloads and views</h3>
<div class="chart-container" style="position: relative; width: 100%; height: 300px;">
<div class="chart-container" style="position: relative; width: 100%; height: 250px;">
<canvas id="bandwidth_chart"></canvas>
</div>
<p style="text-align: center">