diff --git a/swh/web/templates/add_forge_now/common.html b/swh/web/templates/add_forge_now/common.html index a6887447..7569acdb 100644 --- a/swh/web/templates/add_forge_now/common.html +++ b/swh/web/templates/add_forge_now/common.html @@ -1,61 +1,71 @@ {% extends "../layout.html" %} {% comment %} Copyright (C) 2022 The Software Heritage developers See the AUTHORS file at the top-level directory of this distribution License: GNU Affero General Public License version 3, or any later version See top-level LICENSE file for more information {% endcomment %} {% load render_bundle from webpack_loader %} {% load static %} {% block header %} {% render_bundle 'add_forge' %} {% endblock %} {% block title %} Add forge now – Software Heritage archive {% endblock %} {% block navbar-content %}

Request the addition of a forge into the archive

{% endblock %} {% block content %} -
-
-
-
-

- “Add forge now” provides a service for Software Heritage users to save a - complete forge in the Software Heritage archive by requesting the addition - of the forge URL into the list of regularly visited forges. - {% if not user.is_authenticated %} -

- You can submit an “Add forge now” request only when you are authenticated, - please login to submit the request. -

- {% endif %} +
+

+ “Add forge now” provides a service for Software Heritage users to save a + complete forge in the Software Heritage archive by requesting the addition + of the forge URL into the list of regularly visited forges. +

+ {% if not user.is_authenticated %} +

+ You can submit an “Add forge now” request only when you are authenticated, + please login to submit the request.

-
- - -
- - -
- {% block tab_content %} - {% endblock %} -
-
+ {% endif %} +
+ + + + +
+ {% block tab_content %} + {% endblock %} +
{% endblock %} diff --git a/swh/web/templates/add_forge_now/creation_form.html b/swh/web/templates/add_forge_now/creation_form.html index f4e152e2..e6542ac5 100644 --- a/swh/web/templates/add_forge_now/creation_form.html +++ b/swh/web/templates/add_forge_now/creation_form.html @@ -1,116 +1,129 @@ {% extends "./common.html" %} {% comment %} Copyright (C) 2022 The Software Heritage developers See the AUTHORS file at the top-level directory of this distribution License: GNU Affero General Public License version 3, or any later version See top-level LICENSE file for more information {% endcomment %} {% block tab_content %} -
+
{% if not user.is_authenticated %} -

You must be logged in to submit an add forge request. Please log in + {% endif %}>log in

-

{% else %} -
- {% csrf_token %} -
-
- - - - Supported forge types in software archive. - -
+ + {% csrf_token %} +
+
+ + + + Supported forge types in software archive. + +
-
- - - - Remote URL of the forge. - +
+ + + + Remote URL of the forge. + +
-
-
-
- - - - Name of the forge administrator. - -
+
+
+ + + + Name of the forge administrator. + +
-
- - - - Email of the forge administrator. The given email address will not be used for any purpose outside the “add forge now” process. - +
+ + + + Email of the forge administrator. The given email address will not be used + for any purpose outside the “add forge now” process. + +
-
-
-
- - +
+
+ + +
-
-
-
- - - - Optionally, leave a comment to the moderator regarding your request. - +
+
+ + + + Optionally, leave a comment to the moderator regarding your request. + +
-
-
-
- +
+
+ +
-
-
-
-

- -

-

- -

+
+
+

+ +

+

+ +

+
-
- -

- Once an add-forge-request is submitted, its status can be viewed in - the - submitted requests list. This process involves a moderator approval and - might take a few days to handle (it primarily depends on the response - time from the forge). -

+ +

+ Once an add-forge-request is submitted, its status can be viewed in + the + submitted requests list. This process involves a moderator approval and + might take a few days to handle (it primarily depends on the response + time from the forge). +

{% endif %}
{% endblock %} diff --git a/swh/web/templates/add_forge_now/help.html b/swh/web/templates/add_forge_now/help.html index 75ec00f1..650368f2 100644 --- a/swh/web/templates/add_forge_now/help.html +++ b/swh/web/templates/add_forge_now/help.html @@ -1,89 +1,89 @@ {% extends "./common.html" %} {% comment %} Copyright (C) 2022 The Software Heritage developers See the AUTHORS file at the top-level directory of this distribution License: GNU Affero General Public License version 3, or any later version See top-level LICENSE file for more information {% endcomment %} {% block tab_content %} -
-

