Fork of patx/hglab.
tokenmess/hglab
Remove eyebrow elements that are no longer needed with active repo nav.
Commit 739d024e357d · Harrison Erd · 2026-05-03 21:21 -0400
Comments
No comments yet.
Diff
diff --git a/templates/commits.tpl b/templates/commits.tpl
--- a/templates/commits.tpl
+++ b/templates/commits.tpl
@@ -5,7 +5,6 @@
<section class="repo-header slim">
<div>
- <p class="eyebrow">Commits</p>
<h1><a href="/{{repo['owner_username']}}">{{repo["owner_username"]}}</a>/{{repo["name"]}}</h1>
</div>
</section>
diff --git a/templates/dashboard.tpl b/templates/dashboard.tpl
deleted file mode 100644
--- a/templates/dashboard.tpl
+++ /dev/null
@@ -1,24 +0,0 @@
-% rebase("base.tpl", title="Dashboard", user=user, error=error, notice=notice)
-
-<section class="panel">
- <div class="panel-heading">
- <h1>Dashboard</h1>
- <span>
- <a href="/{{user['username']}}">View your profile</a>
- </span>
- </div>
- <h2>Your repositories</h2>
- % if repos:
- <div class="repo-list">
- % for repo in repos:
- <a class="repo-card" href="/{{repo['owner_username']}}/{{repo['name']}}">
- <strong>{{repo["owner_username"]}}/{{repo["name"]}}</strong>
- <span>{{repo["description"] or "No description yet."}}</span>
- <small>Updated {{repo["updated_at"]}}</small>
- </a>
- % end
- </div>
- % else:
- <p class="empty">You have not created any repositories.</p>
- % end
-</section>
diff --git a/templates/file.tpl b/templates/file.tpl
--- a/templates/file.tpl
+++ b/templates/file.tpl
@@ -4,7 +4,6 @@
<section class="repo-header slim">
<div>
- <p class="eyebrow">File</p>
<h1><a href="/{{repo['owner_username']}}">{{repo["owner_username"]}}</a>/{{repo["name"]}}</h1>
<div class="breadcrumb">
<a href="/{{repo['owner_username']}}/{{repo['name']}}/src">root</a>
diff --git a/templates/issues.tpl b/templates/issues.tpl
--- a/templates/issues.tpl
+++ b/templates/issues.tpl
@@ -4,7 +4,6 @@
<section class="repo-header slim">
<div>
- <p class="eyebrow">Issues</p>
<h1><a href="/{{repo['owner_username']}}">{{repo["owner_username"]}}</a>/{{repo["name"]}}</h1>
</div>
</section>
diff --git a/templates/new_issue.tpl b/templates/new_issue.tpl
--- a/templates/new_issue.tpl
+++ b/templates/new_issue.tpl
@@ -4,7 +4,7 @@
<section class="repo-header slim">
<div>
- <p class="eyebrow">New issue</p>
+ <p class="eyebrow">Create new issue</p>
<h1><a href="/{{repo['owner_username']}}">{{repo["owner_username"]}}</a>/{{repo["name"]}}</h1>
</div>
</section>
diff --git a/templates/new_pull_request.tpl b/templates/new_pull_request.tpl
--- a/templates/new_pull_request.tpl
+++ b/templates/new_pull_request.tpl
@@ -4,7 +4,7 @@
<section class="repo-header slim">
<div>
- <p class="eyebrow">New pull request</p>
+ <p class="eyebrow">Create new pull request</p>
<h1><a href="/{{repo['owner_username']}}">{{repo["owner_username"]}}</a>/{{repo["name"]}}</h1>
</div>
</section>
diff --git a/templates/pull_requests.tpl b/templates/pull_requests.tpl
--- a/templates/pull_requests.tpl
+++ b/templates/pull_requests.tpl
@@ -4,7 +4,6 @@
<section class="repo-header slim">
<div>
- <p class="eyebrow">Pull requests</p>
<h1><a href="/{{repo['owner_username']}}">{{repo["owner_username"]}}</a>/{{repo["name"]}}</h1>
</div>
</section>
diff --git a/templates/repo.tpl b/templates/repo.tpl
--- a/templates/repo.tpl
+++ b/templates/repo.tpl
@@ -7,8 +7,6 @@
<p class="eyebrow">
% if source_repo:
Fork of <a href="/{{source_repo['owner_username']}}/{{source_repo['name']}}">{{source_repo["owner_username"]}}/{{source_repo["name"]}}</a>.</p>
- % else:
- Public repository
% end
</p>
<h1><a href="/{{repo['owner_username']}}">{{repo["owner_username"]}}</a>/{{repo["name"]}}</h1>
diff --git a/templates/repo_settings.tpl b/templates/repo_settings.tpl
--- a/templates/repo_settings.tpl
+++ b/templates/repo_settings.tpl
@@ -4,7 +4,6 @@
<section class="repo-header slim">
<div>
- <p class="eyebrow">Settings</p>
<h1><a href="/{{repo['owner_username']}}">{{repo["owner_username"]}}</a>/{{repo["name"]}}</h1>
</div>
</section>
diff --git a/templates/source.tpl b/templates/source.tpl
--- a/templates/source.tpl
+++ b/templates/source.tpl
@@ -4,7 +4,6 @@
<section class="repo-header slim">
<div>
- <p class="eyebrow">Source</p>
<h1><a href="/{{repo['owner_username']}}">{{repo["owner_username"]}}</a>/{{repo["name"]}}</h1>
<div class="breadcrumb">
<a href="/{{repo['owner_username']}}/{{repo['name']}}/src">root</a>