Browse Source

HUE-6394 [fb] Do not 404 when clicking on the app name link

Romain Rigaux 8 years ago
parent
commit
1ab31af
1 changed files with 3 additions and 1 deletions
  1. 3 1
      apps/filebrowser/src/filebrowser/templates/fb_components.mako

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

@@ -15,8 +15,10 @@
 ## limitations under the License.
 <%!
 import datetime
+
 from django.template.defaultfilters import urlencode, stringformat, date, filesizeformat, time
 from django.utils.translation import ugettext as _
+
 from aws import get_client
 %>
 
@@ -87,7 +89,7 @@ from aws import get_client
           <div class="nav-collapse">
             <ul class="nav">
               <li class="app-header">
-                <a href="/${app_name}">
+                <a href="/${app_name}/">
                   <img src="${ static('filebrowser/art/icon_filebrowser_48.png') }" class="app-icon" alt="${ _('File browser icon') }" />
                   ${ _('File Browser') }
                 </a>