Skip to content

Commit

Permalink
VACMS-17477: Updated character counter on News Releases (#19126)
Browse files Browse the repository at this point in the history
* Updated character count to match guidance

* Undeleted help text
  • Loading branch information
davidmpickett authored and keisterj-oddball committed Sep 19, 2024
1 parent dc9ca00 commit b955c66
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ content:
placeholder: ''
maxlength: 300
counter_position: after
js_prevent_submit: false
js_prevent_submit: true
count_html_characters: false
textcount_status_message: 'Characters Used: <span class="current_count">@current_length</span><br />Characters Remaining: <span class="remaining_count">@remaining_count</span>'
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
third_party_settings: { }
field_last_saved_by_an_editor:
type: datetime_timestamp
Expand Down Expand Up @@ -189,9 +189,9 @@ content:
use_field_maxlength: false
maxlength: 150
counter_position: after
js_prevent_submit: false
js_prevent_submit: true
count_html_characters: false
textcount_status_message: 'Characters Used: <span class="current_count">@current_length</span><br />Characters Remaining: <span class="remaining_count">@remaining_count</span>'
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
third_party_settings: { }
url_redirects:
weight: 7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ field_name: field_intro_text
entity_type: node
bundle: press_release
label: Introduction
description: "<p>The first sentence (\"lede\") of the press release is displayed more prominently (<a href=\"#\">see screenshot</a>). It is also displayed in teaser lists of press releases.</p>\r\n\r\n<p>This should serve as a summary of the contents of the press release. Do not include the location or the em-dash – those are added automatically from the other fields.</p>\r\n<p><em>Maximum characters: 300</em></p>\r\n\r\n"
description: "<p>The first sentence (\"lede\") of the press release is displayed more prominently (<a href=\"#\">see screenshot</a>). It is also displayed in teaser lists of press releases.</p>\r\n\r\n<p>This should serve as a summary of the contents of the press release. Do not include the location or the em-dash – those are added automatically from the other fields.</p>"
required: true
translatable: false
default_value: { }
Expand Down
2 changes: 1 addition & 1 deletion config/sync/node.type.press_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ third_party_settings:
- va-wilmington-health-care
parent: 'pittsburgh-health-care:'
node_title_help_text:
title_help: "The topic of this news release, in sentence case.<br/>\r\n<em>Maximum characters: 150</em>"
title_help: "The topic of this news release, in sentence case.<br/>"
node_revision_delete:
minimum_revisions_to_keep: 50
minimum_age_to_delete: 0
Expand Down

0 comments on commit b955c66

Please sign in to comment.