Skip to content

Commit

Permalink
Minor improvements on commit graph UI (#1380)
Browse files Browse the repository at this point in the history
* Make "Commit Graph" link a button and translate it

* Add title on Commit Graph page
  • Loading branch information
andreynering authored and appleboy committed Mar 24, 2017
1 parent ae9b02b commit 6a451a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions options/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ file_permalink = Permalink
file_too_large = This file is too large to be shown
video_not_supported_in_browser = Your browser doesn't support HTML5 video tag.
stored_lfs = Stored with Git LFS
commit_graph = Commit graph

editor.new_file = New file
editor.upload_file = Upload file
Expand Down
4 changes: 2 additions & 2 deletions templates/repo/commits.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<div class="ui secondary menu">
{{template "repo/branch_dropdown" .}}
<div class="fitted item">
<div class="ui breadcrumb">
<div class="ui basic small button">
<a href="{{.RepoLink}}/graph">
<span class="text">
<i class="octicon octicon-git-branch"></i>
</span>
commit graph
{{.i18n.Tr "repo.commit_graph"}}
</a>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions templates/repo/graph.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@


<div id="git-graph-container" class="ui segment">
<h1>{{.i18n.Tr "repo.commit_graph"}}</h1>
<div id="rel-container">
<canvas id="graph-canvas">
<ul id="graph-raw-list">
Expand Down

0 comments on commit 6a451a2

Please sign in to comment.