Added display of version.
This commit is contained in:
parent
5d913617d9
commit
2dc325bbca
3 changed files with 5 additions and 2 deletions
|
@ -26,6 +26,7 @@ import org.slf4j.LoggerFactory;
|
||||||
import fr.devinsy.xidyn.XidynException;
|
import fr.devinsy.xidyn.XidynException;
|
||||||
import fr.devinsy.xidyn.data.TagDataManager;
|
import fr.devinsy.xidyn.data.TagDataManager;
|
||||||
import fr.devinsy.xidyn.presenters.PresenterUtils;
|
import fr.devinsy.xidyn.presenters.PresenterUtils;
|
||||||
|
import utils.BuildInformation;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The class AgirStatool.
|
* The class AgirStatool.
|
||||||
|
@ -57,6 +58,7 @@ public class ProjectPage
|
||||||
|
|
||||||
data.setContent("agirLink", project.getName());
|
data.setContent("agirLink", project.getName());
|
||||||
data.setAttribute("agirLink", "href", "https://agir.april.org/projects/" + project.getIdentifier() + "/issues");
|
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("createdClosed3MonthsChart", CreatedClosedCountChartView.buildLastMonths("Created/closed 3 months Count", project, 3));
|
||||||
data.setContent("created-Closed3MonthsChart", CreatedClosedDiffChartView.buildLastMonths("Created-closed 3 months Count", project, 3));
|
data.setContent("created-Closed3MonthsChart", CreatedClosedDiffChartView.buildLastMonths("Created-closed 3 months Count", project, 3));
|
||||||
|
|
|
@ -59,7 +59,8 @@ h1.big
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h1 a,
|
h1 a,
|
||||||
h1 span
|
h1 span,
|
||||||
|
h1 sup
|
||||||
{
|
{
|
||||||
color:#0084FF;
|
color:#0084FF;
|
||||||
font-size:28px;
|
font-size:28px;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div style="margin: 10px;">
|
<div style="margin: 10px;">
|
||||||
<h1><a href="index.xhtml">Agir Statool</a> – Project <a id="agirLink" href="#">n/a</a></h1>
|
<h1><a href="index.xhtml">Agir Statool</a><sup id="versionsup" style="font-size: 9px;">v0.0.14</sup> – Project <a id="agirLink" href="#">n/a</a></h1>
|
||||||
<div>
|
<div>
|
||||||
<div style="margin: 5px;">
|
<div style="margin: 5px;">
|
||||||
<a id="createClose3MonthsButton" href="#" class="button" onclick="javascript:createClosedSelect('3months');">3 months</a>
|
<a id="createClose3MonthsButton" href="#" class="button" onclick="javascript:createClosedSelect('3months');">3 months</a>
|
||||||
|
|
Loading…
Reference in a new issue