Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software:2222/vole.git

A free and open-source forge that lives in your Git repo.

Drop the breadcrumb and mention button on a profile

77a024af8ecdc97a6927333e3fbe4f5ee02b4478 · Keenan Nemetz · 7d ago · parent 28b19c74

Drop the breadcrumb and mention button on a profile

The page header now opens with the account name. The "All people"
breadcrumb is gone — the directory is in the global bar — and so is the
button that copied a mention, which was the only thing in the header's
action slot. The two rules those elements needed go with them; a normal
page head already wraps and aligns correctly without them.

server/web/templates/profile.html +1−5

@@ -1,15 +1,11 @@
1 1 {{define "profile"}}
2 2 {{template "header" .}}
3 <div class="page-head profile-head">
3 <div class="page-head">
4 4 <div class="page-head-main">
5 <p class="profile-back"><a href="/u">← All people</a></p>
6 5 <h1>{{.Name}}</h1>
7 6 <p class="page-sub">Issues, changes, and reviews from {{.Name}}.{{if not .Active}} This account is no longer active; its history is kept.{{end}}</p>
8 7 <p class="muted profile-joined">Joined {{.Joined.Format "January 2006"}}{{if and .ShowRole (ne .Role "none")}} · {{.Role}}{{end}}</p>
9 8 </div>
10 <div class="page-head-actions">
11 <button class="secondary" type="button" data-copy="@{{.Name}}" title="Copy a mention of {{.Name}}" aria-label="Copy a mention of {{.Name}}">{{icon "copy"}}Mention</button>
12 </div>
13 9 </div>
14 10
15 11 {{if .Repos}}