From ca22e2d59ec9df0e0cd740108ce49ad22cb0418a Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Mon, 12 May 2014 13:43:19 -0500 Subject: [PATCH] tips: Add tips to settings/company --- .../i18n/en_US/help/tips/settings.pages.yaml | 19 ++++++++----------- include/staff/settings-pages.inc.php | 13 ++++++++++++- scp/css/scp.css | 3 +++ 3 files changed, 23 insertions(+), 12 deletions(-) diff --git a/include/i18n/en_US/help/tips/settings.pages.yaml b/include/i18n/en_US/help/tips/settings.pages.yaml index b019aeda1..a506e3385 100644 --- a/include/i18n/en_US/help/tips/settings.pages.yaml +++ b/include/i18n/en_US/help/tips/settings.pages.yaml @@ -24,24 +24,18 @@ company_information: - title: Company Information Form href: /scp/forms.php?type=C -site_pages: - title: Site Pages - content: > - To manage your customize pages, see Admin Panel -> Manage -> Pages. - landing_page: title: Landing Page content: > - What page would you like your clients to see when they first “land†on your - support site (i.e., your installation of osTicket)? + The <span class="doc-desc-title">Landing Page</span> is displayed on + the front page of your your support site. offline_page: title: Offline Page content: > - What page would you like your clients to see when the system is either - being updated or maintained? To activate the <span - class="doc-desc-title">Offline Page</span>, see Admin Panel -> Setting -> - System -> Helpdesk Status. + The <span class="doc-desc-title">Offline Page</span> is displayed in + the support site when the help desk is offline, see Admin Panel + -> Setting -> System -> Helpdesk Status. default_thank_you_page: title: Default Thank-You Page @@ -49,6 +43,9 @@ default_thank_you_page: The <span class="doc-desc-title">thank-you page</span> is displayed to the customer when a <span class="doc-desc-title">Client</span> submits a new ticket. + <br/><br/> + <span class="doc-desc-title">Thank you</span> pages can be + associated with help topics. logos: title: Logos diff --git a/include/staff/settings-pages.inc.php b/include/staff/settings-pages.inc.php index bef09743f..c92f44144 100644 --- a/include/staff/settings-pages.inc.php +++ b/include/staff/settings-pages.inc.php @@ -32,6 +32,7 @@ $pages = Page::getPages(); <tr> <td width="220" class="required">Landing Page:</td> <td> + <span> <select name="landing_page_id"> <option value="">— Select Landing Page —</option> <?php @@ -43,11 +44,14 @@ $pages = Page::getPages(); $page->getName()); } ?> </select> <font class="error">* <?php echo $errors['landing_page_id']; ?></font> + <i class="help-tip icon-question-sign" href="#landing_page"></i> + </span> </td> </tr> <tr> <td width="220" class="required">Offline Page:</td> <td> + <span> <select name="offline_page_id"> <option value="">— Select Offline Page —</option> <?php @@ -59,11 +63,14 @@ $pages = Page::getPages(); $page->getName()); } ?> </select> <font class="error">* <?php echo $errors['offline_page_id']; ?></font> + <i class="help-tip icon-question-sign" href="#offline_page"></i> + </span> </td> </tr> <tr> <td width="220" class="required">Default Thank-You Page:</td> <td> + <span> <select name="thank-you_page_id"> <option value="">— Select Thank-You Page —</option> <?php @@ -75,6 +82,8 @@ $pages = Page::getPages(); $page->getName()); } ?> </select> <font class="error">* <?php echo $errors['thank-you_page_id']; ?></font> + <i class="help-tip icon-question-sign" href="#default_thank_you_page"></i> + </span> </td> </tr> </tbody> @@ -83,7 +92,9 @@ $pages = Page::getPages(); <thead> <tr> <th colspan="2"> - <h4>Logos</h4> + <h4>Logos + <i class="help-tip icon-question-sign" href="#logos"></i> + </h4> <em>System Default Logo</em> </th> </tr> diff --git a/scp/css/scp.css b/scp/css/scp.css index dd3f9a092..add14aca2 100644 --- a/scp/css/scp.css +++ b/scp/css/scp.css @@ -1153,6 +1153,9 @@ h2 > i.help-tip { vertical-align: baseline; font-size: 11pt; } +.form_table th h4 i.help-tip { + color: white; +} /* Knowledgebase */ /* Knowledgebase */ -- GitLab