ComunicWeb/assets/js/components/bottom/links.js

31 lines
558 B
JavaScript
Raw Permalink Normal View History

/**
* Comunic bottom links list
*
* @author Pierre HUBERT
*/
2021-02-20 10:13:42 +00:00
const BottomLinks = () => [
//Language selector
{
2019-01-11 10:54:22 +00:00
innerLang: "bottom_bar_action_language",
icon: "fa-globe",
onclick: function(){ComunicWeb.components.langPicker.show();}
},
2021-02-20 10:13:42 +00:00
// Android application
{
innerHTML: tr("Android app"),
icon: "fa-android",
href: ServerConfig.conf.play_store_url,
target: "_blank"
},
//About Comunic
{
2019-01-11 10:54:22 +00:00
innerLang: "bottom_bar_action_about",
icon: "fa-question-circle",
href: ComunicWeb.__config.aboutWebsiteURL,
target: "_blank"
}
];