Start on the new build view

This commit is contained in:
Joseph Schorr 2015-02-26 17:45:28 -05:00
parent 5cc1c90021
commit e227d7e526
30 changed files with 816 additions and 11 deletions

View file

@ -0,0 +1,15 @@
<span class="source-ref-link-element">
<span ng-switch on="getKind(ref)">
<!-- Branch -->
<span ng-switch-when="heads">
<i class="fa fa-code-fork" data-title="Branch" bs-tooltip></i>
<a ng-href="{{ getUrl(ref, branchTemplate, 'branch') }}" target="_blank">{{ getTitle(ref) }}</a>
</span>
<!-- Tag -->
<span ng-switch-when="tags">
<i class="fa fa-tag" data-title="Tag" bs-tooltip></i>
<a ng-href="{{ getUrl(ref, tagTemplate, 'tag') }}" target="_blank">{{ getTitle(ref) }}</a>
</span>
</span>
</span>