Added "Go to shop" URL

This commit is contained in:
Raphael Michel
2016-02-23 09:13:49 +01:00
parent 2f10dd7c86
commit afd8b944e7
2 changed files with 11 additions and 1 deletions

View File

@@ -1,8 +1,14 @@
{% extends "pretixcontrol/event/base.html" %}
{% load i18n %}
{% load eventurl %}
{% block title %}{{ request.event.name }}{% endblock %}
{% block content %}
<h1>{{ request.event.name }}</h1>
<h1>
{{ request.event.name }}
<a href="{% eventurl request.event "presale:event.index" %}" class="btn btn-default btn-sm" target="_blank">
{% trans "Go to shop" %}
</a>
</h1>
<div class="row dashboard">
{% for w in widgets %}
<div class="col-xs-12 col-sm-{% if w.width > 6 %}12{% else %}6{% endif %} col-md-{{ w.width }}">

View File

@@ -60,6 +60,10 @@ nav.navbar {
}
}
h1 .btn-sm {
margin-top: -5px;
}
.btn-toolbar {
margin-bottom: 20px;
}