2019-09-16 20:42:33 +02:00
|
|
|
import { View } from 'framework/views/view';
|
2019-10-26 22:56:36 +02:00
|
|
|
import { RuntimeInfo } from 'const/runtime-info';
|
2019-09-15 14:16:32 +02:00
|
|
|
import { Links } from 'const/links';
|
2019-09-28 13:37:52 +02:00
|
|
|
import { Features } from 'util/features';
|
2019-09-16 20:40:20 +02:00
|
|
|
import template from 'templates/settings/settings-about.hbs';
|
2015-10-17 23:49:24 +02:00
|
|
|
|
2019-09-16 20:40:20 +02:00
|
|
|
class SettingsAboutView extends View {
|
|
|
|
template = template;
|
2015-10-17 23:49:24 +02:00
|
|
|
|
2019-08-18 10:17:09 +02:00
|
|
|
render() {
|
2019-09-16 20:40:20 +02:00
|
|
|
super.render({
|
2015-10-23 23:21:21 +02:00
|
|
|
version: RuntimeInfo.version,
|
|
|
|
licenseLink: Links.License,
|
2016-03-31 22:52:04 +02:00
|
|
|
licenseLinkApache: Links.LicenseApache,
|
2020-11-25 18:20:53 +01:00
|
|
|
licenseLinkCCBY40: Links.LicenseLinkCCBY40,
|
2017-05-12 18:43:04 +02:00
|
|
|
repoLink: Links.Repo,
|
2019-09-28 13:37:52 +02:00
|
|
|
donationLink: Links.Donation,
|
|
|
|
isDesktop: Features.isDesktop
|
2015-10-22 20:03:44 +02:00
|
|
|
});
|
2015-10-17 23:49:24 +02:00
|
|
|
}
|
2019-09-16 20:40:20 +02:00
|
|
|
}
|
2015-10-17 23:49:24 +02:00
|
|
|
|
2019-09-15 14:16:32 +02:00
|
|
|
export { SettingsAboutView };
|