forked from mirrors/bookwyrm
Fixes display of ratings
This commit is contained in:
parent
b895059f03
commit
dfecdca6f9
3 changed files with 4 additions and 6 deletions
|
@ -254,8 +254,8 @@
|
|||
<div>
|
||||
{% include 'snippets/username.html' with user=rating.user %}
|
||||
</div>
|
||||
<div class="field is-grouped mb-0">
|
||||
<div>{% trans "rated it" %}</div>
|
||||
<div class="is-flex">
|
||||
<p class="mr-1">{% trans "rated it" %}</p>
|
||||
{% include 'snippets/stars.html' with rating=rating.rating %}
|
||||
</div>
|
||||
<div>
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
aria-controls="navbar-dropdown"
|
||||
>
|
||||
{% include 'snippets/avatar.html' with user=request.user %}
|
||||
{% include 'snippets/username.html' with user=request.user anchor=false %}
|
||||
<span class="ml-2">{% include 'snippets/username.html' with user=request.user anchor=false %}</span>
|
||||
</a>
|
||||
<ul class="navbar-dropdown" id="navbar-dropdown">
|
||||
<li>
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{% spaceless %}
|
||||
{% load bookwyrm_tags %}
|
||||
|
||||
<{% if anchor %}a href="{{ user.local_path }}"{% else %}span{% endif %}
|
||||
class="user ml-1"
|
||||
>
|
||||
<{% if anchor %}a href="{{ user.local_path }}"{% else %}span{% endif %}>
|
||||
{{ user.display_name }}
|
||||
</a>
|
||||
|
||||
|
|
Loading…
Reference in a new issue