浏览代码

Merge pull request #440 from pwm-project/cosmetic-changes

Made a few cosmetic changes
James Albright 6 年之前
父节点
当前提交
17bb701188

+ 1 - 0
client/src/i18n/translations_en.json

@@ -46,6 +46,7 @@
   "Display_ViewDetails": "View Details",
   "Display_EmailPrefix": "Email - ",
   "Display_SmsPrefix": "SMS - ",
+  "Display_PeopleSearch": "Please type your search query below.  You may search for a person based on name, email address or telephone number.",
   "Field_DateTime": "Date/Time",
   "Field_Display": "Display",
   "Field_LdapProfile": "LDAP Profile",

+ 1 - 1
client/src/modules/peoplesearch/peoplesearch-cards.component.html

@@ -23,7 +23,7 @@
 <div class="peoplesearch-header">
     <div class="basic-search-container" ng-if="!$ctrl.advancedSearch">
         <h2 id="page-content-title"  translate="Title_PeopleSearch">People Search</h2>
-        <ias-search-box id="input" ng-model="$ctrl.query"
+        <ias-search-box id="input" ng-model="$ctrl.query" title="{{'Display_PeopleSearch' | translate}}"
                         ng-model-options="{debounce: $ctrl.inputDebounce}"
                         placeholder="{{'Placeholder_Search' | translate}}" auto-focus>
         </ias-search-box>

+ 2 - 1
client/src/services/people.service.ts

@@ -254,7 +254,8 @@ export default class PeopleService implements IPeopleService {
             .post(url, {
                 mode: 'simple',
                 username: query,
-                pwmFormID: formID
+                pwmFormID: formID,
+                includeDisplayName: (params && params.includeDisplayName) ? params.includeDisplayName : false
             }, {
                 cache: true,
                 timeout: httpTimeout.promise,

+ 5 - 0
client/src/styles.scss

@@ -3,6 +3,11 @@
 .ias-styles-root {
   @import "~@microfocus/ux-ias/src/ux-ias";
 
+  .ias-dialog {
+    // Need to fix this minor css problem in ux-ias until a version > 1.0.0-rc comes out.
+    position: fixed;
+  }
+
   // ux-ias normally applies the following to the body tag, but the way we are including ux-ias under .ias-styles-root
   // means we have to define it here.
   background-color: $body-bg-color;