This repository has been archived by the owner on Dec 15, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move commit-info template to its own html file
Summary: Now we put all templates in javasript, so the bug this was trying to fix is not there anymore Reviewers: vishal Reviewed By: vishal Projects: #changes Differential Revision: https://tails.corp.dropbox.com/D84579
- Loading branch information
1 parent
be8dfef
commit d1ea41d
Showing
2 changed files
with
13 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<div> | ||
<h5> | ||
<a ui-sref="build_details({project_id: commit.project.slug, build_id: commit.id})">{{title}}</a> | ||
</h5> | ||
<div class="info"> | ||
<span ng-if="showProject"><a ui-sref="project_builds({project_id: commit.project.slug})">{{commit.project.name}}</a> —</span> | ||
<span class="build-tag" ng-repeat="tag in commit.tags">{{tag}}</span> | ||
<a ui-sref="project_source_details({project_id: commit.project.slug, source_id: commit.source.id})">{{commit.target}}</a> | ||
<span ng-if="commit.author">— {{commit.author.name}}</span> | ||
<span ng-if="commit.stats.test_failures"> — <span style="color:red">{{commit.stats.test_failures}} test failures</span></span> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters