mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-27 14:22:20 +00:00
Add link to imprint
Signed-off-by: Matthias Lindinger <m.lindinger@live.de>
This commit is contained in:
parent
9c1665ae5b
commit
fe2c8634d3
4 changed files with 4 additions and 1 deletions
|
@ -70,6 +70,7 @@ function showIndex (req, res, next) {
|
||||||
signin: authStatus,
|
signin: authStatus,
|
||||||
infoMessage: req.flash('info'),
|
infoMessage: req.flash('info'),
|
||||||
errorMessage: req.flash('error'),
|
errorMessage: req.flash('error'),
|
||||||
|
imprint: fs.existsSync(path.join(config.docsPath, 'imprint.md')),
|
||||||
privacyStatement: fs.existsSync(path.join(config.docsPath, 'privacy.md')),
|
privacyStatement: fs.existsSync(path.join(config.docsPath, 'privacy.md')),
|
||||||
termsOfUse: fs.existsSync(path.join(config.docsPath, 'terms-of-use.md')),
|
termsOfUse: fs.existsSync(path.join(config.docsPath, 'terms-of-use.md')),
|
||||||
deleteToken: deleteToken
|
deleteToken: deleteToken
|
||||||
|
|
|
@ -106,6 +106,7 @@
|
||||||
"Select Visibility Level": "Sichtbarkeit bestimmen",
|
"Select Visibility Level": "Sichtbarkeit bestimmen",
|
||||||
"Night Theme": "Nachtmodus",
|
"Night Theme": "Nachtmodus",
|
||||||
"Follow us on %s and %s.": "Folge uns auf %s und %s.",
|
"Follow us on %s and %s.": "Folge uns auf %s und %s.",
|
||||||
|
"Imprint": "Impressum",
|
||||||
"Privacy": "Datenschutz",
|
"Privacy": "Datenschutz",
|
||||||
"Terms of Use": "Nutzungsbedingungen",
|
"Terms of Use": "Nutzungsbedingungen",
|
||||||
"Do you really want to delete your user account?": "Möchten Sie wirklich Ihr Nutzerkonto löschen?",
|
"Do you really want to delete your user account?": "Möchten Sie wirklich Ihr Nutzerkonto löschen?",
|
||||||
|
|
|
@ -106,6 +106,7 @@
|
||||||
"Select Visibility Level": "Select Visibility Level",
|
"Select Visibility Level": "Select Visibility Level",
|
||||||
"Night Theme": "Night Theme",
|
"Night Theme": "Night Theme",
|
||||||
"Follow us on %s and %s.": "Follow us on %s, and %s.",
|
"Follow us on %s and %s.": "Follow us on %s, and %s.",
|
||||||
|
"Imprint": "Imprint",
|
||||||
"Privacy": "Privacy",
|
"Privacy": "Privacy",
|
||||||
"Terms of Use": "Terms of Use",
|
"Terms of Use": "Terms of Use",
|
||||||
"Do you really want to delete your user account?": "Do you really want to delete your user account?",
|
"Do you really want to delete your user account?": "Do you really want to delete your user account?",
|
||||||
|
|
|
@ -153,7 +153,7 @@
|
||||||
<option value="ar">العربية</option>
|
<option value="ar">العربية</option>
|
||||||
</select>
|
</select>
|
||||||
<p>
|
<p>
|
||||||
<%- __('Powered by %s', '<a href="https://codimd.org">CodiMD</a>') %> | <a href="<%- serverURL %>/s/release-notes" target="_blank" rel="noopener"><%= __('Releases') %></a> | <a href="<%- sourceURL %>" target="_blank" rel="noopener"><%= __('Source Code') %></a><% if(privacyStatement) { %> | <a href="<%- serverURL %>/s/privacy" target="_blank" rel="noopener"><%= __('Privacy') %></a><% } %><% if(termsOfUse) { %> | <a href="<%- serverURL %>/s/terms-of-use" target="_blank" rel="noopener"><%= __('Terms of Use') %></a><% } %>
|
<%- __('Powered by %s', '<a href="https://codimd.org">CodiMD</a>') %> | <a href="<%- serverURL %>/s/release-notes" target="_blank" rel="noopener"><%= __('Releases') %></a> | <a href="<%- sourceURL %>" target="_blank" rel="noopener"><%= __('Source Code') %></a><% if(imprint) { %> | <a href="<%- serverURL %>/s/imprint" target="_blank" rel="noopener"><%= __('Imprint') %></a><% } %><% if(privacyStatement) { %> | <a href="<%- serverURL %>/s/privacy" target="_blank" rel="noopener"><%= __('Privacy') %></a><% } %><% if(termsOfUse) { %> | <a href="<%- serverURL %>/s/terms-of-use" target="_blank" rel="noopener"><%= __('Terms of Use') %></a><% } %>
|
||||||
</p>
|
</p>
|
||||||
<h6 class="social-foot">
|
<h6 class="social-foot">
|
||||||
<%- __('Follow us on %s and %s.', '<a href="https://github.com/codimd/server" target="_blank" rel="noopener"><i class="fa fa-github"></i> GitHub</a>, <a href="https://community.codimd.org" target="_blank" rel="noopener"><i class="fa fa-users" aria-hidden="true"></i> Discourse</a>, <a href="https://riot.im/app/#/room/#codimd:matrix.org" target="_blank" rel="noopener"><i class="fa fa-comments"></i> Riot</a>, <a href="https://social.codimd.org/mastodon" target="_blank" rel="noopener"><i class="fa fa-mastodon"></i> Mastodon</a>', '<a href="https://translate.codimd.org" target="_blank" rel="noopener"><i class="fa fa-globe"></i> POEditor</a>') %>
|
<%- __('Follow us on %s and %s.', '<a href="https://github.com/codimd/server" target="_blank" rel="noopener"><i class="fa fa-github"></i> GitHub</a>, <a href="https://community.codimd.org" target="_blank" rel="noopener"><i class="fa fa-users" aria-hidden="true"></i> Discourse</a>, <a href="https://riot.im/app/#/room/#codimd:matrix.org" target="_blank" rel="noopener"><i class="fa fa-comments"></i> Riot</a>, <a href="https://social.codimd.org/mastodon" target="_blank" rel="noopener"><i class="fa fa-mastodon"></i> Mastodon</a>', '<a href="https://translate.codimd.org" target="_blank" rel="noopener"><i class="fa fa-globe"></i> POEditor</a>') %>
|
||||||
|
|
Loading…
Reference in a new issue