mirror of
https://github.com/logos-co/open-law.git
synced 2025-02-12 23:06:30 +00:00
hide vote arrows
This commit is contained in:
parent
7ef9859363
commit
5fe3eb02bf
@ -1,7 +1,7 @@
|
||||
<dl class="bg-white dark:bg-gray-900 max-w-full p-3 text-gray-900 divide-y divide-gray-200 dark:text-white dark:divide-gray-700 my-3 md:m-3 border-2 border-gray-200 border-solid rounded-lg dark:border-gray-700">
|
||||
<div class="flex flex-row pb-3 p-3 pt-0 w-full">
|
||||
<div class="vote-block flex flex-col m-5 mr-8 pt-2 md:pt-0 justify-start md:justify-center items-center">
|
||||
{% if not hide_vote_btns %}
|
||||
{% if not hide_vote_btns and current_user.is_authenticated %}
|
||||
<div class="vote-button cursor-pointer" data-vote-for="interpretation" data-entity-id="{{ interpretation.id }}" data-positive="true">
|
||||
<svg class="w-6 h-6 select-none
|
||||
{% if interpretation.current_user_vote %}
|
||||
@ -15,7 +15,7 @@
|
||||
{{ interpretation.vote_count }}
|
||||
</span>
|
||||
|
||||
{% if not hide_vote_btns %}
|
||||
{% if not hide_vote_btns and current_user.is_authenticated %}
|
||||
<div class="vote-button cursor-pointer" data-vote-for="interpretation" data-entity-id="{{ interpretation.id }}" data-positive="false">
|
||||
<svg class="w-6 h-6 select-none
|
||||
{% if interpretation.current_user_vote == False %}
|
||||
|
@ -44,7 +44,7 @@
|
||||
<li class="mr-2" role="presentation">
|
||||
<!-- prettier-ignore -->
|
||||
<button class="flex items-center space-x-2 p-4 rounded-t-lg hover:text-gray-600 dark:hover:text-gray-300" id="versions-tab" data-tabs-target="#versions" type="button" role="tab" aria-controls="versions" {% if selected_tab == 'versions' %} aria-selected="true" {% endif %}>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6"> <path stroke-linecap="round" stroke-linejoin="round" d="M16.5 3.75V16.5L12 14.25 7.5 16.5V3.75m9 0H18A2.25 2.25 0 0120.25 6v12A2.25 2.25 0 0118 20.25H6A2.25 2.25 0 013.75 18V6A2.25 2.25 0 016 3.75h1.5m9 0h-9" /> </svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6"> <path stroke-linecap="round" stroke-linejoin="round" d="M9 12.75L11.25 15 15 9.75m-3-7.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285z" /> </svg>
|
||||
<span class="hidden md:inline">Versions</span>
|
||||
</button>
|
||||
</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user