beerfingers / bf-templates / bar / index_journal.html

Full commit
{% extends "index.html" %}

{% block title %} Ratings Index {% endblock %}

{% block content %}
	<!-- start recent ratings -->
	<h3>What you've rated</h3>
	<div class="accordion clearleft">
	<div id="consumption">	
{% for item in journal_list.object_list %}

	<p class="head beerpanel">
		<span class="beername">
		<a href="#">{{}}</a>
		<span class="desire">{{ item.satisfaction.satgroup }}</span> 
	<div class="details">
		<span class="note">Note: {{ item.note }}</span>
		<span class="brewery">{{ item.brewery.breweryname }}</span>
		<span class="abv">{{ }}% ABV</span>
		<span class="date">{{ item.datetime }}</span>
		<span class="beerstyle" style="">{{ }}</span>
		<a href="{% url bar.views.edit_journal %}" class="small-link">{Edit}</a>
		<p class='spacer'></p>

{% empty %}
	<p>No Ratings yet. Add One!</p>
{% endfor %}
	</div><!-- end recent ratings -->
		<!-- pagination -->
	<div class="pagination" style="clear: both;">
		<span class="step-links">
			{% if journal_list.has_previous %}
				<a href="?page={{ journal_list.previous_page_number }}">previous</a>
			{% endif %}

			<span class="current">
				Page {{ journal_list.number }} of {{ journal_list.paginator.num_pages }}.

			{% if journal_list.has_next %}
				<a href="?page={{ journal_list.next_page_number }}">next</a>
			{% endif %}
	</div><!-- end pagination -->
{% endblock %}	
{% block column %}

      <div><img alt="Profile picture" src="{{ MEDIA_URL }}images/default-avatar.png"/>
	<div>	{% if user %}
		<a href="{% url profiles.views.profile_detail user %}" rel="Personal Information">{{ user.first_name}} {{ user.last_name }}</a>
		<a href="{% url profiles.views.profile_detail user %}" rel="Personal Information">Profile</a>
		{% endif %}
	<p><strong>Search</strong> for beer or breweries to <strong>rate</strong> the beers you've drank. You can rate multiple time if you choose too, and <strong>no mininum</strong> word requirements. <strong>No deletes!</strong></p>
	<p>BeerFingers rating system is very <strong>simple.</strong> If you want to do the standard five paragraph review it's up to you.</p>
	<p>Give me feedback at <a href="" rel="nofollow">@BeerFingers</a></p>

{% endblock %}