瀏覽代碼

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

Enrico Berti 11 年之前
父節點
當前提交
541f3c61ea
共有 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 -->