mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-29 11:01:34 +08:00
Add release notes link on updates. (close #17)
This commit is contained in:
parent
83dcbb276d
commit
0db3c77f77
2 changed files with 9 additions and 0 deletions
|
@ -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' => ''
|
||||
));
|
||||
}
|
||||
|
|
|
@ -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 notes</a>
|
||||
</nobr>
|
||||
</div>
|
||||
</td>
|
||||
<td class="package-release-parent">
|
||||
<span class="package-release" data-bind="text: release"></span>
|
||||
|
|
Loading…
Reference in a new issue