mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-01 04:22:15 +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,
|
'version' => $oItem->version,
|
||||||
'file' => $oItem->file,
|
'file' => $oItem->file,
|
||||||
'release' => $oItem->release,
|
'release' => $oItem->release,
|
||||||
|
'release_notes' => isset($oItem->{'release_notes'}) ? $oItem->{'release_notes'} : '',
|
||||||
'desc' => $oItem->description
|
'desc' => $oItem->description
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -2332,6 +2333,7 @@ class Actions
|
||||||
'version' => $oItem->version,
|
'version' => $oItem->version,
|
||||||
'file' => $oItem->file,
|
'file' => $oItem->file,
|
||||||
'release' => $oItem->release,
|
'release' => $oItem->release,
|
||||||
|
'release_notes' => isset($oItem->{'release_notes'}) ? $oItem->{'release_notes'} : '',
|
||||||
'desc' => $oItem->description
|
'desc' => $oItem->description
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -2379,6 +2381,7 @@ class Actions
|
||||||
'version' => '',
|
'version' => '',
|
||||||
'file' => '',
|
'file' => '',
|
||||||
'release' => '',
|
'release' => '',
|
||||||
|
'release_notes' => '',
|
||||||
'desc' => ''
|
'desc' => ''
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -2413,6 +2416,7 @@ class Actions
|
||||||
'version' => '',
|
'version' => '',
|
||||||
'file' => '',
|
'file' => '',
|
||||||
'release' => '',
|
'release' => '',
|
||||||
|
'release_notes' => '',
|
||||||
'desc' => ''
|
'desc' => ''
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,11 @@
|
||||||
</td>
|
</td>
|
||||||
<td class="package-version-parent">
|
<td class="package-version-parent">
|
||||||
<span class="package-version" data-bind="text: version"></span>
|
<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>
|
||||||
<td class="package-release-parent">
|
<td class="package-release-parent">
|
||||||
<span class="package-release" data-bind="text: release"></span>
|
<span class="package-release" data-bind="text: release"></span>
|
||||||
|
|
Loading…
Reference in a new issue