mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-04-03 09:21:48 +01:00
removed menu link to edit database object directly
This commit is contained in:
parent
fd95bb8198
commit
e6adced39d
@ -22,9 +22,7 @@
|
|||||||
{% if user.person %}(<a href="{{ user.person.get_absolute_url }}">{{ user.person }}</a>){% endif %}
|
{% if user.person %}(<a href="{{ user.person.get_absolute_url }}">{{ user.person }}</a>){% endif %}
|
||||||
| <a <a href='/accounts/logout/'>Log out</a> {% else %} <a href='/accounts/login/'>Log in</a> {% endif %}
|
| <a <a href='/accounts/logout/'>Log out</a> {% else %} <a href='/accounts/login/'>Log in</a> {% endif %}
|
||||||
{% endblock%}
|
{% endblock%}
|
||||||
{% block editLink %}
|
|
||||||
|
|
||||||
{% endblock %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="toolbarlinks">
|
<div class="toolbarlinks">
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block title %}Expedition {{expedition.name}}{% endblock %}
|
{% block title %}Expedition {{expedition.name}}{% endblock %}
|
||||||
{% block editLink %}<a href={{expedition.get_admin_url}}>Edit expedition {{expedition}}</a>{% endblock %}
|
|
||||||
|
|
||||||
{% block related %}
|
{% block related %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
<!-- logbookentry.html - this text visible because this template has been included -->
|
<!-- logbookentry.html - this text visible because this template has been included -->
|
||||||
|
|
||||||
{% block title %}Logbook {{logbookentry.id}}{% endblock %}
|
{% block title %}Logbook {{logbookentry.id}}{% endblock %}
|
||||||
|
|
||||||
{% block editLink %}<a href={{logbookentry.get_admin_url}}/>Edit logbook entry {{logbookentry|safe}}</a>{% endblock %}
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
{% block related %}{% endblock %}
|
{% block related %}{% endblock %}
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block title %}Person {{person}}{% endblock %}
|
{% block title %}Person {{person}}{% endblock %}
|
||||||
|
|
||||||
{% block editLink %}| <a href={{person.get_admin_url}}>Edit person {{person}}</a>{% endblock %}
|
|
||||||
|
|
||||||
{% block contentheader %}
|
{% block contentheader %}
|
||||||
<h2> {{person|safe}} </h2>
|
<h2> {{person|safe}} </h2>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% load link %}
|
{% load link %}
|
||||||
{% block title %} QM: {{qm|safe}} {% endblock %}
|
{% block title %} QM: {{qm|safe}} {% endblock %}
|
||||||
|
|
||||||
{% block editLink %}| <a href={{qm.get_admin_url}}>Edit QM {{qm|safe}}</a>{% endblock %}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{% block contentheader %}
|
{% block contentheader %}
|
||||||
<table id="cavepage">
|
<table id="cavepage">
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user