Forráskód Böngészése

HUE-9096 [doc] Improve doc sharing modal layout and wording

Johan Ahlen 5 éve
szülő
commit
fc52e8084d

+ 1 - 1
desktop/core/src/desktop/js/ko/components/doc/ko.linkSharing.js

@@ -41,7 +41,7 @@ const TEMPLATE = `
     </div>
     <!-- ko if: perms().link_sharing_on -->
     <div>
-      ${ I18n('Anyone logged and with the link can') }
+      ${ I18n('Any logged in user with the link can') }
       <div class="perm-selector" data-bind="component: {
           name: 'hue-drop-down',
           params: {

+ 3 - 3
desktop/core/src/desktop/js/ko/components/doc/ko.shareDocModal.js

@@ -114,9 +114,9 @@ const TEMPLATE = `
                   value: searchInput,
                   textInput: searchInput
                 }
-              " class="ui-autocomplete-input" autocomplete="off" style="width: 420px">
-            <div class="btn-group" style="overflow:visible">
-              <a id="documentShareAddBtn" class="btn" data-bind="click: function () {  onShareAutocompleteUserEnter() }">
+              " class="ui-autocomplete-input" autocomplete="off" style="width: 476px">
+            <div class="btn-group" style="overflow:visible; margin-left: -4px;">
+              <a id="documentShareAddBtn" class="btn" style="border-radius: 0" data-bind="click: function () {  onShareAutocompleteUserEnter() }">
                 <span data-bind="text: selectedPerm() == 'read' ? '${ I18n('Read') }' : '${ I18n('Modify') }'">
                 </span>
               </a>