#63 Replacing vote expiration with vote accuarcy
This commit is contained in:
		@@ -28,12 +28,7 @@
 | 
			
		||||
				</div>
 | 
			
		||||
 | 
			
		||||
				<div class="LP-Voting__Expiration">
 | 
			
		||||
					<span class="LP-Voting__InfoLabel">Your vote expires on</span>
 | 
			
		||||
					<span class="LP-Voting__Date">
 | 
			
		||||
						<time datetime="{{voting.expires_when|date:'Y-m-d'}}">
 | 
			
		||||
							{{voting.users_vote.expires_when|date:'d.m.Y'}}
 | 
			
		||||
						</time>
 | 
			
		||||
					</span>
 | 
			
		||||
					The accuracy of the voting is {{voting.accuracy}}%
 | 
			
		||||
				</div>
 | 
			
		||||
			</div>
 | 
			
		||||
		</div>
 | 
			
		||||
 
 | 
			
		||||
@@ -23,7 +23,15 @@
 | 
			
		||||
{% block maincontent %}
 | 
			
		||||
<article class="LP-PlaceDetail">
 | 
			
		||||
    <header class="LP-PlaceDetail__Header">
 | 
			
		||||
        <h1 class="LP-Headline">{{ place.name }} {% include 'partials/icons/place_favorite.html' %} {% include 'partials/icons/place_visited.html' %}</h1>
 | 
			
		||||
        <h1 class="LP-Headline">
 | 
			
		||||
			{{ place.name }}
 | 
			
		||||
			{% include 'partials/icons/place_favorite.html' %}
 | 
			
		||||
			{% include 'partials/icons/place_visited.html' %}
 | 
			
		||||
 | 
			
		||||
			{% if user.is_superuser %}
 | 
			
		||||
            	<a class="LP-Link" href="{{'/admin/lostplaces/place/'|addstr:place.id }}" target="_blank"><span class="LP-Link__Text">{% translate 'view place in admin panel' %}</span></a>
 | 
			
		||||
            {% endif %}
 | 
			
		||||
		</h1>
 | 
			
		||||
        {% if place.get_hero_image %}
 | 
			
		||||
        <div class="LP-PlaceDetail__Image">
 | 
			
		||||
			{% include '../partials/image.html' with source_url=place.get_hero_image.filename.hero.url link_url="#image"|addstr:place.get_hero_index_in_queryset %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user