repos / git-pr

a self-hosted git collaboration server
git clone https://github.com/picosh/git-pr.git

commit
a277faa
parent
13809f2
author
Eric Bower
date
2024-11-12 22:08:01 -0500 EST
style: make breadcrumbs consistent
3 files changed,  +4, -3
M tmpl/pr-header.html
+2, -1
 1@@ -1,7 +1,8 @@
 2 {{define "pr-header"}}
 3 <header>
 4   <h1 class="text-2xl mb">
 5-    <a href="{{.Repo.Url}}">{{.Repo.Text}}</a>
 6+    <a href="/">dashboard</a>
 7+    <span> / <a href="{{.Repo.Url}}">{{.Repo.Text}}</a></span>
 8     <span> / {{.Pr.Title}} <a href="/prs/{{.Pr.ID}}"><code>#{{.Pr.ID}}</code></a></span>
 9     <a class="text-sm" href="/prs/{{.Pr.ID}}/rss">rss</a>
10   </h1>
M tmpl/repo-detail.html
+1, -1
1@@ -10,7 +10,7 @@
2 
3 {{define "body"}}
4 <header>
5-  <h1 class="text-2xl mb"><a href="/">repos</a> / <a href="/r/{{.Username}}">{{.Username}}</a> / {{.Name}}</h1>
6+  <h1 class="text-2xl mb"><a href="/">dashboard</a> / <a href="/r/{{.Username}}">{{.Username}}</a> / {{.Name}}</h1>
7   <div class="group">
8     <details>
9       <summary>Help</summary>
M tmpl/user-detail.html
+1, -1
1@@ -10,7 +10,7 @@
2 
3 {{define "body"}}
4 <header>
5-  <h1 class="text-2xl mb"><a href="/">home</a> / {{.UserData.Name}}</h1>
6+  <h1 class="text-2xl mb"><a href="/">dashboard</a> / {{.UserData.Name}}</h1>
7   <dl>
8     <dt>ID</dt>
9     <dd><code>#{{.UserData.UserID}}</code></dd>