浏览代码

[fb] Add View trash tooltip

Romain Rigaux 12 年之前
父节点
当前提交
232359e
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      apps/filebrowser/src/filebrowser/templates/fb_components.mako

+ 3 - 1
apps/filebrowser/src/filebrowser/templates/fb_components.mako

@@ -31,7 +31,9 @@ from django.utils.translation import ugettext as _
                 <input id="hueBreadcrumbText" type="text" class="input-xxlarge" style="margin-top:4px;margin-right:4px;display:none" data-bind="value: currentPath" />
             </li>
             <li class="pull-right">
-                <a href="${url('filebrowser.views.view', path=urlencode(path))}?default_to_trash" style="line-height:18px" data-bind="visible: trashEnabled"><i class="icon-trash"></i> ${_('Trash')}</a>
+                <a href="${url('filebrowser.views.view', path=urlencode(path))}?default_to_trash" style="line-height:18px" data-bind="visible: trashEnabled" title="${_('View trash')}">
+                  <i class="icon-trash"></i> ${_('Trash')}
+                </a>
             </li>
         </ul>
     % else: