Pārlūkot izejas kodu

HUE-6148 [frontend] Add svg icon for Hue documents

Johan Ahlen 8 gadi atpakaļ
vecāks
revīzija
1afcee804e

+ 5 - 0
desktop/core/src/desktop/templates/assist.mako

@@ -825,7 +825,12 @@ from notebook.conf import get_ordered_interpreters
       <div class="assist-panel-switches">
         <!-- ko foreach: availablePanels -->
         <div class="inactive-action assist-type-switch" data-bind="click: function () { $parent.visiblePanel($data); }, css: { 'blue': $parent.visiblePanel() === $data }, style: { 'float': rightAlignIcon ? 'right' : 'left' },  attr: { 'title': name }">
+          <!-- ko if: type === 'documents' -->
+          <svg class="hi"><use xlink:href="#hi-file-hue"></use></svg>
+          <!-- /ko -->
+          <!-- ko if: type !== 'documents' -->
           <i class="fa fa-fw valign-middle" data-bind="css: icon"></i>
+          <!-- /ko -->
         </div>
         <!-- /ko -->
       </div>

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
desktop/core/src/desktop/templates/hue_icons.mako


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels