Only show the trigger description div if needed and reformat the HTML to indent properly.
This commit is contained in:
parent
df915b5b21
commit
e6a8b84ff3
1 changed files with 6 additions and 6 deletions
|
@ -2,8 +2,8 @@
|
||||||
<span ng-switch-when="github">
|
<span ng-switch-when="github">
|
||||||
<i class="fa fa-github fa-lg" style="margin-right: 6px" title="GitHub" bs-tooltip="tooltip.title"></i>
|
<i class="fa fa-github fa-lg" style="margin-right: 6px" title="GitHub" bs-tooltip="tooltip.title"></i>
|
||||||
Push to GitHub repository <a href="https://github.com/{{ trigger.config.build_source }}" target="_new">{{ trigger.config.build_source }}</a>
|
Push to GitHub repository <a href="https://github.com/{{ trigger.config.build_source }}" target="_new">{{ trigger.config.build_source }}</a>
|
||||||
<div style="margin-top: 4px; margin-left: 26px; font-size: 12px; color: gray;">
|
<div style="margin-top: 4px; margin-left: 26px; font-size: 12px; color: gray;" ng-if="trigger.config.subdir">
|
||||||
<span ng-if="trigger.config.subdir">Dockerfile:
|
<span>Dockerfile:
|
||||||
<a href="https://github.com/{{ trigger.config.build_source }}/tree/master/{{ trigger.config.subdir }}/Dockerfile" target="_blank">
|
<a href="https://github.com/{{ trigger.config.build_source }}/tree/master/{{ trigger.config.subdir }}/Dockerfile" target="_blank">
|
||||||
//{{ trigger.config.subdir }}/Dockerfile
|
//{{ trigger.config.subdir }}/Dockerfile
|
||||||
</a>
|
</a>
|
||||||
|
|
Reference in a new issue