{% extends "competition/competition_base_sidebar.html" %}

{% block page-header %}
  <div class="page-header" style="margin-top:20px;">
    <div class="row">
      <div id="name" class="col-sm-9 col-md-9">
        <h1>{{ competition.name }}</h1>
      </div>
    </div>
    <p style="font-size:16px;">
      <i>{{ competition.description }}</i>
    </p>
  </div>
{% endblock %}

{% block competition_content %}
  <div class="row">
    {% if competition.image %}
      <div id="avatar" class="col-sm-6 col-md-6">
        <br>
        <a href="{{ competition.image.url }}">
          <img src="{{ competition.image.url }}" class="img-polaroid" alt="{{ competition.name }}" style="width:100%">
        </a>
      </div>
    {% endif %}
    <div class="col-sm-{% if competition.image %}6{% else %}12{% endif %}
                col-md-{% if competition.image %}6{% else %}12{% endif %}">
      <h2>Details</h2>
      {% include "competition/competition/_competition_detail.html" %}
      {% if user.is_authenticated and competition.is_open and not user_team %}
        <p class="text-info text-center">
          <span class="label label-info">Heads up</span>
          You must be on a team to access competition code. Be
          sure to join one!
        </p>
      {% endif %}
    </div>
  </div>
{% endblock %}

{% extends "competition/competition_base_sidebar.html" %}

{% block page-header %}
  <div class="page-header" style="margin-top:20px;">
    <div class="row">
      <div id="name" class="col-sm-9 col-md-9">
        <h1>{{ competition.name }}</h1>
      </div>
    </div>
    <p style="font-size:16px;">
      <i>{{ competition.description }}</i>
    </p>
  </div>
{% endblock %}

{% block competition_content %}
  <div class="row">
    {% if competition.image %}
      <div id="avatar" class="col-sm-6 col-md-6">
          <img src="{{ competition.image.url }}" class="img-polaroid" alt="{{ competition.name }}" style="width:100%">
      </div>
    {% endif %}
    <div class="col-sm-{% if competition.image %}6{% else %}12{% endif %}
                col-md-{% if competition.image %}6{% else %}12{% endif %}">
      <h2>Details</h2>
      {% include "competition/competition/_competition_detail.html" %}
      {% if user.is_authenticated and competition.is_open and not user_team %}
        <p class="text-info text-center">
          <span class="label label-info">Heads up</span>
          You must be on a team to access competition code. Be
          sure to join one!
        </p>
      {% endif %}
    </div>
  </div>
{% endblock %}

Remove link from competition image
Remove link from competition image
