Add release notes link on updates. (close #17)

This commit is contained in:
RainLoop Team 2013-11-23 03:55:50 +04:00
parent 83dcbb276d
commit 0db3c77f77
2 changed files with 9 additions and 0 deletions

View file

@ -2318,6 +2318,7 @@ class Actions
'version' => $oItem->version,
'file' => $oItem->file,
'release' => $oItem->release,
'release_notes' => isset($oItem->{'release_notes'}) ? $oItem->{'release_notes'} : '',
'desc' => $oItem->description
);
}
@ -2332,6 +2333,7 @@ class Actions
'version' => $oItem->version,
'file' => $oItem->file,
'release' => $oItem->release,
'release_notes' => isset($oItem->{'release_notes'}) ? $oItem->{'release_notes'} : '',
'desc' => $oItem->description
);
}
@ -2379,6 +2381,7 @@ class Actions
'version' => '',
'file' => '',
'release' => '',
'release_notes' => '',
'desc' => ''
));
}
@ -2413,6 +2416,7 @@ class Actions
'version' => '',
'file' => '',
'release' => '',
'release_notes' => '',
'desc' => ''
));
}

View file

@ -7,6 +7,11 @@
</td>
<td class="package-version-parent">
<span class="package-version" data-bind="text: version"></span>
<div data-bind="if: release_notes">
<nobr>
<a data-bind="attr: {href: release_notes}" target="_blank">release&nbsp;notes</a>
</nobr>
</div>
</td>
<td class="package-release-parent">
<span class="package-release" data-bind="text: release"></span>