Add DoD ID tooltip to app member and portfolio member forms
This commit is contained in:
parent
aa35ef795b
commit
e4e6c4d277
@ -95,4 +95,9 @@
|
||||
.icon {
|
||||
@include icon-size(16);
|
||||
}
|
||||
|
||||
&--tight {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
{% from "components/alert.html" import Alert %}
|
||||
{% from "components/checkbox_input.html" import CheckboxInput %}
|
||||
{% from "components/text_input.html" import TextInput %}
|
||||
{% from "components/phone_input.html" import PhoneInput %}
|
||||
{% from "components/text_input.html" import TextInput %}
|
||||
{% from "components/tooltip.html" import Tooltip %}
|
||||
|
||||
{% macro EnvRoleInput(sub_form, member_role_id=None) %}
|
||||
{% set role = sub_form.role.data if not sub_form.disabled.data else "Access Suspended" %}
|
||||
@ -121,6 +122,6 @@
|
||||
{{ TextInput(member_form.email, validation='email', optional=False) }}
|
||||
{{ PhoneInput(member_form.phone_number, member_form.phone_ext)}}
|
||||
{{ TextInput(member_form.dod_id, validation='dodId', optional=False) }}
|
||||
<a href="#">{{ "forms.new_member.dod_help" | translate }}</a>
|
||||
{{ "forms.new_member.dod_help" | translate }} {{ Tooltip("forms.new_member.dod_text"|translate, title="", classes="icon-tooltip--tight") }}
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
{% macro Tooltip(message,title='Help', classes="") %}
|
||||
|
||||
<button type="button" tabindex="0" class="icon-tooltip {{classes}}" v-tooltip.top="{content: '{{message}}', container: false}">
|
||||
<button type="button" tabindex="0" class="icon-tooltip {{classes}}" v-tooltip.top='{content: "{{message}}", container: false}'>
|
||||
{{ Icon('question') }}<span>{{ title }}</span>
|
||||
</button>
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
{% from "components/icon.html" import Icon %}
|
||||
{% from "components/phone_input.html" import PhoneInput %}
|
||||
{% from "components/text_input.html" import TextInput %}
|
||||
{% from "components/tooltip.html" import Tooltip %}
|
||||
|
||||
{% macro PermsFields(form, member_role_id=None) %}
|
||||
<h2>Set Portfolio Permissions</h2>
|
||||
@ -32,6 +33,6 @@
|
||||
{{ TextInput(member_form.email, validation='email', optional=False) }}
|
||||
{{ PhoneInput(member_form.phone_number, member_form.phone_ext)}}
|
||||
{{ TextInput(member_form.dod_id, validation='dodId', optional=False) }}
|
||||
<a href="#">{{ "forms.new_member.dod_help" | translate }}</a>
|
||||
{{ "forms.new_member.dod_help" | translate }} {{ Tooltip("forms.new_member.dod_text"|translate, title="", classes="icon-tooltip--tight") }}
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
@ -246,6 +246,7 @@ forms:
|
||||
description: Add, remove and edit applications in this Portfolio.
|
||||
dod_id_label: DoD ID
|
||||
dod_help: How do I find out the DoD ID?
|
||||
dod_text: "An individual's DOD ID (formerly known as EDIPI) number can be found on the back of their CAC. Access to this system requires a valid CAC and DOD ID."
|
||||
email_label: Email address
|
||||
first_name_label: First name
|
||||
funding:
|
||||
|
Loading…
x
Reference in New Issue
Block a user