2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-28 18:11:52 +00:00
troggle/templates/frontpage.html

58 lines
2.3 KiB
HTML
Raw Normal View History

2022-03-18 10:21:25 +00:00
<!-- frontpage.html - this text visible because this template has been included -->
2011-07-11 02:10:22 +01:00
{% extends "base.html" %}
2021-04-02 20:41:42 +01:00
2011-07-11 02:10:22 +01:00
{% block title %}Cambridge Expeditions to Austria{% endblock %}
{% block related %}
<h2>Recent Actions - admin user</h5>
2011-07-11 02:10:22 +01:00
{% load log %}
2020-05-31 22:35:36 +01:00
{% get_admin_log 10 as admin_log for_user 1 %}
2011-07-11 02:10:22 +01:00
{% if not admin_log %}
<p>No recent actions</p>
{% else %}
<ul class="actionlist">
{% for entry in admin_log %}
<li class="{% if entry.is_addition %}addlink{% endif %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{% endif %}">
{% if entry.is_deletion %}
{{ entry.object_repr }}
{% else %}
<a href="{{ entry.get_admin_url }}/">{{ entry.object_repr }}</a>
2011-07-11 02:10:22 +01:00
{% endif %}
<br/>
{% if entry.content_type %}
<span class="mini quiet">{% filter capfirst %}{{entry.content_type.name}}{% endfilter %}</span>
{% else %}
<span class="mini quiet">Unknown content</span>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
{% endblock %}
{% block content %}
<div id="col1">
<h3>Welcome</h3>
<p class="indent">
This is <b>Troggle</b>, the online system for Cambridge University Caving Club's Expeditions to Austria.
2011-07-11 02:10:22 +01:00
</p>
<p class="indent">
Here you will find information about the {{expedition.objects.count}} expeditions the club has undertaken since 1976. Browse survey information, photos, and description pages for {{Cave.objects.count}} caves and {{extantqms.count}} going leads yet to be explored. We have {{Photo.objects.count}} photos and {{Logbookentry.objects.count}} logbook entries.
2011-07-11 02:10:22 +01:00
</p>
<p class="indent">
<!-- logged in users are directed to 'tasks.html' not this 'frontpage.html' -->
You are not logged-in, so a few of the unpublished cave survey pages will not be visible to you. And of course you will not be able to edit anything.
2011-07-11 02:10:22 +01:00
</p>
<!-- <img src="/expofiles/photos/2007/selected/eishoehle5nial.jpg">-->
<img src="/expofiles/photos/2007/selected/eishoehle4nial.jpg">
<p>Nial in <a href="/expofiles/photos/2007/selected/">Eishohle in 2007</a>.
2011-07-11 02:10:22 +01:00
{% endblock content %}
{% block margins %}
{% endblock margins %}