Skip to content

Commit

Permalink
webui: fix pool link in job details formatter
Browse files Browse the repository at this point in the history
Adds missing query parameter.

Fixes #1489: broken storage pool link
  • Loading branch information
fbergkemper committed Nov 7, 2022
1 parent cda7bdc commit e2fdc8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webui/module/Job/view/job/job/details.phtml
Expand Up @@ -155,7 +155,7 @@ $this->headTitle($title);
html.push('</tr>');
html.push('<tr>');
html.push('<th><?php echo addslashes($this->translate("Pool")); ?></th>');
html.push('<td><a href="<?php echo $this->basePath() . '/pool/details/'; ?>' + row.poolname + '">' + row.poolname + '</a></td>');
html.push('<td><a href="<?php echo $this->basePath() . '/pool/details/?pool='; ?>' + row.poolname + '">' + row.poolname + '</a></td>');
html.push('</tr>');
html.push('<tr>');
html.push('<th><?php echo addslashes($this->translate("Scheduled")); ?></th>');
Expand Down
2 changes: 1 addition & 1 deletion webui/module/Job/view/job/job/index.phtml
Expand Up @@ -310,7 +310,7 @@ $this->headTitle($title);
html.push('</tr>');
html.push('<tr>');
html.push('<th><?php echo addslashes($this->translate("Pool")); ?></th>');
html.push('<td><a href="<?php echo $this->basePath() . '/pool/details/'; ?>' + row.poolname + '">' + row.poolname + '</a></td>');
html.push('<td><a href="<?php echo $this->basePath() . '/pool/details/?pool='; ?>' + row.poolname + '">' + row.poolname + '</a></td>');
html.push('</tr>');
html.push('<tr>');
html.push('<th><?php echo addslashes($this->translate("Scheduled")); ?></th>');
Expand Down

0 comments on commit e2fdc8e

Please sign in to comment.