Remove 'send files' link from the menu and rename 'Lufi' to 'Home'
This commit is contained in:
parent
eb366bd083
commit
81d67cc809
|
@ -23,12 +23,11 @@
|
|||
<header class="header" role="banner">
|
||||
<nav class="navbar is-primary has-text-weight-semibold" role="navigation" aria-label="main navigation">
|
||||
<div class="navbar-brand">
|
||||
<a class="navbar-item" href="<%= url_for('/') %>">
|
||||
<a href="<%= url_for('/') %>" class="navbar-item<%== ' has-background-primary-35' if (current_route eq 'index') %>">
|
||||
<img src="<%= url_for('/img/lufi.svg') %>" alt="Lufi logo" aria-hidden="true">
|
||||
<%= config('instance_name') %>
|
||||
<%= l('Home') %>
|
||||
</a>
|
||||
% if ((!defined(config('ldap')) && !defined(config('htpasswd')) && !defined(config('auth_headers'))) || is_user_authenticated()) {
|
||||
<a href="<%= url_for('/') %>" class="navbar-item<%== ' has-background-primary-35' if (current_route eq 'index') %>"><%= l('Upload files') %></a>
|
||||
<a href="<%= url_for('/files') %>" class="navbar-item<%== ' has-background-primary-35' if (current_route eq 'files') %>"><%= l('My files') %></a>
|
||||
% }
|
||||
|
||||
|
|
Loading…
Reference in New Issue