aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-06-23 17:52:21 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-06-23 17:52:21 +0200
commit6bd7d92463867a62274867890f32f5832e798ba2 (patch)
treed19676b63efe360c8dcd6040b1a0d342df22bafc
parent9e210f61a6259c37cc7938cf353527cf072b3eda (diff)
downloadcerrado-6bd7d92463867a62274867890f32f5832e798ba2.tar.gz
cerrado-6bd7d92463867a62274867890f32f5832e798ba2.tar.bz2
cerrado-6bd7d92463867a62274867890f32f5832e798ba2.zip
ref: Reorder sub headerv0.0.7
-rw-r--r--templates/navbar.qtpl6
-rw-r--r--templates/navbar.qtpl.go20
2 files changed, 13 insertions, 13 deletions
diff --git a/templates/navbar.qtpl b/templates/navbar.qtpl
index 9e27961..56ce276 100644
--- a/templates/navbar.qtpl
+++ b/templates/navbar.qtpl
@@ -48,15 +48,15 @@ Add this back if needed
<a class="nav-link{%= insertIfEqual(s, Readme) %}" aria-current="page" href="/{%s name %}/about/">about</a>
</li>
<li class="nav-item">
- <a class="nav-link{%= insertIfEqual(s, Log) %}" aria-current="page" href="/{%s name %}/log/{%s ref %}/">log</a>
- </li>
- <li class="nav-item">
<a class="nav-link{%= insertIfEqual(s, Summary) %}" aria-current="page" href="/{%s name %}/">summary</a>
</li>
<li class="nav-item">
<a class="nav-link{%= insertIfEqual(s, Refs) %}" aria-current="page" href="/{%s name %}/refs">refs</a>
</li>
<li class="nav-item">
+ <a class="nav-link{%= insertIfEqual(s, Log) %}" aria-current="page" href="/{%s name %}/log/{%s ref %}/">log</a>
+ </li>
+ <li class="nav-item">
<a class="nav-link{%= insertIfEqual(s, Tree) %}" aria-current="page" href="/{%s name %}/tree/{%s ref %}/">tree</a>
</li>
</ul>
diff --git a/templates/navbar.qtpl.go b/templates/navbar.qtpl.go
index 28e6f8e..6411b53 100644
--- a/templates/navbar.qtpl.go
+++ b/templates/navbar.qtpl.go
@@ -166,39 +166,39 @@ func StreamGitItemNav(qw422016 *qt422016.Writer, name, ref string, s GitSelectio
<li class="nav-item">
<a class="nav-link`)
//line navbar.qtpl:51
- streaminsertIfEqual(qw422016, s, Log)
+ streaminsertIfEqual(qw422016, s, Summary)
//line navbar.qtpl:51
qw422016.N().S(`" aria-current="page" href="/`)
//line navbar.qtpl:51
qw422016.E().S(name)
//line navbar.qtpl:51
- qw422016.N().S(`/log/`)
-//line navbar.qtpl:51
- qw422016.E().S(ref)
-//line navbar.qtpl:51
- qw422016.N().S(`/">log</a>
+ qw422016.N().S(`/">summary</a>
</li>
<li class="nav-item">
<a class="nav-link`)
//line navbar.qtpl:54
- streaminsertIfEqual(qw422016, s, Summary)
+ streaminsertIfEqual(qw422016, s, Refs)
//line navbar.qtpl:54
qw422016.N().S(`" aria-current="page" href="/`)
//line navbar.qtpl:54
qw422016.E().S(name)
//line navbar.qtpl:54
- qw422016.N().S(`/">summary</a>
+ qw422016.N().S(`/refs">refs</a>
</li>
<li class="nav-item">
<a class="nav-link`)
//line navbar.qtpl:57
- streaminsertIfEqual(qw422016, s, Refs)
+ streaminsertIfEqual(qw422016, s, Log)
//line navbar.qtpl:57
qw422016.N().S(`" aria-current="page" href="/`)
//line navbar.qtpl:57
qw422016.E().S(name)
//line navbar.qtpl:57
- qw422016.N().S(`/refs">refs</a>
+ qw422016.N().S(`/log/`)
+//line navbar.qtpl:57
+ qw422016.E().S(ref)
+//line navbar.qtpl:57
+ qw422016.N().S(`/">log</a>
</li>
<li class="nav-item">
<a class="nav-link`)