Commit 434fe9db authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add info not loading external reference

parent 6844c684
Pipeline #66285 passed with stage
in 9 minutes and 22 seconds
......@@ -141,7 +141,7 @@ QString GrantleeViewFormatter::formatArticles(const QVector<Article> &article, A
articleObject.insert(QStringLiteral("articles"), articlesList);
addStandardObject(articleObject);
articleObject.insert(QStringLiteral("loadExternalReference"), Settings::loadExternalReferences());
articleObject.insert(QStringLiteral("dateI18n"), i18n("Date"));
articleObject.insert(QStringLiteral("commentI18n"), i18n("Comment"));
articleObject.insert(QStringLiteral("completeStoryI18n"), i18n("Complete Story"));
......
......@@ -80,6 +80,14 @@
<title>.</title>
</head>
<body>
{% if not loadExternalReference %}
<div>{% i18n_var "<b>Note:</b> For security reasons, external reference is blocked (See configure dialog)." as msg %}
{{ msg|safe }}
</div>
<br />
<br />
{% endif %}
{% if articles %}
{% for article in articles %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment