소스 검색

[oozie] Display just the name of the file on common-fs-link

Enrico Berti 11 년 전
부모
커밋
541f3c6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      apps/oozie/src/oozie/templates/editor/workflow_editor.mako

+ 2 - 2
apps/oozie/src/oozie/templates/editor/workflow_editor.mako

@@ -655,8 +655,8 @@ ${ commonheader(_("Workflow Editor"), "Oozie", user, "40px") | n,unicode }
 
 <script type="text/html" id="common-fs-link">
   <!-- ko if: with_label -->
-    <a data-bind="attr: {href: '/filebrowser/view' + $data.path }" target="_blank" title="${ _('Open') }">
-      <pan data-bind="text: $data.path"></span>
+    <a data-bind="attr: {href: '/filebrowser/view' + $data.path , title: '${ _('Open') } '+ $data.path }" target="_blank">
+      <pan data-bind="text: $data.path.split('/').pop()"></span>
     </a>
   <!-- /ko -->