Skip to content

Commit

Permalink
D8CORE-6843: Update bad user guide links in help text (#694)
Browse files Browse the repository at this point in the history
buttonwillowsix authored Sep 12, 2023
1 parent ee64be7 commit b689c81
Showing 11 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ field_name: su_lockup_enabled
entity_type: config_pages
bundle: lockup_settings
label: 'Use Default Lockup'
description: "Uncheck this box if you want to replace the default lock-up settings with a custom logo or text. This custom logo will appear in the top left corner of the website's main header.\r\n<strong>The lockup will only change the look. Remember to change the name of your site as well. For instructions, <a href=\"https://userguide.sites.stanford.edu/get-started/update-site-name\">see the user guide</a>.</strong>\r\n"
description: "Uncheck this box if you want to replace the default lock-up settings with a custom logo or text. This custom logo will appear in the top left corner of the website's main header.\r\n<strong>The lockup will only change the look. Remember to change the name of your site as well. For instructions, <a href=\"https://sitesuserguide.stanford.edu/get-started/update-site-name\">see the user guide</a>.</strong>\r\n"
required: false
translatable: false
default_value:
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ field_name: su_global_msg_type
entity_type: config_pages
bundle: stanford_global_message
label: 'Message Type'
description: "Select the display of the message. You can see examples in <a href=\"https://userguide.sites.stanford.edu/node/676/\">the user-guide.</a>\r\n"
description: "Select the display of the message. You can see examples in <a href=\"https://sitesuserguide.stanford.edu/node/676/\">the user-guide.</a>\r\n"
required: true
translatable: false
default_value:
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ field_name: su_local_foot_use_loc
entity_type: config_pages
bundle: stanford_local_footer
label: 'Use Default Lockup'
description: "Uncheck this box if you want to replace the default lock-up settings with a custom logo or text. This custom logo will appear in the top left corner of the website's main header.\r\n<strong>The lockup will only change the look. Remember to change the name of your site as well. For instructions, <a href=\"https://userguide.sites.stanford.edu/get-started/update-site-name\">see the user guide</a>.</strong>\r\n"
description: "Uncheck this box if you want to replace the default lock-up settings with a custom logo or text. This custom logo will appear in the top left corner of the website's main header.\r\n<strong>The lockup will only change the look. Remember to change the name of your site as well. For instructions, <a href=\"https://sitesuserguide.stanford.edu/get-started/update-site-name\">see the user guide</a>.</strong>\r\n"
required: false
translatable: false
default_value:
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ field_name: su_event_type
entity_type: node
bundle: stanford_event
label: 'Event Types'
description: 'Add all Event Type terms for this event. Note: Only the first selected term will be displayed to the end-users. The complete list of terms will be displayed at the end of the event page. <a href="https://userguide.sites.stanford.edu/build-and-design/events/events-taxonomy">How to add, edit and delete event terms.</a>'
description: 'Add all Event Type terms for this event. Note: Only the first selected term will be displayed to the end users. The complete list of terms will be displayed at the end of the event page. <a href="https://sitesuserguide.stanford.edu/build-and-design/page-types/event-content-type/event-taxonomy">How to add, edit and delete event terms.</a>'
required: false
translatable: false
default_value: { }
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ field_name: su_news_topics
entity_type: node
bundle: stanford_news
label: 'News Types'
description: 'Add all News Type terms for this article. Note: Only the top three selected terms will be displayed to the end-users. The complete list of terms will be displayed at the end of the article page. <a href="https://userguide.sites.stanford.edu/tour/news/how-add-edit-and-delete-news-topics-taxonomy">How to add, edit and delete news terms.</a>'
description: 'Add all News Type terms for this article. Note: Only the top three selected terms will be displayed to the end-users. The complete list of terms will be displayed at the end of the article page. <a href="https://sitesuserguide.stanford.edu/build-and-design/page-types/news-content-type/news-types">How to add, edit and delete news terms.</a>'
required: false
translatable: false
default_value: { }
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ field_name: su_publication_citation
entity_type: node
bundle: stanford_publication
label: 'Citation information'
description: 'Choose a type of publication item to display. You can preview display options in the <a href="https://userguide.sites.stanford.edu/tour/publications#publication-examples">user-guide</a>.'
description: 'Choose a type of publication item to display.'
required: false
translatable: false
default_value: { }
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ field_name: su_publication_topics
entity_type: node
bundle: stanford_publication
label: 'Publication Types'
description: 'Add all Publication Type terms for this article. Note: Only the top three selected terms will be displayed to the end-users. The complete list of terms will be displayed at the end of the article page. <a href="https://userguide.sites.stanford.edu/build-and-design/taxonomy/publication-taxonomy">How to add, edit and delete publication terms.</a>'
description: 'Add all Publication Type terms for this article. Note: Only the top three selected terms will be displayed to the end-users. The complete list of terms will be displayed at the end of the publication page. <a href="https://sitesuserguide.stanford.edu/build-and-design/taxonomy/publication-taxonomy">How to add, edit and delete publication terms.</a>'
required: false
translatable: false
default_value: { }
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ field_name: su_entity_item
entity_type: paragraph
bundle: stanford_entity
label: 'Content Item(s)'
description: 'Start typing the title of the piece of content to select it. You can add multiple items to create a curated list of teaser items. Learn more about the Teaser Paragraph in the <a href="https://userguide.sites.stanford.edu/tour/paragraphs/teaser">user-guide</a>.'
description: 'Start typing the title of the piece of content to select it. You can add multiple items to create a curated list of teaser items. Learn more about the Teaser Paragraph in the <a href="https://sitesuserguide.stanford.edu/build-and-design/paragraphs/teaser-paragraph">user-guide</a>.'
required: false
translatable: false
default_value: { }
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ field_name: su_list_view
entity_type: paragraph
bundle: stanford_lists
label: 'List Format'
description: 'Main display options for items presented in the list view. Use the settings under <a href="https://userguide.sites.stanford.edu/tour/paragraphs/lists#custom-list-with-taxonomy">Advance Options</a> to customize the list by taxonomy terms and change the number of items displayed in the list. Learn more about display options in the <a href="https://userguide.sites.stanford.edu/tour/paragraphs/lists">user-guide</a>.'
description: 'Main display options for items presented in the list view. Learn more in the section on <a href="https://sitesuserguide.stanford.edu/build-and-design/paragraphs/lists-paragraph">Advanced Options</a> to customize the list by taxonomy terms and change the number of items displayed in the list.'
required: false
translatable: false
default_value: { }
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ label: 'Publications Importer (experimental)'
source:
plugin: csv
csv_help:
- '<strong>CAUTION:</strong> Be sure to visit our <a href="https://userguide.sites.stanford.edu/tour/publications/importer">user-guide</a> to learn more about working with this CSV template.'
- '<strong>CAUTION:</strong> Be sure to visit our <a href="https://sitesuserguide.stanford.edu/build-and-design/page-types/publications-content-type/publications-importer">user-guide</a> to learn more about working with this CSV template.'
path: /tmp/foo.csv
ids:
- id
4 changes: 2 additions & 2 deletions src/Plugin/HelpSection/ProfileHelpSection.php
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ public function listTopics() {
protected function getUserGuide() {
$help = '<h3>' . $this->t('Stanford Sites User Guide') . '</h3>';
$help .= '<p>' . $this->t('Everything you need to know about how to use, maintain, and launch your Website.') . '</p>';
$help .= self::getLinkString($this->t('User Guide'), 'https://userguide.sites.stanford.edu', TRUE);
$help .= self::getLinkString($this->t('User Guide'), 'https://sitesuserguide.stanford.edu', TRUE);
return ['#markup' => $help];
}

@@ -55,7 +55,7 @@ protected function getLaunchWebsite() {
$help = '<h3>' . $this->t('Ready to Launch?') . '</h3>';
// @TODO: Update link when launch process guide is available.
$help .= '<p>' . $this->t('Learn about the launch process, review the final checklist, and submit a request to launch.') . '</p>';
$help .= self::getLinkString($this->t('Website launch process'), 'https://userguide.sites.stanford.edu/support/launching-your-site', TRUE);
$help .= self::getLinkString($this->t('Website launch process'), 'https://sitesuserguide.stanford.edu/support/site-launch-checklist', TRUE);
return ['#markup' => $help];
}

0 comments on commit b689c81

Please sign in to comment.