Part three: Release 1.6.0

This commit is contained in:
Eleanor Graham 2020-04-21 14:10:12 -04:00
parent e19e9559e7
commit cc3634e011
6 changed files with 72 additions and 4 deletions

View File

@ -69,7 +69,23 @@ class IdentificationQuestionnaire(db.Model):
info={
"display_order": 3,
"type": "input",
"template_options": {"label": "Middle name", "required": False},
"template_options": {"label": "Middle name"},
"hide_expression": 'model.no_middle_name',
"expression_properties": {
"template_options.required": '!model.no_middle_name'
}
},
)
no_middle_name = db.Column(
db.Boolean,
info={
"display_order": 3.5,
"type": "checkbox",
"defaultValue": False,
"template_options": {
"label": "If NO Middle Name click here",
"required": False,
},
},
)
last_name = db.Column(

View File

@ -0,0 +1,24 @@
"""merge cf9f2ed356ab and 12b4edc6125b
Revision ID: 80c3b2f1d995
Revises: cf9f2ed356ab, 12b4edc6125b
Create Date: 2020-04-21 14:04:13.168702
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '80c3b2f1d995'
down_revision = ('cf9f2ed356ab', '12b4edc6125b')
branch_labels = None
depends_on = None
def upgrade():
pass
def downgrade():
pass

View File

@ -0,0 +1,28 @@
"""empty message
Revision ID: cf9f2ed356ab
Revises: 62150b1fb708
Create Date: 2020-04-20 15:05:12.110591
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = 'cf9f2ed356ab'
down_revision = '62150b1fb708'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('identification_questionnaire', sa.Column('no_middle_name', sa.Boolean(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('identification_questionnaire', 'no_middle_name')
# ### end Alembic commands ###

View File

@ -27,6 +27,6 @@
<body>
<app-root></app-root>
<script src="runtime-es2015.858f8dd898b75fe86926.js" type="module"></script><script src="polyfills-es2015.696ad2b135b52dd9855f.js" type="module"></script><script src="runtime-es5.741402d1d47331ce975c.js" nomodule></script><script src="polyfills-es5.6ba1fc6238374eb32f77.js" nomodule></script><script src="main-es2015.9e1ff54554dd4ce46f65.js" type="module"></script><script src="main-es5.ab952389dc65e048a9d6.js" nomodule></script></body>
<script src="runtime-es2015.858f8dd898b75fe86926.js" type="module"></script><script src="polyfills-es2015.696ad2b135b52dd9855f.js" type="module"></script><script src="runtime-es5.741402d1d47331ce975c.js" nomodule></script><script src="polyfills-es5.6ba1fc6238374eb32f77.js" nomodule></script><script src="main-es2015.a4945aaaff15d1647565.js" type="module"></script><script src="main-es5.092d11f50dd7ed19d1d4.js" nomodule></script></body>
</html>

File diff suppressed because one or more lines are too long