2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00

removed menu link to edit database object directly

This commit is contained in:
Philip Sargent 2021-05-03 21:21:28 +01:00
parent fd95bb8198
commit e6adced39d
5 changed files with 0 additions and 14 deletions

View File

@ -22,9 +22,7 @@
{% 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 %}
{% endblock%}
{% block editLink %}
{% endblock %}
</div>
</div>
<div class="toolbarlinks">

View File

@ -1,7 +1,5 @@
{% extends "base.html" %}
{% block title %}Expedition {{expedition.name}}{% endblock %}
{% block editLink %}<a href={{expedition.get_admin_url}}>Edit expedition {{expedition}}</a>{% endblock %}
{% block related %}
{% endblock %}

View File

@ -2,8 +2,6 @@
<!-- logbookentry.html - this text visible because this template has been included -->
{% block title %}Logbook {{logbookentry.id}}{% endblock %}
{% block editLink %}<a href={{logbookentry.get_admin_url}}/>Edit logbook entry {{logbookentry|safe}}</a>{% endblock %}
{% block content %}
{% block related %}{% endblock %}

View File

@ -1,8 +1,5 @@
{% extends "base.html" %}
{% block title %}Person {{person}}{% endblock %}
{% block editLink %}| <a href={{person.get_admin_url}}>Edit person {{person}}</a>{% endblock %}
{% block contentheader %}
<h2> {{person|safe}} </h2>
{% endblock %}

View File

@ -1,11 +1,6 @@
{% extends "base.html" %}
{% load link %}
{% block title %} QM: {{qm|safe}} {% endblock %}
{% block editLink %}| <a href={{qm.get_admin_url}}>Edit QM {{qm|safe}}</a>{% endblock %}
{% block contentheader %}
<table id="cavepage">
<tr>