Fixed buttons a bit.
This commit is contained in:
parent
0a3c71337e
commit
6b5f610d49
|
@ -8,21 +8,23 @@ Guide for: {{ team.name }} | {{ block.super }}
|
||||||
{% block team_content %}
|
{% block team_content %}
|
||||||
|
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading clearfix">
|
<div class="panel-heading">
|
||||||
<h4 class="pull-left">
|
<div class="btn-group pull-right">
|
||||||
Guide / Howto for {{ team.name }}
|
|
||||||
</h4>
|
|
||||||
<a href="{% url 'teams:guide_print' camp_slug=camp.slug team_slug=team.slug %}"
|
<a href="{% url 'teams:guide_print' camp_slug=camp.slug team_slug=team.slug %}"
|
||||||
class="btn btn-default pull-right"
|
class="btn btn-default"
|
||||||
target="_blank">
|
target="_blank">
|
||||||
Print
|
Print
|
||||||
</a>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<p>
|
<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>
|
</p>
|
||||||
|
|
||||||
<div class="team-guide-markdown">
|
<div class="team-guide-markdown">
|
||||||
|
|
Loading…
Reference in a new issue