Update menu button on profile pages
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
menu: Menu
|
||||
logged-in-as: You're logged-in as
|
||||
logout: logout
|
||||
logout: Logout
|
||||
|
||||
@@ -4,16 +4,19 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Bootstrap icons -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link href="{{ links.AuthAssets }}/fonts.css" rel="stylesheet">
|
||||
<!-- Fonts -->
|
||||
<link href="{{ links.AuthAssets }}/fonts.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom CSS -->
|
||||
<link href="/custom.css" rel="stylesheet">
|
||||
<link href="{{ links.AuthAssets }}/style.css?{{ buildtime }}" rel="stylesheet">
|
||||
|
||||
<title>Corteza</title>
|
||||
<style>
|
||||
body {
|
||||
@@ -29,9 +32,12 @@
|
||||
<header>
|
||||
{{ if .user }}
|
||||
<div class="d-flex justify-content-end align-items-center text-white m-2">
|
||||
<a class="text-white mt-n2" href="{{ links.Base }}">
|
||||
<i class="bi bi-grid-3x2-gap-fill mr-2" style="font-size: 1.4rem;"></i>
|
||||
<a class="text-white font-weight-bold" href="{{ links.Base }}">
|
||||
{{ tr "inc_header.menu" }}
|
||||
</a>
|
||||
<span class="mx-2">
|
||||
|
|
||||
</span>
|
||||
{{ tr "inc_header.logged-in-as" }}
|
||||
<a data-test-id="link-redirect-to-profile" class="font-weight-bold text-white mx-2"
|
||||
href="{{ links.Profile }}">{{ coalesce .user.Name .user.Handle .user.Email }}
|
||||
|
||||
Reference in New Issue
Block a user