From 2dc325bbca7b79a4645f5b4d5ce679233e94ba32 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 24 Jan 2020 13:21:15 +0100 Subject: [PATCH] Added display of version. --- src/org/april/agirstatool/core/pages/ProjectPage.java | 2 ++ src/org/april/agirstatool/core/pages/agirstatool.css | 3 ++- src/org/april/agirstatool/core/pages/project.xhtml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/org/april/agirstatool/core/pages/ProjectPage.java b/src/org/april/agirstatool/core/pages/ProjectPage.java index 110626d..26fc762 100644 --- a/src/org/april/agirstatool/core/pages/ProjectPage.java +++ b/src/org/april/agirstatool/core/pages/ProjectPage.java @@ -26,6 +26,7 @@ import org.slf4j.LoggerFactory; import fr.devinsy.xidyn.XidynException; import fr.devinsy.xidyn.data.TagDataManager; import fr.devinsy.xidyn.presenters.PresenterUtils; +import utils.BuildInformation; /** * The class AgirStatool. @@ -57,6 +58,7 @@ public class ProjectPage data.setContent("agirLink", project.getName()); data.setAttribute("agirLink", "href", "https://agir.april.org/projects/" + project.getIdentifier() + "/issues"); + data.setContent("versionsup", BuildInformation.instance().version()); data.setContent("createdClosed3MonthsChart", CreatedClosedCountChartView.buildLastMonths("Created/closed 3 months Count", project, 3)); data.setContent("created-Closed3MonthsChart", CreatedClosedDiffChartView.buildLastMonths("Created-closed 3 months Count", project, 3)); diff --git a/src/org/april/agirstatool/core/pages/agirstatool.css b/src/org/april/agirstatool/core/pages/agirstatool.css index 8c29e0d..ef2a252 100644 --- a/src/org/april/agirstatool/core/pages/agirstatool.css +++ b/src/org/april/agirstatool/core/pages/agirstatool.css @@ -59,7 +59,8 @@ h1.big h1, h1 a, -h1 span +h1 span, +h1 sup { color:#0084FF; font-size:28px; diff --git a/src/org/april/agirstatool/core/pages/project.xhtml b/src/org/april/agirstatool/core/pages/project.xhtml index 323c9cd..e569b3f 100644 --- a/src/org/april/agirstatool/core/pages/project.xhtml +++ b/src/org/april/agirstatool/core/pages/project.xhtml @@ -12,7 +12,7 @@
-

Agir Statool – Project n/a

+

Agir Statoolv0.0.14 – Project n/a

3 months