From 68719e2645a89b5b2555252559d32af4daf602c4 Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Tue, 21 Feb 2017 18:07:33 +0100 Subject: [PATCH] upd: reword of rules.template and "Web of Trust" Change-Id: I4c49316f99946e95915cc4ba27df16bdfea0b52d --- links.txt | 1 + src/club/wpia/gigi/Gigi.java | 10 ++--- src/club/wpia/gigi/pages/StaticPage.java | 4 +- src/club/wpia/gigi/pages/wot/Rules.templ | 48 ++++++++++++------------ 4 files changed, 32 insertions(+), 31 deletions(-) diff --git a/links.txt b/links.txt index a1609201..3cac21d6 100644 --- a/links.txt +++ b/links.txt @@ -11,3 +11,4 @@ /wiki/verificationHandbook /ttp/user /ttp/country +/acceptableDocuments diff --git a/src/club/wpia/gigi/Gigi.java b/src/club/wpia/gigi/Gigi.java index ebd6471f..dce078fa 100644 --- a/src/club/wpia/gigi/Gigi.java +++ b/src/club/wpia/gigi/Gigi.java @@ -69,9 +69,9 @@ import club.wpia.gigi.pages.main.RegisterPage; import club.wpia.gigi.pages.orga.CreateOrgPage; import club.wpia.gigi.pages.orga.ViewOrgPage; import club.wpia.gigi.pages.statistics.StatisticsRoles; -import club.wpia.gigi.pages.wot.VerifyPage; import club.wpia.gigi.pages.wot.Points; import club.wpia.gigi.pages.wot.RequestTTPPage; +import club.wpia.gigi.pages.wot.VerifyPage; import club.wpia.gigi.ping.PingerDaemon; import club.wpia.gigi.util.AuthorizationContext; import club.wpia.gigi.util.DomainAssessment; @@ -151,9 +151,9 @@ public final class Gigi extends HttpServlet { putPage(DomainOverview.PATH, new DomainOverview(), "Certificates"); putPage(EditDomain.PATH + "*", new EditDomain(), null); - putPage(VerifyPage.PATH + "/*", new VerifyPage(), "Web of Trust"); - putPage(Points.PATH, new Points(false), "Web of Trust"); - putPage(RequestTTPPage.PATH, new RequestTTPPage(), "Web of Trust"); + putPage(VerifyPage.PATH + "/*", new VerifyPage(), "Verification"); + putPage(Points.PATH, new Points(false), "Verification"); + putPage(RequestTTPPage.PATH, new RequestTTPPage(), "Verification"); putPage(TTPAdminPage.PATH + "/*", new TTPAdminPage(), "Admin"); putPage(CreateOrgPage.DEFAULT_PATH, new CreateOrgPage(), "Organisation Admin"); @@ -190,7 +190,7 @@ public final class Gigi extends HttpServlet { } try { - putPage("/wot/rules", new StaticPage("Web of Trust Rules", VerifyPage.class.getResourceAsStream("Rules.templ")), "Web of Trust"); + putPage("/wot/rules", new StaticPage("Verification Rules", VerifyPage.class.getResourceAsStream("Rules.templ")), "Verification"); } catch (UnsupportedEncodingException e) { throw new ServletException(e); } diff --git a/src/club/wpia/gigi/pages/StaticPage.java b/src/club/wpia/gigi/pages/StaticPage.java index b07004af..25fd43e6 100644 --- a/src/club/wpia/gigi/pages/StaticPage.java +++ b/src/club/wpia/gigi/pages/StaticPage.java @@ -4,7 +4,6 @@ import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; -import java.util.HashMap; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -22,8 +21,7 @@ public class StaticPage extends Page { @Override public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { - HashMap vars = new HashMap(); - content.output(resp.getWriter(), getLanguage(req), vars); + content.output(resp.getWriter(), getLanguage(req), getDefaultVars(req)); } } diff --git a/src/club/wpia/gigi/pages/wot/Rules.templ b/src/club/wpia/gigi/pages/wot/Rules.templ index e161f174..0da8c82e 100644 --- a/src/club/wpia/gigi/pages/wot/Rules.templ +++ b/src/club/wpia/gigi/pages/wot/Rules.templ @@ -1,30 +1,32 @@ -

+

-

+

-


-
-*
-*
-*
-

+

-


-
-
-*
-*
-*
-

+

+
    +
  • +
  • '.?>
  • +
  • +
-


-

+

+

+
    +
  • +
  • +
  • +
-


-

+

+

'. All paper forms need to be kept secure and must be destroyed in a secure manner after 3 years following the year of the meeting (when they are no longer required).?>

-


-

+

+

-


-

+

+

+ +

+

-- 2.39.2