Skip to content

Commit

Permalink
Merge pull request #2331 from studentinsights/patch/504-team-members-…
Browse files Browse the repository at this point in the history
…present

504: Update copy for 504 dialog for team members present
  • Loading branch information
kevinrobinson committed Dec 17, 2018
2 parents ff2607f + 368a425 commit 6931fa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/assets/javascripts/student_profile/EdPlansPanel.js
Expand Up @@ -64,8 +64,8 @@ export default class EdPlansPanel extends React.Component {
</div>
{this.renderSubstanceIfPresent(edPlan)}
<div style={styles.section}>
<h6>Persons responsible</h6>
{reformatPersons(edPlan.sep_fieldd_007, 'None listed.')}
<h6>Team members present</h6>
{reformatTeamMembersPresent(edPlan.sep_fieldd_007, 'None listed.')}
</div>
<div style={styles.section}>
<h6>Accommodations</h6>
Expand Down Expand Up @@ -172,7 +172,7 @@ function reformatDate(maybeDateText, elseValue = null) {
return toMomentFromRailsDate(maybeDateText).format('M/D/YYYY');
}

function reformatPersons(personsText, elseValue = null) {
function reformatTeamMembersPresent(personsText, elseValue = null) {
if (!personsText || personsText === '') return elseValue;
return (
<ul style={{...styles.simpleList, listStyleType: 'circle'}}>
Expand Down
Expand Up @@ -93,7 +93,7 @@ exports[`snapshots 1`] = `
}
>
<h6>
Persons responsible
Team members present
</h6>
<ul
style={
Expand Down

0 comments on commit 6931fa1

Please sign in to comment.