Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,10 @@ public Permission getConfigurePermission() {
return Item.CONFIGURE;
}

public WorkflowRun getRun() {
return run;
}

public String getBuildDisplayName() {
return run.getDisplayName();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,15 @@
</j:forEach>
</div>

<j:if test="${!empty(it.run.description)}">
<div class="pgv-description">
<l:icon src="symbol-information-circle-outline plugin-ionicons-api" />
<div>
<j:out value="${app.markupFormatter.translate(it.run.description)}"/>
</div>
</div>
</j:if>

<j:set var="configPermission" value="${h.hasPermission(it, it.configurePermission)}" />
<template data-module="permissions"
data-permission-configure="${configPermission}"
Expand Down
19 changes: 19 additions & 0 deletions src/main/webapp/js/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,25 @@ h1 {
}
}

.pgv-description {
display: grid;
grid-template-columns: auto 1fr;
gap: 1ch;
align-items: start;
margin: 0 0 1rem 0.25rem;

& > svg {
width: 1.125rem;
height: 1.125rem;
}

& > div {
text-box: trim-both;
line-height: 1.66;
margin-top: 0.0625rem;
}
}

.pgv-dropdown-item {
display: grid;
grid-template-columns: auto 1fr;
Expand Down
Loading