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
campsite where you and a bunch of your friends/likeminded people camp
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>Villages can also rent village tents. The details are not in place yet,
but stay tuned for the announcement. The idea is that you order and pay
for a large tent which will then be setup and ready when you arrive. The
tents have wooden floors and you can rent folding tables and chairs as needed.
<p>Villages can also rent village tents via us, head over to the
<a href="{% url 'shop:index' %}?category=villages">
villages section of the shop</a>.
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>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>
@ -235,7 +240,6 @@ Info | {{ block.super }}
<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>
</dl>
</p>
</div>
</div>

View file

@ -5,9 +5,9 @@
<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>
<button type="submit" class="btn btn-black form-control">Confirm</button>
<button type="submit" class="btn btn-danger form-control">Confirm</button>
<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>
{% endblock %}

View file

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