changeset 42:3b56ea034f2f

Add the Description fields for th edit_acknowledgments fields
author Benoît Allard <benoit.allard@greenbone.net>
date Mon, 06 Oct 2014 15:49:59 +0200
parents abf549d56fd9
children c79082d0d44d
files farol/templates/document/edit_acknowledgment.j2
diffstat 1 files changed, 13 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/farol/templates/document/edit_acknowledgment.j2	Mon Oct 06 15:40:44 2014 +0200
+++ b/farol/templates/document/edit_acknowledgment.j2	Mon Oct 06 15:49:59 2014 +0200
@@ -28,12 +28,21 @@
 {% block title %}Edit the title{% endblock %}
 
 {% block content %}
+<p><strong>Acknowledgment</strong> contains recognition of external parties that reported noncritical/low-severity security issues or provided information, observations, or suggestions that contributed to improved security or improved documentation in future releases of the document producer's products. This may also contain recognition to external parties that contributed toward producing this document.</p>
 <form role="form" method="POST">
 
-{{ textinput("name", "Name", "", name) }}
-{{ textinput("organization", "Organization", "", organization) }}
-{{ textinput("description", "Description", "", description) }}
-{{ textinput("url", "URL", "http://...", url, type="url") }}
+{% call textinput("name", "Name", "", name) %}
+<p>The <strong>Name</strong> should contain the name of the party being acknowledged.</p>
+{% endcall %}
+{% call textinput("organization", "Organization", "", organization) %}
+<p>The <strong>Organization</strong> should contain the organization of the party or if the <strong>Name</strong> is omitted, the organization itself that is being acknowledged.</p>
+{% endcall %}
+{% call textinput("description", "Description", "", description) %}
+<p>The <strong>Description</strong> can contain any contextual details the document producers wish to make known about the acknowledgment or acknowledged parties.</p>
+{% endcall %}
+{% call textinput("url", "URL", "http://...", url, type="url") %}
+<p><strong>URL</strong> is the optional URL to the person, place, or thing being acknowledged.</p>
+{% endcall %}
 
 <button class="btn btn-primary" type="submit">{{ action }}</button>
 <a class="btn btn-danger" href="{{ url_for('.view') }}">Cancel</a>

http://farol.wald.intevation.org