Skip to content

Commit 26a697e

Browse files
committed
Add overview link to orgs page
1 parent 0834e9f commit 26a697e

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

app/views/organizations/index.html.haml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,15 @@
1515
%td
1616
- organization.repos.each do |repo|
1717
%ul.list-inline
18-
%li
19-
- if !repo.releases.empty?
20-
= link_to "#{repo.title} #{t('.releases_benchmark')}",
18+
- if !repo.releases.empty?
19+
%li
20+
= link_to t('.releases_benchmark'),
2121
releases_path(organization_name: organization.name, repo_name: repo.name)
2222

23-
%li
24-
- if !repo.commits.empty?
25-
= link_to "#{repo.title} #{t('.commits_benchmark')}",
23+
- if !repo.commits.empty?
24+
%li
25+
= link_to t('.commits_benchmark'),
2626
commits_path(organization_name: organization.name, repo_name: repo.name), data: { no_turbolink: true }
27+
%li
28+
= link_to t('.overview'),
29+
overview_path(organization_name: organization.name, repo_name: repo.name), data: { no_turbolink: true }

config/locales/en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ en:
4444
title: Benchmarks
4545
commits_benchmark: Commits Benchmarks
4646
releases_benchmark: Releases Benchmarks
47+
overview: Overview
4748

4849
repos:
4950
select_benchmark: &select_benchmark

0 commit comments

Comments
 (0)