-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4f3bfe
commit ab1d4ec
Showing
3 changed files
with
29 additions
and
8 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
src/eke.knowledge/src/eke/knowledge/migrations/0012_datacollectionindex_preamble.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 4.1.9 on 2023-09-14 09:35 | ||
|
||
from django.db import migrations | ||
import wagtail.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('ekeknowledge', '0011_rename_value_interest_description'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='datacollectionindex', | ||
name='preamble', | ||
field=wagtail.fields.RichTextField(blank=True, help_text='Text to appear at the top of the page'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,13 +10,9 @@ | |
|
||
{% edrn_boilerplate 'hidden-data-notice' %} | ||
|
||
{% if page.metadata_collection_form %} | ||
{% if page.preamble %} | ||
<div class='row'> | ||
<p> | ||
If you have data you would like captured or linked in LabCAS, please complete the | ||
<a href='{{page.metadata_collection_form.url}}'>{{page.metadata_collection_form.title}}</a>. | ||
Or contact the <a href='mailto:[email protected]'>Informatics Center</a> with any questions. | ||
</p> | ||
{{page.preamble|richtext}} | ||
</div> | ||
{% endif %} | ||
|
||
|