apply review suggestions

This commit is contained in:
Tilman Vatteroth 2020-11-15 20:12:22 +01:00
parent d10c13e842
commit cdc5a89cd7
No known key found for this signature in database
GPG key ID: DEBDB3F34641B019
9 changed files with 7 additions and 8 deletions

View file

@ -1,4 +1,4 @@
![HedgeDoc Logo](https://raw.githubusercontent.com/hedgedoc/hedgedoc-logo/main/LOGOTYPE/SVG/HedgeDoc-Logo%204b.svg) ![HedgeDoc Logo](https://raw.githubusercontent.com/hedgedoc/hedgedoc-logo/main/LOGOTYPE/SVG/HedgeDoc-Logo%204b.svg =300x)
# HedgeDoc # HedgeDoc
@ -14,7 +14,7 @@ It is inspired by Hackpad, Etherpad and similar collaborative editors. This
project originated with the team at [HackMD](https://hackmd.io) and now forked project originated with the team at [HackMD](https://hackmd.io) and now forked
into its own organisation. [A longer writeup can be read in the history doc](docs/history.md). into its own organisation. [A longer writeup can be read in the history doc](docs/history.md).
[![HedgeDoc 1.3.2 with its feature demonstration page open](docs/images/HedgeDoc-1.7.0-features.png)][hedgedoc-demo-features] [![HedgeDoc 1.7.0 with its feature demonstration page open](docs/images/HedgeDoc-1.7.0-features.png)][hedgedoc-demo-features]
## Community and Contributions ## Community and Contributions

View file

@ -157,7 +157,7 @@ for (let i = keys.length; i--;) {
// Notify users about the prefix change and inform them they use legacy prefix for environment variables // Notify users about the prefix change and inform them they use legacy prefix for environment variables
if (Object.keys(process.env).toString().indexOf('HMD_') !== -1) { if (Object.keys(process.env).toString().indexOf('HMD_') !== -1) {
logger.warn('Using legacy HMD prefix for environment variables. Please change your variables in future. For details see: https://github.com/hedgedoc/hedgedoc#environment-variables-will-overwrite-other-server-configs') logger.warn('Using legacy HMD prefix for environment variables. Please change your variables in future. For details see: https://github.com/hedgedoc/hedgedoc/blob/master/docs/configuration.md')
} }
// Generate session secret if it stays on default values // Generate session secret if it stays on default values

View file

@ -13,6 +13,6 @@
"type": "image/png" "type": "image/png"
} }
], ],
"theme_color": "#303030", "theme_color": "#b51f08",
"background_color": "#303030" "background_color": "#303030"
} }

View file

@ -8,7 +8,6 @@
<body> <body>
<%- include hedgedoc/header %> <%- include hedgedoc/header %>
<%- include hedgedoc/body %> <%- include hedgedoc/body %>
<%- include hedgedoc/footer %>
<%- include hedgedoc/foot %> <%- include hedgedoc/foot %>
</body> </body>

View file

@ -8,4 +8,4 @@
<meta name="application-name" content="HedgeDoc - <%= __('Collaborative markdown notes') %>"> <meta name="application-name" content="HedgeDoc - <%= __('Collaborative markdown notes') %>">
<meta name="msapplication-TileColor" content="#b51f08"> <meta name="msapplication-TileColor" content="#b51f08">
<meta name="msapplication-config" content="<%- serverURL %>/icons/browserconfig.xml"> <meta name="msapplication-config" content="<%- serverURL %>/icons/browserconfig.xml">
<meta name="theme-color" content="#303030"> <meta name="theme-color" content="#b51f08">

View file

@ -45,7 +45,7 @@
<%= __('Best way to write and share your knowledge in markdown.') %> <%= __('Best way to write and share your knowledge in markdown.') %>
</p> </p>
<span class="alert alert-info" style="display: inline-block;"> <span class="alert alert-info" style="display: inline-block;">
CodiMD was renamed to HedgeDoc. <a href="https://hedgedoc.github.io/history/" rel="noopener noreferrer" target="_blank" class="text-danger">Read more</a> CodiMD was renamed to HedgeDoc. <a href="https://hedgedoc.org/history/" rel="noopener noreferrer" target="_blank" class="text-danger">Read more</a>
</span> </span>
<% if (infoMessage && infoMessage.length > 0) { %> <% if (infoMessage && infoMessage.length > 0) { %>
<div class="alert alert-info" style="max-width: 400px; margin: 0 auto;"><%= infoMessage %></div> <div class="alert alert-info" style="max-width: 400px; margin: 0 auto;"><%= infoMessage %></div>

View file

@ -17,7 +17,7 @@
<div class="panel-body"> <div class="panel-body">
<a href="https://community.hedgedoc.org" target="_blank"><i class="fa fa-users fa-fw"></i> <%= __('Join the community') %></a> <a href="https://community.hedgedoc.org" target="_blank"><i class="fa fa-users fa-fw"></i> <%= __('Join the community') %></a>
<br> <br>
<a href="https://matrix.to/#/#hedgedoc:matrix.org" target="_blank"><i class="fa fa-hashtag fa-fw"></i> <%= __('Meet us on %s', 'Matrix') %></a> <a href="https://chat.hedgedoc.org" target="_blank"><i class="fa fa-hashtag fa-fw"></i> <%= __('Meet us on %s', 'Matrix') %></a>
<br> <br>
<a href="https://github.com/hedgedoc/hedgedoc/issues" target="_blank"><i class="fa fa-tag fa-fw"></i> <%= __('Report an issue') %></a> <a href="https://github.com/hedgedoc/hedgedoc/issues" target="_blank"><i class="fa fa-tag fa-fw"></i> <%= __('Report an issue') %></a>
<br> <br>