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:
Mathias Meyer 2013-05-10 16:49:15 +02:00
parent 55d808fac8
commit 9bce26ea3e
3 changed files with 17 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

View File

@ -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>

View File

@ -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