Start on the new build view
This commit is contained in:
parent
5cc1c90021
commit
e227d7e526
30 changed files with 816 additions and 11 deletions
15
static/directives/source-ref-link.html
Normal file
15
static/directives/source-ref-link.html
Normal 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>
|
Reference in a new issue