- Add copy button to the build logs
- Add support for timestamps in the build logs - Other small UI improvements to the build view
This commit is contained in:
parent
e227d7e526
commit
ed46d37ea7
12 changed files with 189 additions and 18 deletions
|
@ -4,9 +4,15 @@
|
|||
<span ng-switch-when="github">
|
||||
<!-- Full Commit Information -->
|
||||
<span ng-if="build.job_config.trigger_metadata.commit_info">
|
||||
<div class="commit-message">{{ build.job_config.trigger_metadata.commit_info.message }}</div>
|
||||
<div class="commit-message">
|
||||
<a ng-href="{{ getGitHubRepoURL(build) }}/commit/{{ build.job_config.trigger_metadata.commit_sha }}"
|
||||
target="_blank">
|
||||
{{ build.job_config.trigger_metadata.commit_info.message }}
|
||||
</a>
|
||||
</div>
|
||||
<div class="commit-information">
|
||||
<span class="commit-who-when">
|
||||
Authored
|
||||
<span am-time-ago="build.job_config.trigger_metadata.commit_info.date"></span>
|
||||
<span class="commit-who">
|
||||
<img ng-src="{{ build.job_config.trigger_metadata.commit_info.author.avatar_url }}">
|
||||
|
@ -27,7 +33,7 @@
|
|||
</span>
|
||||
|
||||
<!-- Just commit SHA -->
|
||||
<span ng-if="!build.job_config.trigger_metadata.commit_info">
|
||||
<span ng-if="build.job_config.trigger_metadata && !build.job_config.trigger_metadata.commit_info">
|
||||
Triggered by commit
|
||||
<span class="source-commit-link"
|
||||
commit-sha="build.job_config.trigger_metadata.commit_sha"
|
||||
|
|
Reference in a new issue