Minor improvements on commit graph UI (#1380)
* Make "Commit Graph" link a button and translate it * Add title on Commit Graph page
This commit is contained in:
parent
ae9b02b079
commit
6a451a2b59
|
@ -503,6 +503,7 @@ file_permalink = Permalink
|
||||||
file_too_large = This file is too large to be shown
|
file_too_large = This file is too large to be shown
|
||||||
video_not_supported_in_browser = Your browser doesn't support HTML5 video tag.
|
video_not_supported_in_browser = Your browser doesn't support HTML5 video tag.
|
||||||
stored_lfs = Stored with Git LFS
|
stored_lfs = Stored with Git LFS
|
||||||
|
commit_graph = Commit graph
|
||||||
|
|
||||||
editor.new_file = New file
|
editor.new_file = New file
|
||||||
editor.upload_file = Upload file
|
editor.upload_file = Upload file
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
<div class="ui secondary menu">
|
<div class="ui secondary menu">
|
||||||
{{template "repo/branch_dropdown" .}}
|
{{template "repo/branch_dropdown" .}}
|
||||||
<div class="fitted item">
|
<div class="fitted item">
|
||||||
<div class="ui breadcrumb">
|
<div class="ui basic small button">
|
||||||
<a href="{{.RepoLink}}/graph">
|
<a href="{{.RepoLink}}/graph">
|
||||||
<span class="text">
|
<span class="text">
|
||||||
<i class="octicon octicon-git-branch"></i>
|
<i class="octicon octicon-git-branch"></i>
|
||||||
</span>
|
</span>
|
||||||
commit graph
|
{{.i18n.Tr "repo.commit_graph"}}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
|
|
||||||
<div id="git-graph-container" class="ui segment">
|
<div id="git-graph-container" class="ui segment">
|
||||||
|
<h1>{{.i18n.Tr "repo.commit_graph"}}</h1>
|
||||||
<div id="rel-container">
|
<div id="rel-container">
|
||||||
<canvas id="graph-canvas">
|
<canvas id="graph-canvas">
|
||||||
<ul id="graph-raw-list">
|
<ul id="graph-raw-list">
|
||||||
|
|
Loading…
Reference in New Issue