1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: consider negative sharing intervals

This commit is contained in:
Ferdinand Mütsch 2021-02-06 23:35:15 +01:00
parent 6d2697ec37
commit 11fbce58d4

View File

@ -380,7 +380,7 @@
Badges (Shields.io)
</h3>
{{ if gt .User.ShareDataMaxDays 0 }}
{{ if ne .User.ShareDataMaxDays 0 }}
<div class="flex space-x-1">
<h3 class="font-semibold">Examples:</h3>
<span class="text-xs text-gray-500">(Only available on public instances, not on localhost)</span>
@ -427,7 +427,7 @@
<p class="mb-4">Wakapi intregrates with <a href="https://github.com/anuraghazra/github-readme-stats#wakatime-week-stats" class="underline" target="_blank" rel="noopener noreferrer">GitHub Readme Stats</a> to generate fancy cards for you.</p>
{{ if gt .User.ShareDataMaxDays 0 }}
{{ if ne .User.ShareDataMaxDays 0 }}
<div class="flex space-x-1">
<h3 class="font-semibold">Example:</h3>
<span class="text-xs text-gray-500">(Only available on public instances, not on localhost)</span>