Fixed buttons a bit.

This commit is contained in:
Víðir Valberg Guðmundsson 2019-03-12 11:18:50 +01:00
parent 0a3c71337e
commit 6b5f610d49

View file

@ -8,21 +8,23 @@ Guide for: {{ team.name }} | {{ block.super }}
{% block team_content %}
<div class="panel panel-default">
<div class="panel-heading clearfix">
<h4 class="pull-left">
<div class="panel-heading">
<div class="btn-group pull-right">
<a href="{% url 'teams:guide_print' camp_slug=camp.slug team_slug=team.slug %}"
class="btn btn-default"
target="_blank">
Print
</a>
{% if request.user in team.responsible_members.all %}
<a href="{% url 'teams:manage' camp_slug=camp.slug team_slug=team.slug %}" class="btn btn-warning">Edit</a>
{% endif %}
</div>
<h4>
Guide / Howto for {{ team.name }}
</h4>
<a href="{% url 'teams:guide_print' camp_slug=camp.slug team_slug=team.slug %}"
class="btn btn-default pull-right"
target="_blank">
Print
</a>
</div>
<div class="panel-body">
<p>
{% if request.user in team.responsible.all %}
<a href="{% url 'teams:manage' camp_slug=camp.slug team_slug=team.slug %}" class="btn btn-warning">Edit</a>
{% endif %}
</p>
<div class="team-guide-markdown">