Updating info about villages. Styling buttons in the village CRUD.

This commit is contained in:
Víðir Valberg Guðmundsson 2016-07-10 20:06:08 +02:00
parent f7e2cf54b6
commit 25570632b2
3 changed files with 17 additions and 13 deletions

View file

@ -205,16 +205,21 @@ Info | {{ block.super }}
confusing but it is fairly simple: a village is just a spot on the confusing but it is fairly simple: a village is just a spot on the
campsite where you and a bunch of your friends/likeminded people camp campsite where you and a bunch of your friends/likeminded people camp
together. Apart from peoples individual tents which they sleep in, many together. Apart from peoples individual tents which they sleep in, many
villages bring a large common tent where you can hack and hang out during the day. villages bring a large common tent where you can hack and hang out
during the day.
</p> </p>
<p>Villages can also rent village tents. The details are not in place yet, <p>Villages can also rent village tents via us, head over to the
but stay tuned for the announcement. The idea is that you order and pay <a href="{% url 'shop:index' %}?category=villages">
for a large tent which will then be setup and ready when you arrive. The villages section of the shop</a>.
tents have wooden floors and you can rent folding tables and chairs as needed. The tents will be ready for when you arrive and will be teared down
again saturday the 3rd of September at 12:00. The tents have optional
floors and you can rent folding tables and chairs as needed.
</p>
<p><a href="{% url 'villages:list' %}">You can register your village registration here</a>!
If you don't want to make your own village you will possibly be able to
find and join one that suits your interests.
Get in touch if you have any questions!
</p> </p>
<p>Village registration is not finished yet, but stay tuned!
If you don't want to make your own village you will likely
be able to find and join one that suits your interests.</p>
</div> </div>
</div> </div>
@ -235,7 +240,6 @@ Info | {{ block.super }}
<dt>Kiosk</dt> <dt>Kiosk</dt>
<dd>We sell a few beverages and sweets as well as practical things like coal for the barbeque. We will accept the same payment methods at the venue as we do on the website: cash, cards, and blockchain.</dd> <dd>We sell a few beverages and sweets as well as practical things like coal for the barbeque. We will accept the same payment methods at the venue as we do on the website: cash, cards, and blockchain.</dd>
</dl> </dl>
</p>
</div> </div>
</div> </div>

View file

@ -5,9 +5,9 @@
<form action="" method="post" class="col-md-6 col-md-offset-3">{% csrf_token %} <form action="" method="post" class="col-md-6 col-md-offset-3">{% csrf_token %}
<p>Are you sure you want to delete the village "{{ village }}"?</p> <p>Are you sure you want to delete the village "{{ village }}"?</p>
<button type="submit" class="btn btn-black form-control">Confirm</button> <button type="submit" class="btn btn-danger form-control">Confirm</button>
<br /> <br />
<br /> <br />
<a href="{% url 'villages:detail' slug=village.slug %}" class="btn btn-black form-control">Cancel</a> <a href="{% url 'villages:detail' slug=village.slug %}" class="btn btn-default form-control">Cancel</a>
</form> </form>
{% endblock %} {% endblock %}

View file

@ -10,8 +10,8 @@
<hr /> <hr />
{% if user == village.contact %} {% if user == village.contact %}
<a href="{% url 'villages:update' slug=village.slug %}">Edit</a> | <a href="{% url 'villages:update' slug=village.slug %}" class="btn btn-primary">Edit</a>
<a href="{% url 'villages:delete' slug=village.slug %}">Delete</a> <a href="{% url 'villages:delete' slug=village.slug %}" class="btn btn-danger">Delete</a>
{% endif %} {% endif %}
{% endblock %} {% endblock %}