Skip to content

Commit

Permalink
Merge pull request #39 from NotMyFault/feat/master/new-tables
Browse files Browse the repository at this point in the history
Use modern `jenkins-table` to list attachments
  • Loading branch information
jglick authored May 26, 2022
2 parents 69691d5 + f877ebd commit 93b02b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<properties>
<changelist>999999-SNAPSHOT</changelist>
<jenkins.version>2.289.1</jenkins.version>
<jenkins.version>2.332.3</jenkins.version>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
</properties>

Expand All @@ -44,8 +44,8 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.289.x</artifactId>
<version>1289.v5c4b_1c43511b_</version>
<artifactId>bom-2.332.x</artifactId>
<version>1382.v7d694476f340</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<j:jelly xmlns:j="jelly:core">

<tr><td>
<h3>${%Attachments}</h3>
<table class="pane" id="attachments">
<tr>
<td class="pane-header">${%Files}</td>
</tr>
<table class="jenkins-table" id="attachments">
<thead>
<tr>
<th class="pane-header">${%Files}</th>
</tr>
</thead>
<j:forEach var="attachment" items="${it.attachments}">
<tr>
<td class="pane">
Expand Down

0 comments on commit 93b02b5

Please sign in to comment.