Permalink
Browse files

Fixing profile template problems

  • Loading branch information...
1 parent c106cdf commit 737f1657ebfe8d81b3acd8b6c04720b691a1ca53 @andrewhayward committed Dec 5, 2012
Showing with 15 additions and 15 deletions.
  1. +15 −15 gameon/users/templates/users/profile.html
@@ -21,23 +21,23 @@ <h1 class="busta shout">{{ profile.display_name }}</h1>
{% endif %}
</aside>
<div class="main-col">
- {% if entries %}
- <ol class="entries cf">
- {% for sub in entries %}
- <li>
- <a href="{{ url('submissions.entry_single', slug=sub.slug) }}">
- <span class="frame"><img src="{{ sub.get_image_src() }}" width="180" height="102" alt="" /></span>
- {{ sub.title }}
- </a>
- {% if sub.editable_by(user=request.user) and request.challenge.is_open() %}
- <a class="cta whimper" href="{{ url('submissions.entry_edit', slug=sub.slug) }}">Edit your game</a>
- {% endif %}
- </li>
- {% endfor %}
- </ol>
+ {% if entries %}
+ <ol class="entries cf">
+ {% for sub in entries %}
+ <li>
+ <a href="{{ url('submissions.entry_single', slug=sub.slug) }}">
+ <span class="frame"><img src="{{ sub.get_image_src() }}" width="180" height="102" alt="" /></span>
+ {{ sub.title }}
+ </a>
+ {% if sub.editable_by(user=request.user) and request.challenge.is_open() %}
+ <a class="cta whimper" href="{{ url('submissions.entry_edit', slug=sub.slug) }}">Edit your game</a>
+ {% endif %}
+ </li>
+ {% endfor %}
+ </ol>
+ {% endif %}
</div>
</div>
</div>
</section>
-{% endif %}
{% endblock %}

0 comments on commit 737f165

Please sign in to comment.