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>
|
<div>
|
||||||
{% include 'snippets/username.html' with user=rating.user %}
|
{% include 'snippets/username.html' with user=rating.user %}
|
||||||
</div>
|
</div>
|
||||||
<div class="field is-grouped mb-0">
|
<div class="is-flex">
|
||||||
<div>{% trans "rated it" %}</div>
|
<p class="mr-1">{% trans "rated it" %}</p>
|
||||||
{% include 'snippets/stars.html' with rating=rating.rating %}
|
{% include 'snippets/stars.html' with rating=rating.rating %}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
aria-controls="navbar-dropdown"
|
aria-controls="navbar-dropdown"
|
||||||
>
|
>
|
||||||
{% include 'snippets/avatar.html' with user=request.user %}
|
{% 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>
|
</a>
|
||||||
<ul class="navbar-dropdown" id="navbar-dropdown">
|
<ul class="navbar-dropdown" id="navbar-dropdown">
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
{% spaceless %}
|
{% spaceless %}
|
||||||
{% load bookwyrm_tags %}
|
{% load bookwyrm_tags %}
|
||||||
|
|
||||||
<{% if anchor %}a href="{{ user.local_path }}"{% else %}span{% endif %}
|
<{% if anchor %}a href="{{ user.local_path }}"{% else %}span{% endif %}>
|
||||||
class="user ml-1"
|
|
||||||
>
|
|
||||||
{{ user.display_name }}
|
{{ user.display_name }}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue