mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 00:31:55 +00:00
Removing cave field underground_centre_line
This commit is contained in:
parent
026d959aeb
commit
688a1795e7
@ -67,10 +67,10 @@ class CaveForm(ModelForm):
|
|||||||
label = "Kataster code, see below",
|
label = "Kataster code, see below",
|
||||||
widget=forms.TextInput(attrs={"placeholder": "see example below"})
|
widget=forms.TextInput(attrs={"placeholder": "see example below"})
|
||||||
)
|
)
|
||||||
underground_centre_line = forms.CharField(
|
# underground_centre_line = forms.CharField(
|
||||||
required=False,
|
# required=False,
|
||||||
widget=HTMLarea(attrs={"height": "80%", "rows": 20, "placeholder": "Enter page content (using HTML)"}),
|
# widget=HTMLarea(attrs={"height": "80%", "rows": 20, "placeholder": "Enter page content (using HTML)"}),
|
||||||
)
|
# )
|
||||||
notes = forms.CharField(
|
notes = forms.CharField(
|
||||||
required=False,
|
required=False,
|
||||||
widget=HTMLarea(attrs={"height": "80%", "rows": 20, "placeholder": "Enter page content (using HTML)"}),
|
widget=HTMLarea(attrs={"height": "80%", "rows": 20, "placeholder": "Enter page content (using HTML)"}),
|
||||||
@ -92,7 +92,7 @@ class CaveForm(ModelForm):
|
|||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Cave
|
model = Cave
|
||||||
exclude = ("filename","url")
|
exclude = ("filename","url", "underground_centre_line")
|
||||||
|
|
||||||
field_order = ['unofficial_number', 'kataster_number', 'official_name', 'underground_description', 'survey', 'underground_centre_line', 'explorers', 'equipment', 'notes', 'references', 'description_file', 'survex_file', 'areacode', 'length', 'depth', 'extent',
|
field_order = ['unofficial_number', 'kataster_number', 'official_name', 'underground_description', 'survey', 'underground_centre_line', 'explorers', 'equipment', 'notes', 'references', 'description_file', 'survex_file', 'areacode', 'length', 'depth', 'extent',
|
||||||
'kataster_code', 'kataster_status' ]
|
'kataster_code', 'kataster_status' ]
|
||||||
|
@ -97,12 +97,15 @@
|
|||||||
{{ cave.kataster_status|safe }}
|
{{ cave.kataster_status|safe }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
<!--
|
||||||
{% comment "Is this underground centre line section ever usefull? I suspect it should be deleted. MJG" %}
|
{% comment "Is this underground centre line section ever usefull? I suspect it should be deleted. MJG" %}
|
||||||
|
Nope, it is not useful, removing it... Philip S.
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
{% if cave.underground_centre_line %}
|
{% if cave.underground_centre_line %}
|
||||||
<h2>Underground Centre Line</h2>
|
<h2>Underground Centre Line</h2>
|
||||||
{{ cave.underground_centre_line|safe }}
|
{{ cave.underground_centre_line|safe }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
-->
|
||||||
{% if cave.explorers %}
|
{% if cave.explorers %}
|
||||||
<h2>Explorers</h2>
|
<h2>Explorers</h2>
|
||||||
{{ cave.explorers|safe }}
|
{{ cave.explorers|safe }}
|
||||||
|
Loading…
Reference in New Issue
Block a user