Переглянути джерело

HUE-7400 [editor] Slightly bigger icon size for the dashboard icon in menu

Romain Rigaux 8 роки тому
батько
коміт
9350a73c71

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

@@ -106,14 +106,14 @@ from desktop.views import commonheader, commonfooter, _ko, commonshare
         <!-- ko if: IS_HUE_4 -->
         <li>
           <a href="/home/?type=search-dashboard">
-            <svg class="hi hi-fw"><use xlink:href="#hi-documents"></use></svg> ${ _('Dashboards') }
+            <svg class="hi hi-fw" style="font-size:16px;"><use xlink:href="#hi-documents"></use></svg> ${ _('Dashboards') }
           </a>
         </li>
         <!-- /ko -->
         <!-- ko ifnot: IS_HUE_4 -->
         <li>
           <a href="${ url('dashboard:admin_collections') }">
-            <svg class="hi hi-fw"><use xlink:href="#hi-documents"></use></svg> ${ _('Dashboards') }
+            <svg class="hi hi-fw" style="font-size:16px;"><use xlink:href="#hi-documents"></use></svg> ${ _('Dashboards') }
           </a>
         </li>
         <!-- /ko -->

+ 2 - 2
desktop/libs/notebook/src/notebook/api.py

@@ -726,11 +726,11 @@ def export_result(request):
       if live_indexing:
         file_format['inputFormat'] = 'hs2_handle'
         file_format['fetch_handle'] = lambda rows, start_over: get_api(request, snippet).fetch_result(notebook, snippet, rows=rows, start_over=start_over)
-        response['rowcount'] = _index(request, file_format, destination, query=notebook['uuid'])
+        response['rowcount'] = _index(request, file_format, destination, query=notebook['uuid'], start_time=start_time)
         response['watch_url'] = reverse('search:browse', kwargs={'name': destination})
         response['status'] = 0
       else:
-        response = _index(request, file_format, destination, query=notebook['uuid'])
+        response = _index(request, file_format, destination, query=notebook['uuid'], start_time=start_time)
     else:
       notebook_id = notebook['id'] or request.GET.get('editor', request.GET.get('notebook'))
       response['watch_url'] = reverse('notebook:execute_and_watch') + '?action=index_query&notebook=' + str(notebook_id) + '&snippet=0&destination=' + destination