Change repository header to link to Travis repo.
Linking this to GitHub is cause for confusion, even for myself. The tiny octocat now points to GitHub instead.
This commit is contained in:
parent
55d808fac8
commit
9bce26ea3e
BIN
assets/images/icons/github.png
Normal file
BIN
assets/images/icons/github.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.9 KiB |
|
@ -7,9 +7,10 @@
|
|||
{{else}}
|
||||
{{#if repo.isLoaded}}
|
||||
{{#with repo}}
|
||||
<h3>
|
||||
<a {{bindAttr href="controller.urlGithub"}}>{{slug}}</a>
|
||||
</h3>
|
||||
<div id="repo-header">
|
||||
<h3>{{#linkTo "repo" this}}{{slug}}{{/linkTo}}</h3>
|
||||
<div class="github-icon"><a {{bindAttr href="controller.urlGithub"}}><img src="/images/icons/github.png" width="21" height="21"/></a></div>
|
||||
</div>
|
||||
|
||||
<p class="description">{{description}}</p>
|
||||
|
||||
|
|
|
@ -6,6 +6,19 @@
|
|||
overflow-x: hidden
|
||||
padding-right: 10px
|
||||
|
||||
h3
|
||||
display: inline-block
|
||||
margin-right: 5px
|
||||
|
||||
.github-icon
|
||||
width: 21px
|
||||
height: 21px
|
||||
display: inline-block
|
||||
|
||||
.github-icon
|
||||
img
|
||||
margin-top: 2px
|
||||
|
||||
.not-found
|
||||
display: block
|
||||
padding: 10px 5px
|
||||
|
|
Loading…
Reference in New Issue
Block a user