+

+

For submitting an "Add forge now" request", you have to provide the following details:

  • Forge type:Type of the forge you would like to add. Supported forge types in software heritage currently are:
  • Forge url:The URL of the selected forge. This must be unique.
  • Forge contact name:Contact name of the forge administrator
  • Forge contact email:Contact email of the forge administrator. An email will be sent to the given address to notify about the request.
  • Consent checkbox: This checkbox's purpose is to know whether we can explicitly mention the user's login within the email sent to the forge. If not checked, the user's name won't be mentioned in the email at all.
  • Comment: (Optionally) For the user to mention something more about their request to the add-forge-now moderator.
-

+

Once submitted, your "add forge" request can be in one of the following states

  • Pending: The request was submitted and is waiting for a moderator to validate
  • Waiting for feedback: The request was processed by a moderator and the forge was contacted.
  • Feedback to handle: The forge has responded to the request and there is feedback to handle for the request.
  • Accepted: The request has been accepted.
  • Scheduled: The requested forge listing has been scheduled.
  • First listing done: The first listing of the requested forge has been completed
  • First origin loaded: The first repositories (or origins) from the requested forge have been loaded and archived.
  • Rejected:The request is invalid. It is rejected by a moderator with an explanation.
  • Denied:The forge administrator(s) denied the request to list their forge.
  • Suspended:The forge listing is not supported yet.
{% endblock %} diff --git a/swh/web/templates/add_forge_now/list.html b/swh/web/templates/add_forge_now/list.html index 3b40653e..eb33fa69 100644 --- a/swh/web/templates/add_forge_now/list.html +++ b/swh/web/templates/add_forge_now/list.html @@ -1,24 +1,24 @@ {% extends "./common.html" %} {% comment %} Copyright (C) 2022 The Software Heritage developers See the AUTHORS file at the top-level directory of this distribution License: GNU Affero General Public License version 3, or any later version See top-level LICENSE file for more information {% endcomment %} {% block tab_content %} -
- +
+
Submission date Forge type Forge URL Status
{% endblock %} diff --git a/swh/web/templates/add_forge_now/request-dashboard.html b/swh/web/templates/add_forge_now/request-dashboard.html index 33ee61bd..5a27eb11 100644 --- a/swh/web/templates/add_forge_now/request-dashboard.html +++ b/swh/web/templates/add_forge_now/request-dashboard.html @@ -1,120 +1,120 @@ {% extends "../layout.html" %} {% comment %} Copyright (C) 2022 The Software Heritage developers See the AUTHORS file at the top-level directory of this distribution License: GNU Affero General Public License version 3, or any later version See top-level LICENSE file for more information {% endcomment %} {% load render_bundle from webpack_loader %} {% load static %} {% block header %} {% render_bundle 'add_forge' %} {% endblock %} {% block title %}{{heading}} – Software Heritage archive{% endblock %} {% block navbar-content %}

Add forge now request dashboard

{% endblock %} {% block content %}

Error fetching information about the request

-
+
{% csrf_token %}
Enter a comment related to your decision.
- +

Request status

Forge type

Forge URL

Contact name

Consent to use name

Contact email

Message


{% endblock %} diff --git a/swh/web/templates/add_forge_now/requests-moderation.html b/swh/web/templates/add_forge_now/requests-moderation.html index fc9c73d7..b15fde07 100644 --- a/swh/web/templates/add_forge_now/requests-moderation.html +++ b/swh/web/templates/add_forge_now/requests-moderation.html @@ -1,47 +1,47 @@ {% extends "../layout.html" %} {% comment %} Copyright (C) 2022 The Software Heritage developers See the AUTHORS file at the top-level directory of this distribution License: GNU Affero General Public License version 3, or any later version See top-level LICENSE file for more information {% endcomment %} {% load render_bundle from webpack_loader %} {% load static %} {% block header %} {% render_bundle 'add_forge' %} {% endblock %} {% block title %}{{ heading }} – Software Heritage archive{% endblock %} {% block navbar-content %}

Add forge now moderation

{% endblock %} {% block content %} -
-
+
+
ID Submission date Forge type Forge URL Moderator Name Last Modified Date Status

{% endblock %}