Remove 'send files' link from the menu and rename 'Lufi' to 'Home'

This commit is contained in:
Booteille 2025-05-18 18:47:13 +02:00
parent eb366bd083
commit 81d67cc809
No known key found for this signature in database
GPG Key ID: 0AB6C6CA01272646
1 changed files with 2 additions and 3 deletions

View File

@ -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>
% }