Ver código fonte

HUE-7144 [core] Remove unnecessary tag from documents icon

Enrico Berti 8 anos atrás
pai
commit
010d93d

+ 1 - 3
apps/oozie/src/oozie/templates/editor2/bundle_editor.mako

@@ -64,9 +64,7 @@ ${ commonheader(_("Bundle Editor"), "Oozie", user, request) | n,unicode }
 
     %if is_embeddable:
     <a class="btn" href="javascript: void(0)" title="${ _('Bundles') }" rel="tooltip" data-placement="bottom" data-bind="css: {'btn': true}, hueLink: '/home/?type=oozie-bundle2'">
-      <span>
-        <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
-      </span>
+      <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
     </a>
     %endif
   </div>

+ 1 - 3
apps/oozie/src/oozie/templates/editor2/coordinator_editor.mako

@@ -67,9 +67,7 @@ ${ commonheader(_("Coordinator Editor"), "Oozie", user, request) | n,unicode }
 
     %if is_embeddable:
     <a class="btn" href="javascript: void(0)" title="${ _('Schedules') }" rel="tooltip" data-placement="bottom" data-bind="css: {'btn': true}, hueLink: '/home/?type=oozie-coordinator2'">
-      <span>
-        <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
-      </span>
+      <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
     </a>
     %endif
 

+ 1 - 3
apps/oozie/src/oozie/templates/editor2/workflow_editor.mako

@@ -88,9 +88,7 @@ ${ commonheader(_("Workflow Editor"), "Oozie", user, request, "40px") | n,unicod
     </a>
     %if is_embeddable:
     <a class="btn" href="javascript: void(0)" title="${ _('Workflows') }" rel="tooltip" data-placement="bottom" data-bind="css: {'btn': true}, hueLink: '/home/?type=oozie-workflow2'">
-      <span>
-        <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
-      </span>
+      <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
     </a>
     %endif
   </div>

+ 2 - 6
desktop/libs/dashboard/src/dashboard/templates/common_search.mako

@@ -90,16 +90,12 @@ from desktop.views import commonheader, commonfooter, _ko
     </a>
     <!-- ko if: IS_HUE_4 -->
     <a class="btn" href="/home/?type=search-dashboard" title="${ _('Dashboards') }" rel="tooltip" data-placement="bottom" data-bind="css: {'btn': true}">
-      <span>
-        <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
-      </span>
+      <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
     </a>
     <!-- /ko -->
     <!-- ko ifnot: IS_HUE_4 -->
     <a class="btn" href="${ url('dashboard:admin_collections') }" title="${ _('Dashboards') }" rel="tooltip" data-placement="bottom" data-bind="css: {'btn': true}">
-      <span>
-        <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
-      </span>
+      <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
     </a>
     <!-- /ko -->
   </div>

+ 2 - 6
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -253,16 +253,12 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
 
         <!-- ko if: IS_HUE_4 -->
         <a class="btn" data-bind="hueLink: '/home/?type=' + (editorMode() ? 'query-' : '') + editorType(), attr: { 'title': editorMode() ? '${ _('Queries') }' : '${ _('Notebooks') }'  }" rel="tooltip" data-placement="bottom">
-          <span>
-            <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
-          </span>
+          <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
         </a>
         <!-- /ko -->
         <!-- ko ifnot: IS_HUE_4 -->
         <a class="btn" data-bind="hueLink: '${ url('notebook:notebooks') }?type=' + editorType(), attr: { 'title': editorMode() ? '${ _('Queries') }' : '${ _('Notebooks') }'  }" rel="tooltip" data-placement="bottom">
-          <span>
-            <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
-          </span>
+          <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
         </a>
         <!-- /ko -->
       </div>