Skip to content

Commit

Permalink
Merge pull request #73 from x10102/master
Browse files Browse the repository at this point in the history
Fix point decimal place count cause im stupid
  • Loading branch information
x10102 authored Dec 22, 2024
2 parents c782383 + 81ba1ef commit b6afea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/partials/translator_badge.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<img class="block h-full border border-white border-solid rounded-l-lg" src="{{ url_for('UserContent.get_avatar', uid=(user.discord or 0), s='full')}}">
<div class="flex flex-col flex-1 h-full pl-4 text-white rounded-r-lg">
<h1 class="m-0 mt-1 text-xl font-bold text-white">{{user.wikidot}}</h1>
<p class="m-0 text-sm"><b>{{stats.points}}</b> Překladatelských bodů</p>
<p class="m-0 text-sm"><b>{{"%.1f" % stats.points}}</b> Překladatelských bodů</p>
<p class="m-0 text-sm"><b>{{stats.count}}</b> Přeložených článků</p>
<p class="m-0 text-sm">Poslední překlad: <b><a href="{{last.link}}" class="text-white transition-opacity hover:opacity-75" target="_top">{{last.name}}</b></a></p>
</div>
Expand Down

0 comments on commit b6afea2

Please sign in to comment.