bugfix in link(s) to release(s)
This commit is contained in:
parent
ffd8fd7f30
commit
db6308e791
@ -192,7 +192,7 @@ class LinuxfooGitlab {
|
|||||||
$out .=
|
$out .=
|
||||||
'<p class="releases">'.
|
'<p class="releases">'.
|
||||||
__('Latest release', 'linuxfoo-gitlab').': '.
|
__('Latest release', 'linuxfoo-gitlab').': '.
|
||||||
'<a href="'.$releases[0]->evidences->_links->self.'">'.$releases[0]->name.'</a>'.
|
'<a href="'.$releases[0]->_links->self.'">'.$releases[0]->name.'</a>'.
|
||||||
'</p>';
|
'</p>';
|
||||||
}
|
}
|
||||||
elseif($atts['releases']=='all') {
|
elseif($atts['releases']=='all') {
|
||||||
@ -205,7 +205,7 @@ class LinuxfooGitlab {
|
|||||||
foreach($releases as $release) {
|
foreach($releases as $release) {
|
||||||
$out .=
|
$out .=
|
||||||
'<li>'.
|
'<li>'.
|
||||||
'<a href="'.$release->evidences->_links->self.'">'.$release->name.'</a>'.
|
'<a href="'.$release->_links->self.'">'.$release->name.'</a>'.
|
||||||
'</li>';
|
'</li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user